|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--opennlp.grok.expression.CategoryAdapter
|
+--opennlp.grok.expression.AltSet
|
+--opennlp.grok.knowledge.FCAdapter
An FC is the collection of information which defines an entity, proposition, or a group of entities or propositions.
| Field Summary | |
protected int |
id
The id number which this FC holds uniquely in its DM. |
protected static int |
stamp
Used for assigning a unique id to each new FC |
| Fields inherited from class opennlp.grok.expression.AltSet |
AND, description, gs, INTERSECT, MINUS, OR, UNION |
| Fields inherited from class opennlp.grok.expression.CategoryAdapter |
F |
| Constructor Summary | |
|
FCAdapter(opennlp.common.synsem.Denoter c)
class constructor: creates an FC |
protected |
FCAdapter(opennlp.common.discourse.FC fc)
class constructor: for creating a copy of an existing FC. |
| Method Summary | |
void |
addKind(opennlp.common.discourse.Kind n)
Adds Kind n to the list of nodes this FC is a member of. |
java.lang.String |
desc()
Returns the id as a unique descriptor for this FC. |
boolean |
equals(int i)
Equals method with another FC's id. |
boolean |
equals(java.lang.Object fc)
Equals method with another FC. |
java.util.Set |
getCorefs()
Get the corefs |
opennlp.common.synsem.Denoter |
getCreatedContext()
Return the context in which this fc was created |
java.util.Collection |
getKinds()
Return the list of Kinds which this FC is a member of. |
opennlp.common.synsem.Denoter |
getRefexp()
return refexp |
static int |
getStamp()
|
java.util.Collection |
group()
Will return a collection containing the FCs in this group (if it is a group) |
int |
id()
Returns this FC's id. |
void |
informDominance(opennlp.common.synsem.Denoter d)
|
void |
makeCoref(opennlp.common.discourse.FC b)
Make two fc's corefer. |
boolean |
matches(opennlp.common.synsem.Denoter c)
Tests if the Denoter c is compatible with this FC. |
java.util.Set |
memberOf()
Returns the Set which contains the FC's which this FC is a member of. |
void |
memberOf(opennlp.common.discourse.FC fc)
Adds fc to the list of FC's which this FC is a member of. |
boolean |
mostRecent()
Was this the last FC created? |
void |
setCorefs(java.util.Set s)
Set the corefs |
void |
setCreatedContext(opennlp.common.synsem.Denoter c)
sets the context in which this fc was created |
boolean |
setEquals(java.util.Set fcSet)
Tests if this FC's GrokSet equals fcSet. |
static void |
setStamp(int i)
set the stamp to whatever you want. |
java.lang.String |
toString()
Prints out the name, GrokSet and Features. |
| Methods inherited from class opennlp.grok.expression.AltSet |
add, addAll, addAll, contains, copy, deepMap, eval, getDescriptionSet, getDominanceHandler, getFirst, getSet, intersect, iterator, minus, name, occurs, plural, printContents, remove, setDifference, setDominanceHandler, size, toArray, union |
| Methods inherited from class opennlp.grok.expression.CategoryAdapter |
copy, forall, getFeature, getSpan, getSpanEnd, getSpanStart, hashString, makeString, prettyLength, prettyPrint, prettyPrint, setFeature, setSpan, shallowEquals, showFeature, tooLong |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface opennlp.common.discourse.FC |
size |
| Methods inherited from interface opennlp.common.synsem.Denoter |
eval, getDominanceHandler, setDominanceHandler |
| Methods inherited from interface opennlp.common.structure.Category |
copy, deepMap, forall, getFeature, getSpan, getSpanEnd, getSpanStart, hashString, prettyPrint, setFeature, setSpan, shallowEquals |
| Methods inherited from interface opennlp.common.unify.Unifiable |
occurs |
| Field Detail |
protected static int stamp
protected final int id
| Constructor Detail |
public FCAdapter(opennlp.common.synsem.Denoter c)
n - The name of the FC.protected FCAdapter(opennlp.common.discourse.FC fc)
fc - The FC being copied.| Method Detail |
public static void setStamp(int i)
public static int getStamp()
public java.util.Collection group()
group in interface opennlp.common.discourse.FCpublic opennlp.common.synsem.Denoter getRefexp()
getRefexp in interface opennlp.common.discourse.FCpublic void makeCoref(opennlp.common.discourse.FC b)
makeCoref in interface opennlp.common.discourse.FCpublic java.util.Set getCorefs()
getCorefs in interface opennlp.common.discourse.FCpublic void setCorefs(java.util.Set s)
setCorefs in interface opennlp.common.discourse.FCpublic boolean mostRecent()
mostRecent in interface opennlp.common.discourse.FCpublic void addKind(opennlp.common.discourse.Kind n)
addKind in interface opennlp.common.discourse.FCpublic java.util.Collection getKinds()
getKinds in interface opennlp.common.discourse.FCpublic void setCreatedContext(opennlp.common.synsem.Denoter c)
setCreatedContext in interface opennlp.common.discourse.FCpublic opennlp.common.synsem.Denoter getCreatedContext()
getCreatedContext in interface opennlp.common.discourse.FCpublic int id()
id in interface opennlp.common.discourse.FCpublic boolean setEquals(java.util.Set fcSet)
setEquals in interface opennlp.common.discourse.FCpublic java.util.Set memberOf()
memberOf in interface opennlp.common.discourse.FCpublic void memberOf(opennlp.common.discourse.FC fc)
memberOf in interface opennlp.common.discourse.FCpublic boolean equals(int i)
equals in interface opennlp.common.discourse.FCpublic boolean equals(java.lang.Object fc)
equals in interface opennlp.common.discourse.FCequals in class AltSetpublic boolean matches(opennlp.common.synsem.Denoter c)
matches in interface opennlp.common.discourse.FCpublic java.lang.String desc()
desc in interface opennlp.common.synsem.Denoterdesc in class AltSetpublic void informDominance(opennlp.common.synsem.Denoter d)
informDominance in interface opennlp.common.discourse.FCpublic java.lang.String toString()
toString in interface opennlp.common.structure.CategorytoString in class AltSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||