|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface for communicating with the CDG-Parser
Method Summary | |
void |
analyze(java.lang.String sentence)
analyses the german natural language user input for grammatical correctnes |
Explanation |
explanation()
gives an explanation for incorrect sentences !!!return type may change!!! |
boolean |
isCorrect()
the natural language sentence input by the user was correct |
double |
quality()
evaluation of the quality of an input sentence |
java.util.TreeMap |
syntaxTree()
returns syntax tree generated by the CDG-Parser !!!return type may change!!! |
Method Detail |
public void analyze(java.lang.String sentence)
sentence
- the sentence input by userpublic boolean isCorrect()
public Explanation explanation()
public double quality()
public java.util.TreeMap syntaxTree()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |