Closed ozturkberkay closed 5 years ago
Error is caused by A3p1
. it must be A3pl
After 0.16.0, There were some changes in TurkishMorphology building mechanism, so correct way is
TurkishMorphology morphology =
TurkishMorphology.builder().setLexicon("armut").disableCache().build();
@ahmetaa Thanks for pointing out! I did not noticed that. Also I'll make a pull request to fix the example in the README.md
it is better we change the Readme file after releasing the next version. Because most people are using stable version so doc should reflect the stable version.
I was trying out the GenerateWords example using Python:
Also I noticed that in the
README.md
of the morphology folder, this line of code was in the Word Generation example:Using
addDictionaryLines()
instead ofsetLexicon()
gives me this error:Probably I'm doing something wrong. Any help is much appreciated.