edu.stanford.nlp.parser.lexparser
Class GermanUnknownWordModel
java.lang.Object
edu.stanford.nlp.parser.lexparser.GermanUnknownWordModel
- All Implemented Interfaces:
- Serializable
public class GermanUnknownWordModel
- extends Object
- implements Serializable
An unknown word model for German.
- Author:
- Roger Levy
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GermanUnknownWordModel
public GermanUnknownWordModel()
score
public double score(IntTaggedWord itw)
score
public double score(TaggedWord tw)
train
public void train(Collection trees)
- trains the end-character based unknown word model.
- Parameters:
trees
- the collection of trees to be trained over
main
public static void main(String[] args)
Stanford NLP Group