Class NaturalLanguageAnalyzer
java.lang.Object
org.episteme.social.linguistics.NaturalLanguageAnalyzer
Universal analyzer for Natural Languages.
Provides a framework for POS tagging, lemmatization and morphological analysis.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyzeSentence(String sentence) Analyzes a full sentence.analyzeWord(String word) Performs analysis of a single word.protected voidapplyLanguageRules(WordAnalysis analysis) static NaturalLanguageAnalyzergetInstance(Language language)
-
Constructor Details
-
NaturalLanguageAnalyzer
-
-
Method Details
-
getInstance
-
getLanguage
-
analyzeWord
Performs analysis of a single word.- Parameters:
word- the word text- Returns:
- the analysis result
-
analyzeSentence
Analyzes a full sentence.- Parameters:
sentence- the sentence text- Returns:
- list of word analyses
-
applyLanguageRules
-