public class SentenceCogroo extends Sentence
| Constructor and Description |
|---|
SentenceCogroo(List<Token> tokens) |
SentenceCogroo(String sentence) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnalysisAsString()
Returns the grammar check analysis as a string like as follows:
[VERB][B-VP*] Fomos --> {}_V_PS_1P_IND_VFIN_
[- ][I-VP ] levados --> {levar}_V_PCP_M_P_
[- ][O ] a --> {a}_PRP_
[- ][B-NP ] a --> {}_DET_F_S_
[- ][I-NP*] crer --> {crer}_V_INF_3S_
[- ][O ] . --> {}_-PNT_ABS
|
String |
toPlainText()
An implementation of toPlainText method.
|
equals, getChunks, getDocumentText, getOffset, getRoot, getSentence, getSpan, getSyntacticChunks, getSyntaxTree, getTextSentence, getTokens, getTree, hashCode, setChunks, setDocumentText, setOffset, setRoot, setSentence, setSpan, setSyntacticChunks, setTextSentence, setTokens, toStringpublic SentenceCogroo(String sentence)
public String getAnalysisAsString()
[VERB][B-VP*] Fomos --> {}_V_PS_1P_IND_VFIN_
[- ][I-VP ] levados --> {levar}_V_PCP_M_P_
[- ][O ] a --> {a}_PRP_
[- ][B-NP ] a --> {}_DET_F_S_
[- ][I-NP*] crer --> {crer}_V_INF_3S_
[- ][O ] . --> {}_-PNT_ABS
public String toPlainText()
toPlainText in class SentenceCopyright © 2012–2017 CoGrOO. All rights reserved.