Class RuleBaseLinguistics

java.lang.Object
com.yahoo.prelude.semantics.engine.RuleBaseLinguistics

public class RuleBaseLinguistics extends Object
Linguistics for a rule base
Author:
bratseth
  • Constructor Details

    • 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 Details

    • 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()
    • process

      public String process(String term)
      Processes this term according to the linguistics of this rule base