public class Chunk
extends Object
ChunkSource
.Modifier and Type | Field and Description |
---|---|
int |
chunkNum
Absolute number (i.e. document ID) of this chunk
|
int |
maxWordPos
Absolute word position of the last token
|
int |
minWordPos
Absolute word position of the first token
|
ChunkSource |
source
The source of this chunk
|
String |
text
Original text value of the chunk
|
Token[] |
tokens
Tokens extracted from the text
|
Constructor and Description |
---|
Chunk(ChunkSource source,
int chunkNum)
Construct a new chunk
|
public ChunkSource source
public int chunkNum
public String text
public Token[] tokens
public int minWordPos
public int maxWordPos
public Chunk(ChunkSource source, int chunkNum)