7.4. Case

As described in Lemma Dictionaries [60] , dictionary lookups are case sensitive and one can specify whether or not a given dictionary should be used for case sensitive or insensitive analysis. As illustrated above, this is accomplished by passing the desired value of AnalyzerOption.caseSensitive to either AnalyzerFactory#addUserDefinedDictionary or the BaseLinguisticsTokenFilterFactory constructor. If this value is "true" then the dictionary is used when RBL-JE runs a case-sensitive analysis. If it is "false", it is used when RBL-JE runs a case-insensitive analysis. RBL-JE chooses which analysis to run based on the setting of AnalyzerOption.caseSensitive supplied to an AnalyzerFactory. If one is using the BaseLinguisticsTokenFilterFactory, then the value for AnalyzerOption.caseSensitive both turns on the corresponding analysis and associates the dictionary with that analysis.

results matching ""

    No results matching ""