[Feature] Ignore proper nouns
bdecarne opened this issue · 1 comments
bdecarne commented
Hello !
I have some troubles with proper nouns in sentences :
LanguageDetector detector = LanguageDetectorBuilder.fromLanguages(Language.PORTUGUESE, Language.FRENCH).build();
Language detectedLanguage = detector.detectLanguageOf("Nina Conceição vous présente ses dernières créations");
assertEquals(Language.FRENCH, detectedLanguage);
Expected :FRENCH
Actual :UNKNOWN