| Package | Description |
|---|---|
| com.hankcs.hanlp.seg | |
| com.hankcs.hanlp.tokenizer.pipe |
| Modifier and Type | Class and Description |
|---|---|
class |
SegmentPipeline |
| Modifier and Type | Method and Description |
|---|---|
Pipe<List<IWord>,List<IWord>> |
SegmentPipeline.get(int index) |
Pipe<List<IWord>,List<IWord>> |
SegmentPipeline.remove(int index) |
Pipe<List<IWord>,List<IWord>> |
SegmentPipeline.set(int index,
Pipe<List<IWord>,List<IWord>> element) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Pipe<List<IWord>,List<IWord>>> |
SegmentPipeline.iterator() |
ListIterator<Pipe<List<IWord>,List<IWord>>> |
SegmentPipeline.listIterator() |
ListIterator<Pipe<List<IWord>,List<IWord>>> |
SegmentPipeline.listIterator(int index) |
List<Pipe<List<IWord>,List<IWord>>> |
SegmentPipeline.subList(int fromIndex,
int toIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
SegmentPipeline.add(int index,
Pipe<List<IWord>,List<IWord>> element) |
boolean |
SegmentPipeline.add(Pipe<List<IWord>,List<IWord>> pipe) |
Pipe<List<IWord>,List<IWord>> |
SegmentPipeline.set(int index,
Pipe<List<IWord>,List<IWord>> element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SegmentPipeline.addAll(Collection<? extends Pipe<List<IWord>,List<IWord>>> c) |
boolean |
SegmentPipeline.addAll(int index,
Collection<? extends Pipe<List<IWord>,List<IWord>>> c) |
| Modifier and Type | Class and Description |
|---|---|
class |
LexicalAnalyzerPipe
词法分析器管道。约定将IWord的label设为非null表示本级管道已经处理
|
class |
LexicalAnalyzerPipeline
流水线式词法分析器
|
class |
Pipeline<I,M,O>
流水线
|
class |
RegexRecognizePipe
正则匹配管道
|
| Modifier and Type | Field and Description |
|---|---|
protected Pipe<I,M> |
Pipeline.first
入口
|
protected Pipe<M,O> |
Pipeline.last
出口
|
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<Pipe<M,M>> |
Pipeline.pipeList
中间部分
|
| Modifier and Type | Method and Description |
|---|---|
Pipe<M,M> |
Pipeline.get(int index) |
Pipe<M,M> |
Pipeline.remove(int index) |
Pipe<M,M> |
Pipeline.set(int index,
Pipe<M,M> element) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Pipe<M,M>> |
Pipeline.iterator() |
ListIterator<Pipe<M,M>> |
Pipeline.listIterator() |
ListIterator<Pipe<M,M>> |
Pipeline.listIterator(int index) |
List<Pipe<M,M>> |
Pipeline.subList(int fromIndex,
int toIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
Pipeline.add(int index,
Pipe<M,M> element) |
boolean |
Pipeline.add(Pipe<M,M> pipe) |
void |
Pipeline.addFirst(Pipe<M,M> pipe)
以最高优先级加入管道
|
void |
Pipeline.addLast(Pipe<M,M> pipe)
以最低优先级加入管道
|
Pipe<M,M> |
Pipeline.set(int index,
Pipe<M,M> element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Pipeline.addAll(Collection<? extends Pipe<M,M>> c) |
boolean |
Pipeline.addAll(int index,
Collection<? extends Pipe<M,M>> c) |
| Constructor and Description |
|---|
LexicalAnalyzerPipeline(Pipe<String,List<IWord>> first,
Pipe<List<IWord>,List<IWord>> last) |
LexicalAnalyzerPipeline(Pipe<String,List<IWord>> first,
Pipe<List<IWord>,List<IWord>> last) |
Pipeline(Pipe<I,M> first,
Pipe<M,O> last) |
Pipeline(Pipe<I,M> first,
Pipe<M,O> last) |
Copyright © 2014–2021 码农场. All rights reserved.