| Package | Description |
|---|---|
| monad.mmseg | |
| monad.mmseg.rule |
| Modifier and Type | Method and Description |
|---|---|
Chunk |
SimpleSeg.seg(Sentence sen) |
Chunk |
ComplexSeg.seg(Sentence sen) |
Chunk |
MaxWordSeg.seg(Sentence sen) |
abstract Chunk |
Seg.seg(Sentence sen)
对句子 sen 进行分词.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Seg.printChunk(List<Chunk> chunks)
输出 chunks, 调试用.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Chunk> |
Rule.chunks |
| Modifier and Type | Method and Description |
|---|---|
List<Chunk> |
Rule.remainChunks() |
| Modifier and Type | Method and Description |
|---|---|
void |
Rule.addChunk(Chunk chunk)
添加 chunk
|
void |
SmallestVarianceRule.addChunk(Chunk chunk) |
void |
MaxMatchRule.addChunk(Chunk chunk) |
void |
LargestAvgLenRule.addChunk(Chunk chunk) |
void |
LargestSumDegreeFreedomRule.addChunk(Chunk chunk) |
protected abstract boolean |
Rule.isRemove(Chunk chunk)
判断 chunk 是否要删除。
|
protected boolean |
SmallestVarianceRule.isRemove(Chunk chunk) |
protected boolean |
MaxMatchRule.isRemove(Chunk chunk) |
protected boolean |
LargestAvgLenRule.isRemove(Chunk chunk) |
protected boolean |
LargestSumDegreeFreedomRule.isRemove(Chunk chunk) |
| Modifier and Type | Method and Description |
|---|---|
void |
Rule.addChunks(List<Chunk> chunks) |
Copyright © 2015-2016 Ganshane Developer Team. All Rights Reserved.