Class ParserEnvironment

  • public final class ParserEnvironment
    extends java.lang.Object
    This class encapsulates the environment of a Parser. In case you are creating a parser from within a Searcher, you can use the fromExecutionContext(Execution.Context) factory for convenience.
    Simon Thoresen Hult
    • Constructor Detail

      • ParserEnvironment

        public ParserEnvironment()
    • Method Detail

      • getIndexFacts

        public IndexFacts getIndexFacts()
      • getLinguistics

        public getLinguistics()
      • setLinguistics

        public ParserEnvironment setLinguistics​( linguistics)
      • getSpecialTokens

        public getSpecialTokens()
      • setSpecialTokens

        public ParserEnvironment setSpecialTokens​( specialTokens)