Package org.carrot2.text.preprocessing
Class LabelFormatterImpl
- java.lang.Object
-
- org.carrot2.text.preprocessing.LabelFormatterImpl
-
- All Implemented Interfaces:
LabelFormatter
public class LabelFormatterImpl extends Object implements LabelFormatter
-
-
Constructor Summary
Constructors Constructor Description LabelFormatterImpl(String termDelimiter)
-
-
-
Constructor Detail
-
LabelFormatterImpl
public LabelFormatterImpl(String termDelimiter)
-
-
Method Detail
-
format
public String format(char[][] image, boolean[] stopWord)
- Specified by:
format
in interfaceLabelFormatter
- Parameters:
image
- images of the words making the label.stopWord
- determines whether the corresponding word of the label is a stop word
-
-