|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NLPInstance | |
---|---|
com.googlecode.whatswrong | The whatswrong package is the top-level package of What's Wrong With My NLP. |
com.googlecode.whatswrong.io | The io package contains classes for loading NLP instances from different types of formats. |
Uses of NLPInstance in com.googlecode.whatswrong |
---|
Methods in com.googlecode.whatswrong that return NLPInstance | |
---|---|
NLPInstance |
NLPDiff.diff(NLPInstance goldInstance,
NLPInstance guessInstance)
Calculates the difference between two NLP instances in terms of their edges. |
NLPInstance |
TokenFilter.filter(NLPInstance original)
Filter an NLP instance by first filtering the tokens and then removing edges that have tokens which were filtered out. |
NLPInstance |
NLPInstanceFilter.filter(NLPInstance original)
Filter the given instance. |
NLPInstance |
FilterPipeline.filter(NLPInstance original)
Applies the 1st filter to the original instance, the 2nd filter to the result of the 1st filter, and so on. |
NLPInstance |
EdgeTokenFilter.filter(NLPInstance original)
First filters out edges and then filters out tokens without edges if EdgeTokenFilter.isCollaps() is true. |
NLPInstance |
EdgeFilter.filter(NLPInstance original)
|
Methods in com.googlecode.whatswrong that return types with arguments of type NLPInstance | |
---|---|
java.util.List<NLPInstance> |
CorpusLoader.getSelected()
Returns the currently selected corpus or null if no corpus is selected. |
Methods in com.googlecode.whatswrong with parameters of type NLPInstance | |
---|---|
NLPInstance |
NLPDiff.diff(NLPInstance goldInstance,
NLPInstance guessInstance)
Calculates the difference between two NLP instances in terms of their edges. |
java.util.Map<Token,Bounds1D> |
TokenLayout.estimateTokenBounds(NLPInstance instance,
java.util.Map<Token,java.lang.Integer> tokenWidths,
java.awt.Graphics2D g2d)
Method estimateTokenBounds calculates the horizontal bounds of each token in the layout of the tokens. |
NLPInstance |
TokenFilter.filter(NLPInstance original)
Filter an NLP instance by first filtering the tokens and then removing edges that have tokens which were filtered out. |
NLPInstance |
NLPInstanceFilter.filter(NLPInstance original)
Filter the given instance. |
NLPInstance |
FilterPipeline.filter(NLPInstance original)
Applies the 1st filter to the original instance, the 2nd filter to the result of the 1st filter, and so on. |
NLPInstance |
EdgeTokenFilter.filter(NLPInstance original)
First filters out edges and then filters out tokens without edges if EdgeTokenFilter.isCollaps() is true. |
NLPInstance |
EdgeFilter.filter(NLPInstance original)
|
java.awt.Dimension |
TokenLayout.layout(NLPInstance instance,
java.util.Map<Token,java.lang.Integer> tokenWidths,
java.awt.Graphics2D g2d)
Lays out all tokens in the given collection as stacks of property values that are placed next to each other according the order of the tokens (as indicated by their indices). |
void |
NLPInstance.merge(NLPInstance nlp)
Merges the given instance with this instance. |
java.awt.Dimension |
SingleSentenceRenderer.render(NLPInstance instance,
java.awt.Graphics2D graphics2D)
Renders the given instance as a single sentence with spans drawn below tokens, and dependencies above tokens. |
java.awt.Dimension |
NLPCanvasRenderer.render(NLPInstance instance,
java.awt.Graphics2D graphics2D)
Renders the given instance to the given Graphics object and returns the dimension of the rendered image |
java.awt.Dimension |
AlignmentRenderer.render(NLPInstance instance,
java.awt.Graphics2D graphics2D)
Renders the given instance as a single sentence with spans drawn below tokens, and dependencies above tokens. |
void |
NLPCanvas.setNLPInstance(NLPInstance nlpInstance)
Sets the current NLP instance to draw. |
Method parameters in com.googlecode.whatswrong with type arguments of type NLPInstance | |
---|---|
void |
CorpusNavigator.corpusAdded(java.util.List<NLPInstance> corpus,
CorpusLoader src)
Adds the corpus to the corresponding internal set of corpora. |
void |
CorpusLoader.Listener.corpusAdded(java.util.List<NLPInstance> corpus,
CorpusLoader src)
Called when a new corpus is added. |
void |
CorpusNavigator.corpusRemoved(java.util.List<NLPInstance> corpus,
CorpusLoader src)
Removes the corpus and all diff corpora that compare the given corpus |
void |
CorpusLoader.Listener.corpusRemoved(java.util.List<NLPInstance> corpus,
CorpusLoader src)
Called when a corpus is removed. |
void |
CorpusNavigator.corpusSelected(java.util.List<NLPInstance> corpus,
CorpusLoader src)
Changes the current selected instance to be the one in the new corpus with the same index as the last chosen instance of the old corpus or the last instance if no such instance exist. |
void |
CorpusLoader.Listener.corpusSelected(java.util.List<NLPInstance> corpus,
CorpusLoader src)
Called when a corpus is selected. |
Uses of NLPInstance in com.googlecode.whatswrong.io |
---|
Methods in com.googlecode.whatswrong.io that return NLPInstance | |
---|---|
NLPInstance |
TabProcessor.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
Create an NLPInstance from the given table (list of rows) of strings. |
NLPInstance |
MaltTab.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2009.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2008.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2006.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2005.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2004.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2003.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2002.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2000.create(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
TabProcessor.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
Create an NLPInstance from the given table (list of rows) of strings, assuming that the passed rows are from the open dataset. |
NLPInstance |
MaltTab.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2009.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2008.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2006.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2005.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2004.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2003.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2002.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
NLPInstance |
CoNLL2000.createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
|
Methods in com.googlecode.whatswrong.io that return types with arguments of type NLPInstance | |
---|---|
java.util.List<NLPInstance> |
TheBeastFormat.load(java.io.File file,
int from,
int to)
|
java.util.List<NLPInstance> |
TabFormat.load(java.io.File file,
int from,
int to)
|
java.util.List<NLPInstance> |
LispSExprFormat.load(java.io.File file,
int from,
int to)
|
java.util.List<NLPInstance> |
GaleAlignmentFormat.load(java.io.File file,
int from,
int to)
Loads a corpus from a file, starting at instance from and ending at instance to
(exclusive). |
java.util.List<NLPInstance> |
CorpusFormat.load(java.io.File file,
int from,
int to)
Loads a corpus from a file, starting at instance from and ending at instance to
(exclusive). |
java.util.List<NLPInstance> |
BioNLP2009SharedTaskFormat.load(java.io.File file,
int from,
int to)
Loads files from the given directory with the extensions specified by the text fields of the accessory. |
Methods in com.googlecode.whatswrong.io with parameters of type NLPInstance | |
---|---|
static void |
TabFormat.extractSpan00(java.util.List<? extends java.util.List<java.lang.String>> rows,
int column,
java.lang.String type,
NLPInstance instance)
|
static void |
TabFormat.extractSpan03(java.util.List<? extends java.util.List<java.lang.String>> rows,
int column,
java.lang.String type,
NLPInstance instance)
|
static void |
TabFormat.extractSpan05(java.util.List<? extends java.util.List<java.lang.String>> rows,
int column,
java.lang.String type,
java.lang.String prefix,
NLPInstance instance)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |