Class RuleBaseLinguistics
- java.lang.Object
-
- com.yahoo.prelude.semantics.engine.RuleBaseLinguistics
-
public class RuleBaseLinguistics extends Object
Linguistics for a rule base- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description RuleBaseLinguistics(com.yahoo.language.Linguistics linguistics)
Creates a rule base with default settingsRuleBaseLinguistics(com.yahoo.language.process.StemMode stemMode, com.yahoo.language.Language language, com.yahoo.language.Linguistics linguistics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.yahoo.language.Linguistics
linguistics()
String
process(String term)
Processes this term according to the linguistics of this rule baseRuleBaseLinguistics
withLanguage(com.yahoo.language.Language language)
RuleBaseLinguistics
withStemMode(com.yahoo.language.process.StemMode stemMode)
-
-
-
Constructor Detail
-
RuleBaseLinguistics
public RuleBaseLinguistics(com.yahoo.language.Linguistics linguistics)
Creates a rule base with default settings
-
RuleBaseLinguistics
public RuleBaseLinguistics(com.yahoo.language.process.StemMode stemMode, com.yahoo.language.Language language, com.yahoo.language.Linguistics linguistics)
-
-
Method Detail
-
withStemMode
public RuleBaseLinguistics withStemMode(com.yahoo.language.process.StemMode stemMode)
-
withLanguage
public RuleBaseLinguistics withLanguage(com.yahoo.language.Language language)
-
linguistics
public com.yahoo.language.Linguistics linguistics()
-
-