Class TokenizerApplierCount
java.lang.Object
org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplierCount
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
PADDING_STRING -
Constructor Summary
ConstructorsConstructorDescriptionTokenizerApplierCount(int numIdCols, int maxTokens, boolean wideFormat, boolean applyPadding, org.apache.wink.json4j.JSONObject params) -
Method Summary
Modifier and TypeMethodDescriptionvoidallocateInternalMeta(int numDocuments) intapplyInternalRepresentation(DocumentRepresentation[] internalRepresentation, FrameBlock out, int inputRowStart, int blk) voidbuild(DocumentRepresentation[] internalRepresentation, int inputRowStart, int blk) intgetNumRows(DocumentRepresentation[] internalRepresentation) Methods inherited from class org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
applyInternalRepresentation, getApplyTasks, getBuildTasks, getMaxNumRows, getMaxTokens, getNumCols, getOutputRow, getOutputRow, hasPadding, isWideFormat
-
Field Details
-
sort_alpha
public boolean sort_alpha
-
-
Constructor Details
-
TokenizerApplierCount
public TokenizerApplierCount(int numIdCols, int maxTokens, boolean wideFormat, boolean applyPadding, org.apache.wink.json4j.JSONObject params) throws org.apache.wink.json4j.JSONException - Throws:
org.apache.wink.json4j.JSONException
-
-
Method Details
-
getNumRows
- Specified by:
getNumRowsin classTokenizerApplier
-
allocateInternalMeta
public void allocateInternalMeta(int numDocuments) - Overrides:
allocateInternalMetain classTokenizerApplier
-
build
- Overrides:
buildin classTokenizerApplier
-
applyInternalRepresentation
public int applyInternalRepresentation(DocumentRepresentation[] internalRepresentation, FrameBlock out, int inputRowStart, int blk) -
getOutSchema
- Specified by:
getOutSchemain classTokenizerApplier
-