public class Chunker extends Object
| Modifier and Type | Field and Description |
|---|---|
static opennlp.maxent.GISModel |
model |
| Constructor and Description |
|---|
Chunker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
chunk(Document doc,
Span span)
adds chunks (annotations of type ng) to Span 'span' of
Document 'doc'.
|
static void |
loadModel() |
static void |
loadModel(String modelFileName)
load a maximum entropy chunker model from file 'modelFileName'.
|
static void |
main(String[] args) |
public static void chunk(Document doc, Span span)
public static void loadModel()
public static void loadModel(String modelFileName)
public static void main(String[] args)
Copyright © 2016 New York University. All rights reserved.