edu.stanford.nlp.wordseg
Class Sighan2005DocumentReaderAndWriter.CTBDocumentParser

java.lang.Object
  extended by edu.stanford.nlp.wordseg.Sighan2005DocumentReaderAndWriter.CTBDocumentParser
All Implemented Interfaces:
Function<java.lang.String,java.util.List<CoreLabel>>
Enclosing class:
Sighan2005DocumentReaderAndWriter

public class Sighan2005DocumentReaderAndWriter.CTBDocumentParser
extends java.lang.Object
implements Function<java.lang.String,java.util.List<CoreLabel>>


Field Summary
 java.lang.String[] map
           
 
Constructor Summary
Sighan2005DocumentReaderAndWriter.CTBDocumentParser()
           
 
Method Summary
 java.util.List<CoreLabel> apply(java.lang.String line)
          Converts a T1 to a different T2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

public java.lang.String[] map
Constructor Detail

Sighan2005DocumentReaderAndWriter.CTBDocumentParser

public Sighan2005DocumentReaderAndWriter.CTBDocumentParser()
Method Detail

apply

public java.util.List<CoreLabel> apply(java.lang.String line)
Description copied from interface: Function
Converts a T1 to a different T2. For example, a Parser will convert a Sentence to a Tree. A Tagger will convert a Sentence to a TaggedSentence.

Specified by:
apply in interface Function<java.lang.String,java.util.List<CoreLabel>>
Parameters:
line - The function's argument
Returns:
The function's evaluated value


Stanford NLP Group