public static WordRelation createWordRelation(Utterance utterance, USEnglishTokenizer tokenToWords) { Relation relation = utterance.createRelation("Word"); return(new WordRelation(relation, tokenToWords)); }
private WordRelation(Relation relation, USEnglishTokenizer usenglishTokenizer) { this.relation = relation; this.tokenToWords = usenglishTokenizer; }