Lvg Java
2006p Version

gov.nih.nlm.nls.lvg.Trie
Class RuleResult

java.lang.Object
  extended by gov.nih.nlm.nls.lvg.Trie.RuleResult

public class RuleResult
extends java.lang.Object

This class creates an object for the result after applying a rule. It includes input term, output result, and rule.

History:

Version:
V-2006p
Author:
NLM NLS Development Team

Constructor Summary
RuleResult(java.lang.String inTerm, java.lang.String outTerm, java.lang.String ruleStr)
          Create an object for representing the result after applying a rule, using input term, output term, and the string format of a rule.
 
Method Summary
 java.lang.String GetInCategory()
          Get the input category from the current rule result.
 java.lang.String GetInInflection()
          Get the input inflection from the current rule result.
 java.lang.String GetInTerm()
          Get the input term of the current rule result.
 java.lang.String GetOutCategory()
          Get the output category from the current rule result.
 java.lang.String GetOutCategoryAndInflection()
          Get the output category and inflection from the current rule result.
 java.lang.String GetOutInflection()
          Get the output inflection from the current rule result.
 java.lang.String GetOutTerm()
          Get the output term (result) of the current rule result.
 java.lang.String GetRuleString()
          Get the string format of rule used in the current rule result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleResult

public RuleResult(java.lang.String inTerm,
                  java.lang.String outTerm,
                  java.lang.String ruleStr)
Create an object for representing the result after applying a rule, using input term, output term, and the string format of a rule.

Method Detail

GetInTerm

public java.lang.String GetInTerm()
Get the input term of the current rule result.

Returns:
input term of the current rule result

GetOutTerm

public java.lang.String GetOutTerm()
Get the output term (result) of the current rule result.

Returns:
output term (result) of the current rule result

GetRuleString

public java.lang.String GetRuleString()
Get the string format of rule used in the current rule result.

Returns:
string format of rule used in the current rule result

GetInCategory

public java.lang.String GetInCategory()
Get the input category from the current rule result.

Returns:
input category from the current rule result

GetOutCategory

public java.lang.String GetOutCategory()
Get the output category from the current rule result.

Returns:
output category from the current rule result

GetInInflection

public java.lang.String GetInInflection()
Get the input inflection from the current rule result.

Returns:
input inflection from the current rule result

GetOutInflection

public java.lang.String GetOutInflection()
Get the output inflection from the current rule result.

Returns:
output inflection from the current rule result

GetOutCategoryAndInflection

public java.lang.String GetOutCategoryAndInflection()
Get the output category and inflection from the current rule result.

Returns:
output category and inflection from the current rule result

Lvg Java
2006p Version

Submit a bug or feature

Copyright © 2006p National Library of Medicine