Modifier and Type | Method and Description |
---|---|
static TreeView |
HeadFinderDependencyViewGenerator.getDependencyTree(TextAnnotation input,
String parseViewName,
String dependencyViewName) |
View |
PorterStemmer.getView(TextAnnotation input) |
View |
BrownClusterViewGenerator.getView(TextAnnotation ta) |
View |
GazetteerViewGenerator.getView(TextAnnotation ta) |
View |
POSFromParse.getView(TextAnnotation ta) |
View |
WordNetPlusLemmaViewGenerator.getView(TextAnnotation ta) |
View |
PseudoParse.getView(TextAnnotation ta) |
View |
ClauseViewGenerator.getView(TextAnnotation ta) |
View |
WordNetLemmaViewGenerator.getView(TextAnnotation ta) |
View |
ViewGenerator.getView(TextAnnotation ta) |
View |
HeadFinderDependencyViewGenerator.getView(TextAnnotation ta) |
Modifier and Type | Field and Description |
---|---|
protected IResetableIterator<TextAnnotation> |
TextAnnotationViewReader.textAnnotations |
Modifier and Type | Method and Description |
---|---|
protected TextAnnotation |
CoNLLColumnFormatReader.makeTextAnnotation() |
protected abstract TextAnnotation |
TextAnnotationReader.makeTextAnnotation() |
TextAnnotation |
TextAnnotationViewReader.next() |
TextAnnotation |
TextAnnotationReader.next() |
Modifier and Type | Method and Description |
---|---|
Iterator<TextAnnotation> |
TextAnnotationViewReader.iterator() |
Iterator<TextAnnotation> |
TextAnnotationReader.iterator() |
Modifier and Type | Method and Description |
---|---|
protected PredicateArgumentView |
CoNLLColumnFormatReader.getPredicateArgumentView(List<List<String>> argumentLabels,
List<List<Integer>> argumentStart,
List<List<Integer>> argumentEnd,
TextAnnotation ta,
List<String> verbSenses,
List<String> baseForms,
List<Integer> predicatePositions) |
protected abstract View |
TextAnnotationViewReader.getViewToAdd(TextAnnotation ta,
String viewName) |
protected SpanLabelView |
CoNLLColumnFormatReader.makeSpanLabeledView(List<String> chunkLabels,
List<Integer> chunkStart,
List<Integer> chunkEnd,
TextAnnotation ta,
String viewName) |
void |
ColumnFormatWriter.transform(TextAnnotation ta,
PrintWriter out) |
Modifier and Type | Method and Description |
---|---|
void |
ColumnFormatWriter.transform(Iterable<TextAnnotation> reader,
PrintWriter out) |
Constructor and Description |
---|
TextAnnotationViewReader(String viewName,
IResetableIterator<TextAnnotation> textAnnotations) |
Modifier and Type | Method and Description |
---|---|
protected TextAnnotation |
PennTreebankReader.makeTextAnnotation() |
protected TextAnnotation |
OntonotesReader.makeTextAnnotation() |
TextAnnotation |
TreebankChunkReader.next() |
Modifier and Type | Method and Description |
---|---|
TextAnnotation |
CuratorClient.getTextAnnotation(String corpusId,
String textId,
String text,
boolean forceUpdate)
|
static TextAnnotation |
CuratorDataStructureInterface.getTextAnnotationFromRecord(String corpusId,
String textId,
edu.illinois.cs.cogcomp.thrift.curator.Record record,
edu.illinois.cs.cogcomp.thrift.base.Labeling tokensLabeling,
edu.illinois.cs.cogcomp.thrift.base.Labeling sentenceLabeling) |
static TextAnnotation |
CuratorDataStructureInterface.getTextAnnotationViewsFromRecord(String corpusId,
String textId,
edu.illinois.cs.cogcomp.thrift.curator.Record record) |
Modifier and Type | Method and Description |
---|---|
void |
CuratorClient.addBerkeleyParse(TextAnnotation ta,
boolean forceUpdate)
Fetches parse trees generated by the Berkeley parser from the curator and
adds them to the
TextAnnotation that is passed as a parameter to
the function. |
void |
CuratorClient.addCharniakParse(TextAnnotation ta,
boolean forceUpdate)
Fetches parse trees generated by the Charniak parser from the curator and
adds them to the
TextAnnotation that is passed as a parameter to
the function. |
void |
CuratorClient.addChunkView(TextAnnotation ta,
boolean forceUpdate)
Fetches the chunk view from the curator and adds the view to the
TextAnnotation as ViewNames#SHALLOW_PARSE . |
void |
CuratorClient.addCoreferenceView(TextAnnotation ta,
boolean forceUpdate,
String curatorViewName,
String edisonViewName)
Adds a coreference view
|
void |
CuratorClient.addCorefView(TextAnnotation ta,
boolean forceUpdate)
Fetches the coreference view from the curator and adds it to the
TextAnnotation as ViewNames.COREF . |
void |
CuratorClient.addDependencyTreeView(TextAnnotation ta,
boolean forceUpdate,
String curatorViewName,
String edisonViewName)
Adds a dependency tree view
|
void |
CuratorClient.addEasyFirstDependencyView(TextAnnotation ta,
boolean forceUpdate)
Fetches the dependency trees generated by the Yoav Goldberg's parser and
adds the view to the
TextAnnotation as
ViewNames.DEPENDENCY . |
void |
CuratorClient.addLemmaView(TextAnnotation ta,
boolean forceUpdate)
Fetches the word lemmas from the curator and adds the view to the
TextAnnotation as ViewNames.LEMMA . |
void |
CuratorClient.addNamedEntityView(TextAnnotation ta,
boolean forceUpdate)
Fetches the named entity view from the curator and adds the view to the
TextAnnotation as ViewNames#NER . |
void |
CuratorClient.addNOMView(TextAnnotation ta,
boolean forceUpdate)
Deprecated.
|
void |
CuratorClient.addNumericalQuantitiesView(TextAnnotation ta,
boolean forceUpdate)
Fetches the numerical quantities view from the curator and adds the view
to the
TextAnnotation as ViewNames#QUANTITIES . |
void |
CuratorClient.addParseTreeView(TextAnnotation ta,
boolean forceUpdate,
String treeSource,
String viewName)
Adds a parse tree view
|
void |
CuratorClient.addPOSView(TextAnnotation ta,
boolean forceUpdate)
Fetches the part-of-speech tags from the curator and adds the view to the
TextAnnotation as ViewNames.POS . |
void |
CuratorClient.addPredicateArgumentView(TextAnnotation ta,
boolean forceUpdate,
String curatorViewName,
String edisonViewName)
Adds a predicate argument view to the text annotation
|
void |
CuratorClient.addSpanLabelView(TextAnnotation ta,
boolean forceUpdate,
String curatorViewName,
boolean allowOverlappingSpans,
String edisonViewName)
Adds a span-label-view
|
void |
CuratorClient.addSRLNomView(TextAnnotation ta,
boolean forceUpdate)
Fetches the nominalization SRL_NOM view from the curator and adds it to the
TextAnnotation as ViewNames.SRL_NOM |
void |
CuratorClient.addSRLVerbView(TextAnnotation ta,
boolean forceUpdate)
Fetches the verb SRL_VERB view from the curator and adds it to the
TextAnnotation as ViewNames.SRL_VERB |
void |
CuratorClient.addSRLView(TextAnnotation ta,
boolean forceUpdate)
Deprecated.
|
void |
CuratorClient.addStanfordDependencyView(TextAnnotation ta,
boolean forceUpdate)
Fetches the dependency trees generated by the Stanford parser and adds
the view to the
TextAnnotation as
ViewNames.DEPENDENCY_STANFORD . |
void |
CuratorClient.addStanfordParse(TextAnnotation ta,
boolean forceUpdate)
Fetches parse trees generated by the Stanford parser from the curator and
adds them to the
TextAnnotation that is passed as a parameter to
the function. |
void |
CuratorClient.addTokenLabelView(TextAnnotation ta,
boolean forceUpdate,
String curatorViewName,
String edisonViewName)
Adds a token-label-view
|
void |
CuratorClient.addWikifierView(TextAnnotation ta,
boolean forceUpdate)
Fetches the wikifier view from the curator and adds the view to the
TextAnnotation as ViewNames#WIKIFIER . |
static SpanLabelView |
TokenAligner.align(String viewName,
edu.illinois.cs.cogcomp.thrift.base.Labeling labeling,
TextAnnotation ta)
Deprecated.
Converts a
Labeling to a SpanLabelView for the input
TextAnnotation . |
static SpanLabelView |
TokenAligner.align(String viewName,
edu.illinois.cs.cogcomp.thrift.base.Labeling labeling,
TextAnnotation ta,
boolean allowOverlappingSpans)
Deprecated.
|
static List<Map<edu.illinois.cs.cogcomp.core.datastructures.Pair<Integer,Integer>,Constituent>> |
TokenAligner.alignClustering(String viewName,
edu.illinois.cs.cogcomp.thrift.base.Clustering corefClustering,
TextAnnotation ta)
Deprecated.
|
static CoreferenceView |
CuratorDataStructureInterface.alignClusteringToCoreferenceView(String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Clustering clustering)
|
static TreeView |
CuratorDataStructureInterface.alignForestToDependencyView(String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Forest dep) |
static TreeView |
CuratorDataStructureInterface.alignForestToParseTreeView(String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Forest parseForest) |
static PredicateArgumentView |
CuratorDataStructureInterface.alignForestToPredicateArgumentView(String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Forest forest) |
static SpanLabelView |
CuratorDataStructureInterface.alignLabelingToSpanLabelView(String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Labeling spanLabeling,
boolean allowOverlappingSpans)
Aligns a
Labeling to a SpanLabelView . |
static TokenLabelView |
CuratorDataStructureInterface.alignLabelingToTokenLabelView(String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Labeling labeling)
Aligns a
Labeling to a TokenLabelView . |
static Map<edu.illinois.cs.cogcomp.core.datastructures.Pair<Integer,Integer>,Constituent> |
TokenAligner.alignSpans(String viewName,
List<edu.illinois.cs.cogcomp.thrift.base.Span> spans,
TextAnnotation ta,
boolean allowOverlappingSpans)
Deprecated.
|
static TokenLabelView |
TokenAligner.alignTokenAnnotation(String viewName,
edu.illinois.cs.cogcomp.thrift.base.Labeling labeling,
TextAnnotation ta,
boolean alignAllTokens)
Deprecated.
|
static List<edu.illinois.cs.cogcomp.core.datastructures.Pair<Integer,Integer>> |
TokenAligner.getCharacterOffsets(TextAnnotation ta,
List<Constituent> constituents)
Deprecated.
Get a list of character offsets for constituents.
|
protected static Constituent |
CuratorDataStructureInterface.getNewConstituentForSpan(String label,
String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Span span) |
protected edu.illinois.cs.cogcomp.thrift.curator.Record |
CuratorClient.getRecordFromCurator(TextAnnotation ta,
String viewName,
boolean forceUpdate)
Does the network call to the Curator and fetches a record that has a
particular view.
|
protected List<String> |
CuratorClient.getSentenceList(TextAnnotation ta)
Generates a list of sentences from a
TextAnnotation . |
protected static edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<edu.illinois.cs.cogcomp.core.datastructures.Pair<String,Integer>> |
CuratorDataStructureInterface.makeDependencyTree(TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Tree tree)
Converts a curator tree into a dependency tree that can be added to a
TreeView.
|
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
SuffixFeatureExtractor.getWordFeatures(TextAnnotation ta,
int wordPosition) |
Set<Feature> |
NgramFeatureExtractor.getWordFeatures(TextAnnotation ta,
int wordPosition) |
abstract Set<Feature> |
WordFeatureExtractor.getWordFeatures(TextAnnotation ta,
int wordPosition) |
Set<Feature> |
PrefixFeatureExtractor.getWordFeatures(TextAnnotation ta,
int wordPosition) |
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
CorlexFeatureExtractor.getWordFeatures(TextAnnotation ta,
int wordPosition) |
Set<Feature> |
VerbVoiceIndicator.getWordFeatures(TextAnnotation ta,
int wordPosition) |
Set<Feature> |
BrownClusterFeatureExtractor.getWordFeatures(TextAnnotation ta,
int wordPosition) |
Set<Feature> |
WordNetFeatureExtractor.getWordFeatures(TextAnnotation ta,
int tokenPosition) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
WordHelpers.getHypernyms(TextAnnotation ta,
int tokenId,
WordNetManager wnManager) |
static List<String> |
WordHelpers.getHypernymsMostFrequentSense(TextAnnotation ta,
int tokenId,
WordNetManager wnManager) |
static String |
WordHelpers.getLemma(TextAnnotation ta,
int tokenId) |
static edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> |
ParseHelper.getParseTree(String parseViewName,
TextAnnotation ta,
int sentenceId)
Get the parse tree of the
sentenceId th sentence from the
text annotation. |
static edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> |
ParseHelper.getParseTree(TextAnnotation ta,
int sentenceId)
Deprecated.
|
static String |
WordHelpers.getPOS(TextAnnotation ta,
int tokenId) |
static List<String> |
WordHelpers.getSynset(TextAnnotation ta,
int tokenId,
WordNetManager wnManager) |
static List<String> |
WordHelpers.getSynsetMostFrequentSense(TextAnnotation ta,
int tokenId,
WordNetManager wnManager) |
static String |
WordHelpers.getWord(TextAnnotation ta,
int tokenId) |
static boolean |
WordHelpers.isCapitalized(TextAnnotation ta,
int tokenId) |
Modifier and Type | Field and Description |
---|---|
protected TextAnnotation |
Constituent.textAnnotation |
protected TextAnnotation |
View.textAnnotation
The TextAnnotation that is annotated by this view.
|
protected TextAnnotation |
Sentence.textAnnotation |
Modifier and Type | Method and Description |
---|---|
static TextAnnotation |
EdisonSerializationHelper.deserializeFromBytes(byte[] buf)
Read a text annotation from a byte array.
|
static TextAnnotation |
EdisonSerializationHelper.deserializeFromJson(String jsonString)
Read a text annotation from a json string.
|
TextAnnotation |
Constituent.getTextAnnotation() |
TextAnnotation |
View.getTextAnnotation() |
TextAnnotation |
TextAnnotationMerger.merge(String corpus,
String textId,
List<TextAnnotation> listToMerge)
Creates a new
TextAnnotation by merging all the
TextAnnotation s provided as a parameter. |
Modifier and Type | Method and Description |
---|---|
static SpanLabelView |
TokenizerUtilities.addTokenView(TextAnnotation input,
Tokenizer tokenizer,
String source) |
protected static View |
AbstractEdisonSerializer.createEmptyView(TextAnnotation ta,
String viewClass,
String viewName,
String viewGenerator,
double score) |
static String |
TextAnnotationUtilities.getTokenSequence(TextAnnotation ta,
int start,
int end) |
static byte[] |
EdisonSerializationHelper.serializeToBytes(TextAnnotation ta)
Serialize a text annotation into a byte array.
|
static String |
EdisonSerializationHelper.serializeToJson(TextAnnotation ta)
Serialize a text annotation into a json string.
|
Modifier and Type | Method and Description |
---|---|
TextAnnotation |
TextAnnotationMerger.merge(String corpus,
String textId,
List<TextAnnotation> listToMerge)
Creates a new
TextAnnotation by merging all the
TextAnnotation s provided as a parameter. |
Constructor and Description |
---|
Constituent(String label,
double score,
String viewName,
TextAnnotation text,
int start,
int end) |
Constituent(String label,
String viewName,
TextAnnotation text,
int start,
int end) |
CoreferenceView(String viewName,
String viewGenerator,
TextAnnotation text,
double score) |
PredicateArgumentView(String viewName,
String viewGenerator,
TextAnnotation text,
double score) |
SpanLabelView(String viewName,
String viewGenerator,
TextAnnotation text,
double score)
Create a new SpanLabelView
|
SpanLabelView(String viewName,
String viewGenerator,
TextAnnotation text,
double score,
boolean allowOverlappingSpans) |
TokenLabelView(String viewName,
String viewGenerator,
TextAnnotation text,
double score) |
TreeView(String viewName,
String viewGenerator,
TextAnnotation text,
double score) |
View(String viewName,
String viewGenerator,
TextAnnotation text,
double score)
Creates a view for
text called viewName which is created
using a view generator called ViewGenerator and is assigned a
score score |
Modifier and Type | Method and Description |
---|---|
protected List<TextAnnotation> |
TextStatistics.process(TextAnnotation ta) |
Modifier and Type | Method and Description |
---|---|
protected void |
TextStatistics.consume(TextAnnotation ta) |
protected boolean |
TextStatistics.prerequisiteCheck(TextAnnotation ta) |
protected List<TextAnnotation> |
TextStatistics.process(TextAnnotation ta) |
Constructor and Description |
---|
TextStatistics(Iterator<TextAnnotation> data,
int numThreads,
FeatureExtractor fex,
edu.illinois.cs.cogcomp.core.transformers.ITransformer<TextAnnotation,List<Constituent>> constituentGenerator) |
TextStatistics(Iterator<TextAnnotation> data,
int numThreads,
FeatureExtractor fex,
edu.illinois.cs.cogcomp.core.transformers.ITransformer<TextAnnotation,List<Constituent>> constituentGenerator) |
Copyright © 2015. All rights reserved.