| Package | Description |
|---|---|
| com.aliasi.chunk |
Classes for extracting meaningful chunks (spans) of text.
|
| com.aliasi.crf |
Classes and interfaces for conditional random fields.
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<Chunk> |
Chunk.LONGEST_MATCH_ORDER_COMPARATOR
Compares two chunks based on their text position.
|
static Comparator<Chunk> |
Chunk.TEXT_ORDER_COMPARATOR
Compares two chunks based on their text position.
|
| Modifier and Type | Method and Description |
|---|---|
Chunk |
ChunkAndCharSeq.chunk()
Return the chunk underlying this compositie chunk and character
sequence.
|
static Chunk |
ChunkFactory.createChunk(int start,
int end)
Return a chunk with the specified start and end positions, with
default type and score.
|
static Chunk |
ChunkFactory.createChunk(int start,
int end,
double score)
Return a chunk with the specified start and end positions,
specified score and default type.
|
static Chunk |
ChunkFactory.createChunk(int start,
int end,
String type)
Return a chunk with the specified start and end positions, specified
type and default score.
|
static Chunk |
ChunkFactory.createChunk(int start,
int end,
String type,
double score)
Return a chunk with the specified start and end positions, type
and score.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Chunk> |
Chunking.chunkSet()
Returns the chunks for this chunking.
|
Set<Chunk> |
ChunkingImpl.chunkSet()
Return an unmodifiable view of the set of chunks for this
chunking.
|
Iterator<Chunk> |
ChunkingImpl.iterator()
Returns an unmodifiable iterator over the chunk set underlying
this chunking implementation.
|
Iterator<Chunk> |
ConfidenceChunker.nBestChunks(char[] cs,
int start,
int end,
int maxNBest)
Returns the n-best chunks in decreasing order of probability
estimates.
|
Iterator<Chunk> |
RescoringChunker.nBestChunks(char[] cs,
int start,
int end,
int maxNBest)
Returns the n-best chunks for the specified character slice up to
the specified maximum number of chunks.
|
Iterator<Chunk> |
HmmChunker.nBestChunks(char[] cs,
int start,
int end,
int maxNBest)
Returns an iterator over scored objects with conditional
probability estimates for scores and chunks as objects.
|
Iterator<Chunk> |
TagChunkCodec.nBestChunks(TagLattice<String> lattice,
int[] tokenStarts,
int[] tokenEnds,
int maxResults)
Returns an iterator over chunks extracted in order of highest
probability up to the specified maximum number of results.
|
Iterator<Chunk> |
BioTagChunkCodec.nBestChunks(TagLattice<String> lattice,
int[] tokenStarts,
int[] tokenEnds,
int maxResults) |
Iterator<Chunk> |
IoTagChunkCodec.nBestChunks(TagLattice<String> lattice,
int[] tokenStarts,
int[] tokenEnds,
int maxResults) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChunkingImpl.add(Chunk chunk)
Add a chunk this this chunking.
|
static boolean |
ChunkingImpl.overlap(Chunk chunk1,
Chunk chunk2)
Returns
true if the chunks overlap at least one
character position. |
| Modifier and Type | Method and Description |
|---|---|
void |
ChunkingImpl.addAll(Collection<Chunk> chunks)
Adds all of the chunks in the specified collection to this
chunking.
|
| Constructor and Description |
|---|
ChunkAndCharSeq(Chunk chunk,
CharSequence cSeq)
Construct a composite of the specified chunk and sequence.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Chunk> |
ChainCrfChunker.nBestChunks(char[] cs,
int start,
int end,
int maxNBest) |
Copyright © 2016 Alias-i, Inc.. All rights reserved.