Word constructor
Word()
Implementation
Word(
String read,
String pronunciation,
Grammar grammar,
// String readingScript,
// String transcriptionScript,
String basic,
Pos partOfSpeech,
String nodeStr,
TokenNode token,
) {
this.reading = read;
this.transcription = pronunciation;
this.grammar = grammar;
//this.readingScript = readingScript;
//this.transcriptionScript = transcriptionScript;
this.lemma = basic;
this.partOfSpeech = partOfSpeech;
this.word = nodeStr;
tokens.add(token);
}