public interface TextVectorCreator extends Serializable
Vec
Modifier and Type | Method and Description |
---|---|
Vec |
newText(String input)
Converts the given input text into a vector representation.
|
Vec |
newText(String input,
StringBuilder workSpace,
List<String> storageSpace)
Converts the given input text into a vector representation
|
Vec newText(String input)
input
- the input stringVec newText(String input, StringBuilder workSpace, List<String> storageSpace)
input
- the input stringworkSpace
- an already allocated (but empty) string builder than can
be used as a temporary work space.storageSpace
- an already allocated (but empty) list to place the
tokens intoCopyright © 2017. All rights reserved.