Constructor SegToken
SegToken(Char[], Int32, Int32, WordType, Int32)
Create a new SegToken from a character array.
Declaration
public SegToken(char[] idArray, int start, int end, WordType wordType, int weight)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | idArray | character array containing text |
System.Int32 | start | start offset of SegToken in original sentence |
System.Int32 | end | end offset of SegToken in original sentence |
WordType | wordType | WordType of the text |
System.Int32 | weight | word frequency |