Uses of Class
com.yahoo.prelude.semantics.parser.ParseException
-
Packages that use ParseException Package Description com.yahoo.prelude.semantics com.yahoo.prelude.semantics.benchmark com.yahoo.prelude.semantics.parser -
-
Uses of ParseException in com.yahoo.prelude.semantics
Methods in com.yahoo.prelude.semantics that throw ParseException Modifier and Type Method Description static RuleBase
RuleBase. createFromFile(java.lang.String ruleFile, java.lang.String automataFile)
Creates a rule base from a filestatic RuleBase
RuleBase. createFromString(java.lang.String name, java.lang.String ruleString, java.lang.String automataFile)
Creates a rule base from a stringRuleBase
RuleImporter. importConfig(SemanticRulesConfig.Rulebase ruleBaseConfig)
java.util.List<RuleBase>
RuleImporter. importDir(java.lang.String ruleBaseDir)
Imports all the rule files (files ending by "sr") in the given directoryRuleBase
RuleImporter. importFile(java.lang.String fileName)
Imports semantic rules from a fileRuleBase
RuleImporter. importFile(java.lang.String fileName, java.lang.String automataFile)
Imports semantic rules from a fileRuleBase
RuleImporter. importFile(java.lang.String fileName, java.lang.String automataFile, RuleBase ruleBase)
Imports semantic rules from a fileRuleBase
RuleImporter. importFromReader(java.io.Reader reader, java.lang.String sourceInfo, java.lang.String automataFile)
RuleBase
RuleImporter. importFromReader(java.io.Reader reader, java.lang.String sourceName, java.lang.String automataFile, RuleBase ruleBase)
Imports rules from a readerRuleBase
RuleImporter. importString(java.lang.String string, java.lang.String automataFile)
RuleBase
RuleImporter. importString(java.lang.String string, java.lang.String automataFile, RuleBase ruleBase)
RuleBase
RuleImporter. importString(java.lang.String string, java.lang.String automataFile, java.lang.String sourceName)
RuleBase
RuleImporter. importString(java.lang.String string, java.lang.String automataFile, java.lang.String sourceName, RuleBase ruleBase)
void
RuleImporter. include(java.lang.String ruleBaseName, RuleBase ruleBase)
Read and include a rule base in anotherRuleBase
RuleImporter. privateImportConfig(SemanticRulesConfig.Rulebase ruleBaseConfig)
Imports an unitialized rule baseRuleBase
RuleImporter. privateImportFile(java.lang.String fileName, java.lang.String automataFile, RuleBase ruleBase)
RuleBase
RuleImporter. privateImportFromReader(java.io.Reader reader, java.lang.String sourceName, java.lang.String automataFile, RuleBase ruleBase)
Returns an unitialized rule base -
Uses of ParseException in com.yahoo.prelude.semantics.benchmark
Methods in com.yahoo.prelude.semantics.benchmark that throw ParseException Modifier and Type Method Description void
RuleBaseBenchmark. benchmark(java.lang.String ruleBaseFile, java.lang.String queryFile, int iterations)
-
Uses of ParseException in com.yahoo.prelude.semantics.parser
Methods in com.yahoo.prelude.semantics.parser that return ParseException Modifier and Type Method Description ParseException
SemanticsParser. generateParseException()
Generate ParseException.Methods in com.yahoo.prelude.semantics.parser that throw ParseException Modifier and Type Method Description void
SemanticsParser. automataDirective(RuleBase rules, RuleImporter importer)
Condition
SemanticsParser. choiceCondition()
java.lang.String
SemanticsParser. comparison()
CompositeItemCondition
SemanticsParser. compositeItemCondition()
Condition
SemanticsParser. condition()
ConditionReference
SemanticsParser. conditionReference()
java.lang.String
SemanticsParser. context()
void
SemanticsParser. defaultDirective(RuleBase rules)
RuleBase
SemanticsParser. directive(RuleBase rules, RuleImporter importer)
java.lang.String
SemanticsParser. identifier()
java.lang.String
SemanticsParser. identifierOrLiteral()
void
SemanticsParser. includeDirective(RuleBase rules, RuleImporter importer)
java.lang.String
SemanticsParser. label()
java.lang.String
SemanticsParser. literal()
LiteralCondition
SemanticsParser. literalCondition()
LiteralTermProduction
SemanticsParser. literalTermProduction()
void
SemanticsParser. namedCondition(RuleBase rules)
java.lang.String
SemanticsParser. nameSpace()
NamespaceProduction
SemanticsParser. namespaceProduction()
Condition
SemanticsParser. nestedCondition()
TermProduction
SemanticsParser. nonphraseTermProduction()
EllipsisCondition
SemanticsParser. nonReferableEllipsisCondition()
Condition
SemanticsParser. notCondition()
int
SemanticsParser. number()
LiteralPhraseProduction
SemanticsParser. phraseProduction()
Production
SemanticsParser. production()
ProductionList
SemanticsParser. productionList()
void
SemanticsParser. productionRule(RuleBase rules)
ProductionRule
SemanticsParser. productionRuleType()
Condition
SemanticsParser. reallyTerminalCondition()
EllipsisCondition
SemanticsParser. referableEllipsisCondition()
java.lang.String
SemanticsParser. referenceIdentifier()
ReferenceTermProduction
SemanticsParser. referenceTermProduction()
RuleBase
SemanticsParser. semanticRules(RuleBase rules, RuleImporter importer)
Parses a search definition and returns the resulting objectCondition
SemanticsParser. sequenceCondition()
void
SemanticsParser. stemmingDirective(RuleBase rules)
java.lang.String
SemanticsParser. string()
java.lang.String
SemanticsParser. stringOrLiteral()
SuperCondition
SemanticsParser. superCondition()
TermCondition
SemanticsParser. termCondition()
Condition
SemanticsParser. terminalCondition()
Condition
SemanticsParser. terminalConditionBody()
Condition
SemanticsParser. terminalOrComparisonCondition()
Condition
SemanticsParser. terminalOrSequenceCondition()
TermProduction
SemanticsParser. termProduction()
TermType
SemanticsParser. termType()
Condition
SemanticsParser. topLevelCondition()
-