edu.stanford.nlp.stats
Class MultiClassPrecisionRecallExtendedStats.StringStringConverter

java.lang.Object
  extended by edu.stanford.nlp.stats.MultiClassPrecisionRecallExtendedStats.StringStringConverter
All Implemented Interfaces:
Function<String,String>
Enclosing class:
MultiClassPrecisionRecallExtendedStats<L>

public static class MultiClassPrecisionRecallExtendedStats.StringStringConverter
extends Object
implements Function<String,String>


Constructor Summary
MultiClassPrecisionRecallExtendedStats.StringStringConverter()
           
 
Method Summary
 String apply(String str)
          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

MultiClassPrecisionRecallExtendedStats.StringStringConverter

public MultiClassPrecisionRecallExtendedStats.StringStringConverter()
Method Detail

apply

public String apply(String str)
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<String,String>
Parameters:
str - The function's argument
Returns:
The function's evaluated value


Stanford NLP Group