| Package | Description |
|---|---|
| edu.washington.cs.knowitall.extractor | |
| edu.washington.cs.knowitall.nlp | |
| edu.washington.cs.knowitall.normalization | |
| edu.washington.cs.knowitall.sequence |
| Constructor and Description |
|---|
RegexExtractor(String patternString)
Constructs a new instance using the given pattern.
|
| Constructor and Description |
|---|
ChunkedSentence(com.google.common.collect.ImmutableList<edu.washington.cs.knowitall.commonlib.Range> offsets,
com.google.common.collect.ImmutableList<String> tokens,
com.google.common.collect.ImmutableList<String> posTags,
com.google.common.collect.ImmutableList<String> npChunkTags)
Constructs a new instance using the given tokens, POS tags, and NP chunk
tags, each of which must have the same length.
|
ChunkedSentence(List<edu.washington.cs.knowitall.commonlib.Range> offsets,
List<String> tokens,
List<String> posTags,
List<String> npChunkTags) |
ChunkedSentence(List<String> tokens,
List<String> posTags,
List<String> npChunkTags) |
ChunkedSentence(edu.washington.cs.knowitall.commonlib.Range[] offsets,
String[] tokens,
String[] posTags,
String[] npChunkTags) |
ChunkedSentence(String[] tokens,
String[] posTags,
String[] npChunkTags)
Constructs a new instance using the given tokens, POS tags, and NP chunk
tags, each of which must have the same length.
|
| Constructor and Description |
|---|
NormalizedField(ChunkedExtraction original,
List<String> tokens,
List<String> posTags) |
NormalizedField(ChunkedExtraction original,
String[] tokens,
String[] posTags) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleLayeredSequence.addLayer(String layerName,
com.google.common.collect.ImmutableList<String> layer)
Adds a new layer to the sequence
|
void |
SimpleLayeredSequence.addLayer(String layerName,
String[] layer)
Adds a new layer to the sequence
|
void |
BIOLayeredSequence.addSpanLayer(String layerName,
List<String> input)
Adds a new layer to this sequence, but interprets it using B/I/O
notation.
|
void |
BIOLayeredSequence.addSpanLayerRanges(String layerName,
String tag,
List<edu.washington.cs.knowitall.commonlib.Range> ranges)
Adds a new span layer to this sequence.
|
char |
Encoder.encode(String[] tuple)
Encodes the given tuple (represented as a String array) to its integer
value, represented as a char.
|
char[] |
Encoder.encodeClass(int index,
String value)
Encodes a "class" of tuples that all have the symbol value in the given
layer index.
|
LayeredTokenMatcher |
LayeredTokenPattern.matcher(LayeredSequence seq)
Returns a matcher object, which can be used to scan seq for any
subsequences that match this pattern.
|
List<String> |
RegexTagger.tag(LayeredSequence seq) |
String[] |
LayeredPatternTokenizer.tokenize(String text)
Tokenizes the given text
|
| Constructor and Description |
|---|
Encoder(List<Set<String>> symbols)
Constructs a new encoding table using the given symbol sets.
|
LayeredTokenPattern(String patternString)
Constructs a new instance from the given String pattern
|
Copyright © 2010-2013 University of Washington CSE. All Rights Reserved.