Package | Description |
---|---|
opennlp.maxent |
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
|
opennlp.model | |
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
opennlp.tools.doccat |
Package for classifying a document into a category.
|
opennlp.tools.namefind |
Package related to finding proper names and numeric amounts.
|
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
opennlp.tools.parser.chunking |
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
|
opennlp.tools.parser.treeinsert |
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
opennlp.tools.sentdetect |
Package related to identifying sentece boundries.
|
opennlp.tools.tokenize |
Contains classes related to finding token or words in a string.
|
opennlp.tools.util |
Package containing utility data structures and algorithms used by multiple other packages.
|
Modifier and Type | Method and Description |
---|---|
Event |
RealBasicEventStream.next() |
Event |
BasicEventStream.next()
Returns the next Event object held in this EventStream.
|
Modifier and Type | Method and Description |
---|---|
Event[] |
EventCollector.getEvents()
Return the events which this EventCollector has gathered.
|
Event[] |
Sequence.getEvents()
Returns the events which make up this sequence.
|
Event[] |
EventCollector.getEvents(boolean evalMode)
Return the events which this EventCollector has gathered based on whether
we wish to train a model or evaluate one based on those events.
|
Event |
HashSumEventStream.next() |
Event |
ListEventStream.next() |
Event |
RealValueFileEventStream.next() |
Event |
EventStream.next()
Returns the next Event object held in this EventStream.
|
Event |
EventCollectorAsStream.next() |
Event |
FileEventStream.next() |
Event |
SequenceStreamEventStream.next() |
Event[] |
SequenceStream.updateContext(Sequence sequence,
AbstractModel model)
Creates a new event array based on the outcomes predicted by the specified parameters
for the specified sequence.
|
Modifier and Type | Method and Description |
---|---|
static String |
FileEventStream.toLine(Event event)
Generates a string representing the specified event.
|
Modifier and Type | Method and Description |
---|---|
protected List<ComparableEvent> |
OnePassDataIndexer.index(LinkedList<Event> events,
Map<String,Integer> predicateIndex) |
protected List |
OnePassRealValueDataIndexer.index(LinkedList<Event> events,
Map<String,Integer> predicateIndex) |
Constructor and Description |
---|
Sequence(Event[] events,
T source)
Creates a new sequence made up of the specified events and derived from the
specified source.
|
Constructor and Description |
---|
ListEventStream(List<Event> events) |
Modifier and Type | Method and Description |
---|---|
Event |
ChunkerEventStream.next() |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
DocumentCategorizerEventStream.createEvents(DocumentSample sample) |
Modifier and Type | Method and Description |
---|---|
Event[] |
NameSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel model) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
NameFinderEventStream.createEvents(NameSample sample) |
static List<Event> |
NameFinderEventStream.generateEvents(String[] sentence,
String[] outcomes,
NameContextGenerator cg) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
AbstractParserEventStream.createEvents(Parse sample) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractParserEventStream.addParseEvents(List<Event> newEvents,
Parse[] chunks)
Produces all events for the specified sentence chunks
and adds them to the specified list.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ParserEventStream.addParseEvents(List<Event> parseEvents,
Parse[] chunks)
Adds events for parsing (post tagging and chunking to the specified list of events for the specified parse chunks.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ParserEventStream.addParseEvents(List<Event> parseEvents,
Parse[] chunks) |
Modifier and Type | Method and Description |
---|---|
Event[] |
POSSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel model) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
POSSampleEventStream.createEvents(POSSample sample) |
static List<Event> |
POSSampleEventStream.generateEvents(String[] sentence,
String[] tags,
Object[] additionalContext,
POSContextGenerator cg) |
static List<Event> |
POSSampleEventStream.generateEvents(String[] sentence,
String[] tags,
POSContextGenerator cg) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
SDEventStream.createEvents(SentenceSample sample) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
TokSpanEventStream.createEvents(TokenSample tokenSample)
Adds training events to the event stream for each of the specified tokens.
|
Modifier and Type | Method and Description |
---|---|
Event |
HashSumEventStream.next()
Deprecated.
|
Event |
EventTraceStream.next() |
Event |
CollectionEventStream.next() |
Event |
AbstractEventStream.next() |
Modifier and Type | Method and Description |
---|---|
protected abstract Iterator<Event> |
AbstractEventStream.createEvents(T sample)
Creates events for the provided sample.
|
Constructor and Description |
---|
CollectionEventStream(Collection<Event> c) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.