org.encog.nlp.reason
Class Reason
java.lang.Object
org.encog.nlp.reason.Reason
public class Reason
- extends java.lang.Object
Note: This class is part of the Encog Natural Language Processing(NLP)
package. This package is still under heavy construction, and will not
be considered stable until Encog 3.0.
- Author:
- jheaton
|
Constructor Summary |
Reason(EncogNLP context)
Creates a new instance of Reason |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Reason
public Reason(EncogNLP context)
- Creates a new instance of Reason
compareConcept
public boolean compareConcept(Concept concept1,
Concept concept2)
compareRelation
public boolean compareRelation(Relation relation1,
Relation relation2)
countListOverlap
public int countListOverlap(java.util.List<Concept> list1,
java.util.List<Concept> list2)
getBaseConcepts
public java.util.List<Concept> getBaseConcepts(Concept concept)
query3
public boolean query3(RelationHolder question)
searchShort
public java.util.List<Relation> searchShort(Concept concept)
searchSourceType
public java.util.List<Relation> searchSourceType(Concept source,
Concept type)