A E G I M Q S T V

A

addViolation(String) - Method in class Explanation
adds a violation to the explanation !!! parameter type may change !!!
analyze(String) - Method in interface SyntaxDiagnose
analyses the german natural language user input for grammatical correctnes
analyze(String) - Method in class SyntaxDiagnoseImpl
analyses the german natural language user input for grammatical correctnes

E

Explanation - class Explanation.
contains information needed for generating am explanation String
explanation() - Method in interface SyntaxDiagnose
gives an explanation for incorrect sentences !!!return type may change!!!
explanation() - Method in class SyntaxDiagnoseImpl
gives a explanations for incorrect sentences
Explanation() - Constructor for class Explanation
 

G

getViolations() - Method in class Explanation
returns all violation descriptions

I

isCorrect() - Method in interface SyntaxDiagnose
the natural language sentence input by the user was correct
isCorrect() - Method in class SyntaxDiagnoseImpl
the natural language sentence input by the user was correct

M

main(String[]) - Static method in class SyntaxSocket
creates a new SyntaxSocket and waits for client input accepts only 1 client at a time exit this program by sending "shutdown"
main(String[]) - Static method in class TestClient
gets the server at "localhost", socket #4711 - exit client with ^C - shutdown server & exit client with "shutdown"
main(String[]) - Static method in class TestSyntaxDiagnose
 

Q

quality() - Method in interface SyntaxDiagnose
evaluation of the quality of an input sentence
quality() - Method in class SyntaxDiagnoseImpl
evaluation of the quality of an input sentence

S

SyntaxDiagnose - interface SyntaxDiagnose.
interface for communicating with the CDG-Parser
SyntaxDiagnoseImpl - class SyntaxDiagnoseImpl.
 
SyntaxDiagnoseImpl() - Constructor for class SyntaxDiagnoseImpl
 
SyntaxSocket - class SyntaxSocket.
socket class for SyntaxDiagnose using socket # 4711 - compile program with "javac *.java" - start program with "java SyntaxSocket" - try getting streams fom Socket 4711 - all sentences except "das hocker steht unter/auf dem tisch" are analyzed as correct Example Client: class TestClient
SyntaxSocket() - Constructor for class SyntaxSocket
creates a ServerSocket with socket # 4711 and a SyntaxDiagnose object
syntaxTree() - Method in interface SyntaxDiagnose
returns syntax tree generated by the CDG-Parser !!!return type may change!!!
syntaxTree() - Method in class SyntaxDiagnoseImpl
returns syntax tree generated by the CDG-Parser

T

TestClient - class TestClient.
test client for SyntaxSocket
TestClient() - Constructor for class TestClient
 
TestSyntaxDiagnose - class TestSyntaxDiagnose.
test class for SyntaxDiagnose
TestSyntaxDiagnose() - Constructor for class TestSyntaxDiagnose
 

V

violationFound() - Method in class Explanation
returns true if this object has at least one description

A E G I M Q S T V