edu.stanford.nlp.parser.lexparser
Class MaxMatchSegmenter

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.MaxMatchSegmenter
All Implemented Interfaces:
WordSegmenter, Serializable

public class MaxMatchSegmenter
extends Object
implements WordSegmenter

A word-segmentation scheme using the max-match algorithm

Author:
Galen Andrew
See Also:
Serialized Form

Constructor Summary
MaxMatchSegmenter()
           
 
Method Summary
 Sentence segmentWords(String s)
           
 void train(Collection trees)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxMatchSegmenter

public MaxMatchSegmenter()
Method Detail

train

public void train(Collection trees)
Specified by:
train in interface WordSegmenter

segmentWords

public Sentence segmentWords(String s)
Specified by:
segmentWords in interface WordSegmenter


Stanford NLP Group