| Package | Description |
|---|---|
| com.hankcs.hanlp.algorithm | |
| com.hankcs.hanlp.seg | |
| com.hankcs.hanlp.seg.common | |
| com.hankcs.hanlp.seg.NShort.Path |
| Modifier and Type | Method and Description |
|---|---|
static List<Vertex> |
Dijkstra.compute(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
protected static Graph |
WordBasedSegment.generateBiGraph(WordNet wordNet)
生成二元词图
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
WordNet.toGraph()
词网转词图
|
| Constructor and Description |
|---|
NShortPath(Graph graph,
int N)
构造一个N最短路径计算器
|
Copyright © 2014–2021 码农场. All rights reserved.