- Install python 2.7, nltk, and pygments 1.5
- Put some example files in
data/${language}/
- Run
python classifier.py --make
to generate guesser.pickle - Run
python classifier.py --test --show
to test and get a nice pretty coloured analysis of the bad files - Run
python findshitfiles.py
to show the worst-classified files for each language - Run
python classify.py
and type some file paths to see what it thinks they are - Run
python classify-web.py
and go to http://127.0.0.1:6789 to have your input classified
-
Notifications
You must be signed in to change notification settings - Fork 0
ashleyh/guesslang
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Programming Language Classifier
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published