edu.stanford.nlp.sequences
Class TrueCasingForNISTDocumentReaderAndWriter.LineToTrueCasesParser

java.lang.Object
  extended by edu.stanford.nlp.sequences.TrueCasingForNISTDocumentReaderAndWriter.LineToTrueCasesParser
All Implemented Interfaces:
Function<java.lang.String,java.util.List<CoreLabel>>
Enclosing class:
TrueCasingForNISTDocumentReaderAndWriter

public static class TrueCasingForNISTDocumentReaderAndWriter.LineToTrueCasesParser
extends java.lang.Object
implements Function<java.lang.String,java.util.List<CoreLabel>>


Constructor Summary
TrueCasingForNISTDocumentReaderAndWriter.LineToTrueCasesParser()
           
 
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
 

Constructor Detail

TrueCasingForNISTDocumentReaderAndWriter.LineToTrueCasesParser

public TrueCasingForNISTDocumentReaderAndWriter.LineToTrueCasesParser()
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