|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SyntaxDiagnoseImpl
Constructor Summary | |
SyntaxDiagnoseImpl()
|
Method Summary | |
void |
analyze(java.lang.String sentence)
analyses the german natural language user input for grammatical correctnes |
Explanation |
explanation()
gives a explanations for incorrect sentences |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SyntaxDiagnoseImpl()
Method Detail |
public void analyze(java.lang.String sentence)
analyze
in interface SyntaxDiagnose
sentence
- the sentence input by userpublic boolean isCorrect()
isCorrect
in interface SyntaxDiagnose
public Explanation explanation()
explanation
in interface SyntaxDiagnose
public java.util.TreeMap syntaxTree()
syntaxTree
in interface SyntaxDiagnose
public double quality()
quality
in interface SyntaxDiagnose
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |