Skip to content

AmirAhmadHabibi/lang_indentifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#LangId

You can run the langid.py file and give it the parameters, smoothing method and the path to the directory containing the test files. In the first run it would need some time to train the models and optimise parameters but then the files would be saved on disk and the next runs would not take time for training again. Without the input values the default method would be "unsmoothed" and the default path would be "./811_a1_test_final/".

A sample run of the programme would be like this:

> python langid.py laplace

or

> python langid.py interpolation "./test/"

Releases

No releases published

Packages

No packages published

Languages