Uses of Class
com.yahoo.prelude.semantics.RuleBase
Packages that use RuleBase
Package
Description
-
Uses of RuleBase in com.yahoo.prelude.semantics
Methods in com.yahoo.prelude.semantics that return RuleBaseModifier and TypeMethodDescriptionstatic RuleBase
RuleBase.createFromFile
(String ruleFile, String automataFile, com.yahoo.language.Linguistics linguistics) Creates a rule base from filestatic RuleBase
RuleBase.createFromString
(String name, String ruleString, String automataFile, com.yahoo.language.Linguistics linguistics) Creates a rule base from a stringSemanticSearcher.getDefaultRuleBase()
Returns the default rule baseSemanticSearcher.getRuleBase
(String ruleBaseName) Returns the rule base of the given name, or null if none.RuleImporter.importConfig
(SemanticRulesConfig.Rulebase ruleBaseConfig) RuleImporter.importFile
(String fileName) Imports semantic rules from a fileRuleImporter.importFile
(String fileName, String automataFile) Imports semantic rules from a fileRuleImporter.importFromReader
(Reader reader, String sourceInfo, String automataFile) RuleImporter.importFromReader
(Reader reader, String sourceName, String automataFile, RuleBase ruleBase) Imports rules from a readerRuleImporter.importString
(String string, String automataFile) RuleImporter.importString
(String string, String automataFile, RuleBase ruleBase) RuleImporter.importString
(String string, String automataFile, String sourceName) RuleImporter.importString
(String string, String automataFile, String sourceName, RuleBase ruleBase) RuleImporter.privateImportConfig
(SemanticRulesConfig.Rulebase ruleBaseConfig) Imports an unitialized rule baseRuleImporter.privateImportFile
(String fileName, String automataFile) RuleImporter.privateImportFromReader
(Reader reader, String sourceName, String automataFile, RuleBase ruleBase) Returns an unitialized rule baseMethods in com.yahoo.prelude.semantics that return types with arguments of type RuleBaseModifier and TypeMethodDescriptionImports all the rule files (files ending by "sr") in the given directoryMethods in com.yahoo.prelude.semantics with parameters of type RuleBaseModifier and TypeMethodDescriptionRuleImporter.importFromReader
(Reader reader, String sourceName, String automataFile, RuleBase ruleBase) Imports rules from a readerRuleImporter.importString
(String string, String automataFile, RuleBase ruleBase) RuleImporter.importString
(String string, String automataFile, String sourceName, RuleBase ruleBase) void
Include another rule base into this.void
Read and include a rule base in anotherRuleImporter.privateImportFromReader
(Reader reader, String sourceName, String automataFile, RuleBase ruleBase) Returns an unitialized rule basevoid
RuleImporter.setAutomata
(RuleBase base, String automata) Constructors in com.yahoo.prelude.semantics with parameters of type RuleBaseModifierConstructorDescriptionSemanticSearcher
(RuleBase ruleBase) Creates a semantic searcher using the given default rule baseSemanticSearcher
(RuleBase... ruleBases) Constructor parameters in com.yahoo.prelude.semantics with type arguments of type RuleBase -
Uses of RuleBase in com.yahoo.prelude.semantics.engine
Methods in com.yahoo.prelude.semantics.engine that return RuleBaseModifier and TypeMethodDescriptionEvaluation.ruleBase()
Returns the rule base this evaluates overConstructors in com.yahoo.prelude.semantics.engine with parameters of type RuleBaseModifierConstructorDescriptionEvaluation
(Query query, RuleBase ruleBase) Evaluation
(Query query, RuleBase ruleBase, int traceLevel) Creates a new evaluationRuleEngine
(RuleBase rules) -
Uses of RuleBase in com.yahoo.prelude.semantics.parser
Methods in com.yahoo.prelude.semantics.parser that return RuleBaseModifier and TypeMethodDescriptionfinal RuleBase
SemanticsParser.directive
(RuleBase rules, RuleImporter importer) final RuleBase
SemanticsParser.semanticRules
(RuleBase rules, RuleImporter importer) Parses a search definition and returns the resulting objectMethods in com.yahoo.prelude.semantics.parser with parameters of type RuleBaseModifier and TypeMethodDescriptionfinal void
SemanticsParser.automataDirective
(RuleBase rules, RuleImporter importer) final void
SemanticsParser.defaultDirective
(RuleBase rules) final RuleBase
SemanticsParser.directive
(RuleBase rules, RuleImporter importer) final void
SemanticsParser.includeDirective
(RuleBase rules, RuleImporter importer) final void
SemanticsParser.languageDirective
(RuleBase rules) final void
SemanticsParser.namedCondition
(RuleBase rules) final void
SemanticsParser.productionRule
(RuleBase rules) final RuleBase
SemanticsParser.semanticRules
(RuleBase rules, RuleImporter importer) Parses a search definition and returns the resulting objectfinal void
SemanticsParser.stemmingDirective
(RuleBase rules) -
Uses of RuleBase in com.yahoo.prelude.semantics.rule
Methods in com.yahoo.prelude.semantics.rule with parameters of type RuleBaseModifier and TypeMethodDescriptionvoid
CompositeCondition.makeReferences
(RuleBase rules) void
Condition.makeReferences
(RuleBase rules) Override if references needs to be set in this condition of its childrenvoid
ConditionReference.makeReferences
(RuleBase ruleBase) void
NotCondition.makeReferences
(RuleBase ruleBase) void
ProductionRule.makeReferences
(RuleBase rules)