edu.stanford.nlp.util
Class LowercaseFunction
java.lang.Object
edu.stanford.nlp.util.LowercaseFunction
- All Implemented Interfaces:
- Function<String,String>, Serializable
public class LowercaseFunction
- extends Object
- implements Function<String,String>, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LowercaseFunction
public LowercaseFunction()
apply
public String apply(String input)
- 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:
input
- The function's argument
- Returns:
- The function's evaluated value
Stanford NLP Group