edu.stanford.nlp.stats
Class MultiClassPrecisionRecallExtendedStats.StringStringConverter
java.lang.Object
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiClassPrecisionRecallExtendedStats.StringStringConverter
public MultiClassPrecisionRecallExtendedStats.StringStringConverter()
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