|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.datatypes.Text
jcolibri.extensions.textual.IE.representation.IEText
jcolibri.extensions.textual.IE.gate.IETextGate
public class IETextGate
Field Summary | |
---|---|
protected gate.Document |
doc
|
Fields inherited from class jcolibri.extensions.textual.IE.representation.IEText |
---|
features, paragraphs, phrases, topics |
Fields inherited from class jcolibri.datatypes.Text |
---|
rawContent |
Constructor Summary | |
---|---|
IETextGate()
Creates an empty IETextGate object. |
|
IETextGate(java.lang.String content)
Creates an IETextGate object with the given content. |
Method Summary | |
---|---|
void |
fromString(java.lang.String content)
Stores the given text in the object |
protected gate.Document |
getDocument()
Returns the internal gate's document. |
protected gate.Annotation |
getParagraphMapping(Paragraph par)
Returns the annotation object for a given paragraph |
protected gate.Annotation |
getSentenceMapping(Sentence sent)
Returns the annotation object for a given sentence |
protected gate.Annotation |
getTokenMapping(Token tok)
Returns the annotation object for a given token |
protected void |
setParagraphMapping(Paragraph par,
gate.Annotation annot)
Sets the annotation object for a given paragraph |
protected void |
setSentenceMapping(Sentence sent,
gate.Annotation annot)
Sets the annotation object for a given sentence |
protected void |
setTokenMapping(Token tok,
gate.Annotation annot)
Sets the annotation object for a given token |
Methods inherited from class jcolibri.extensions.textual.IE.representation.IEText |
---|
addFeature, addFeatures, addParagraph, addParagraphs, addPhrase, addPhrases, addTopic, addTopics, getAllSentences, getAllTokens, getFeatures, getParagraphs, getPhrases, getRAWContent, getTopics, printAnnotations |
Methods inherited from class jcolibri.datatypes.Text |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jcolibri.connector.TypeAdaptor |
---|
equals |
Field Detail |
---|
protected gate.Document doc
Constructor Detail |
---|
public IETextGate()
public IETextGate(java.lang.String content)
Method Detail |
---|
public void fromString(java.lang.String content) throws java.lang.Exception
fromString
in interface TypeAdaptor
fromString
in class Text
java.lang.Exception
protected gate.Document getDocument()
protected gate.Annotation getParagraphMapping(Paragraph par)
protected void setParagraphMapping(Paragraph par, gate.Annotation annot)
protected gate.Annotation getSentenceMapping(Sentence sent)
protected void setSentenceMapping(Sentence sent, gate.Annotation annot)
protected gate.Annotation getTokenMapping(Token tok)
protected void setTokenMapping(Token tok, gate.Annotation annot)
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |