Verwendungen von Klasse
opennlp.tools.util.Span
Packages, die Span verwenden
Package
Beschreibung
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
Package related to linking entities to external data sources.
Experimental package related to the corpus format used by the "brat rapid annotation tool" (brat).
Experimental package related to the Irish Sentence Bank format.
Experimental package related to the
MASC
corpus format.Experimental package related to the National corpus of Polish
NKJP
format.Package related to finding proper names and numeric amounts.
Package containing common code for performing full syntactic parsing.
Package related to identifying sentence boundaries.
Contains classes related to finding token or words in a string.
Package containing utility data structures and algorithms used by multiple other packages.
-
Verwendungen von Span in opennlp.tools.chunker
Methoden in opennlp.tools.chunker, die Span zurückgebenModifizierer und TypMethodeBeschreibungSpan[]
Chunker.chunkAsSpans
(String[] toks, String[] tags) Span[]
ChunkerME.chunkAsSpans
(String[] toks, String[] tags) Span[]
ChunkSample.getPhrasesAsSpanList()
static Span[]
ChunkSample.phrasesAsSpanList
(String[] aSentence, String[] aTags, String[] aPreds) Create arrays ofspans
of phrases. -
Verwendungen von Span in opennlp.tools.cmdline.chunker
Methoden in opennlp.tools.cmdline.chunker, die Span zurückgebenModifizierer und TypMethodeBeschreibungprotected Span[]
ChunkerDetailedFMeasureListener.asSpanArray
(ChunkSample sample) -
Verwendungen von Span in opennlp.tools.cmdline.namefind
Methoden in opennlp.tools.cmdline.namefind, die Span zurückgebenModifizierer und TypMethodeBeschreibungprotected Span[]
TokenNameFinderDetailedFMeasureListener.asSpanArray
(NameSample sample) -
Verwendungen von Span in opennlp.tools.entitylinker
Klassen in opennlp.tools.entitylinker mit Typparametern vom Typ SpanModifizierer und TypSchnittstelleBeschreibunginterface
EntityLinker<T extends Span>
EntityLinkers establish connections with external data to enrich extracted entities.Unterklassen von Span in opennlp.tools.entitylinkerMethoden in opennlp.tools.entitylinker mit Parametern vom Typ SpanModifizierer und TypMethodeBeschreibungEntityLinker.find
(String doctext, Span[] sentences, Span[][] tokensBySentence, Span[][] namesBySentence) Links an entire document of named entities to an external source.EntityLinker.find
(String doctext, Span[] sentences, Span[][] tokensBySentence, Span[][] namesBySentence, int sentenceIndex) Links the names that correspond to the tokens[] spans.Konstruktoren in opennlp.tools.entitylinker mit Parametern vom Typ Span -
Verwendungen von Span in opennlp.tools.formats.brat
Methoden in opennlp.tools.formats.brat, die Span zurückgeben -
Verwendungen von Span in opennlp.tools.formats.irishsentencebank
Methoden in opennlp.tools.formats.irishsentencebank, die Span zurückgebenModifizierer und TypMethodeBeschreibungSpan[]
IrishSentenceBankDocument.IrishSentenceBankSentence.getTokens()
Konstruktoren in opennlp.tools.formats.irishsentencebank mit Parametern vom Typ SpanModifiziererKonstruktorBeschreibungIrishSentenceBankSentence
(String src, String trans, String orig, Span[] toks, IrishSentenceBankDocument.IrishSentenceBankFlex[] flx) -
Verwendungen von Span in opennlp.tools.formats.masc
Unterklassen von Span in opennlp.tools.formats.mascModifizierer und TypKlasseBeschreibungclass
class
class
Methoden in opennlp.tools.formats.masc, die Typen mit Argumenten vom Typ Span zurückgebenModifizierer und TypMethodeBeschreibungMascSentence.getNamedEntities()
MascSentence.getTokensSpans()
Retrieves the boundaries of individual tokens. -
Verwendungen von Span in opennlp.tools.formats.nkjp
Methoden in opennlp.tools.formats.nkjp, die Span zurückgeben -
Verwendungen von Span in opennlp.tools.namefind
Methoden in opennlp.tools.namefind, die Span zurückgebenModifizierer und TypMethodeBeschreibungSpan[]
Span[]
static Span[]
NameFinderME.dropOverlappingSpans
(Span[] spans) Removesspans
with are intersecting or crossing in any way.Span[]
Span[][]
Finds tokensspans
for the specified document of sentences and their tokens.Span[]
Span[]
Generates name tags for the given sequence, typically a sentence, returningtoken spans
for any identified names.Span[]
Findsspans
with character indices, rather than word.Span[]
Span[]
Span[]
Generates name tags for the given sequence, typically a sentence, returningtoken spans
for any identified names.Span[]
NameSample.getNames()
Methoden in opennlp.tools.namefind mit Parametern vom Typ SpanModifizierer und TypMethodeBeschreibungstatic Span[]
NameFinderME.dropOverlappingSpans
(Span[] spans) Removesspans
with are intersecting or crossing in any way.String[]
String[]
static String[]
NameFinderEventStream.generateOutcomes
(Span[] names, String type, int length) Veraltet, zur Entfernung: Dieses API-Element wird in einer zukünftigen Version entfernt.double[]
Retrieves an array of probabilities for each of the specified spans which is the arithmetic mean of the probabilities for each of the outcomes which make up the span.Konstruktoren in opennlp.tools.namefind mit Parametern vom Typ SpanModifiziererKonstruktorBeschreibungNameSample
(String[] sentence, Span[] names, boolean clearAdaptiveData) Initializes aNameSample
instance with given parameters.NameSample
(String[] sentence, Span[] names, String[][] additionalContext, boolean clearAdaptiveData) Initializes aNameSample
instance with given parameters.NameSample
(String id, String[] sentence, Span[] names, String[][] additionalContext, boolean clearAdaptiveData) Initializes aNameSample
instance with given parameters. -
Verwendungen von Span in opennlp.tools.parser
Methoden in opennlp.tools.parser, die Span zurückgebenModifizierer und TypMethodeBeschreibungConstituent.getSpan()
Returns the span of the constituent.Parse.getSpan()
Methoden in opennlp.tools.parser mit Parametern vom Typ SpanModifizierer und TypMethodeBeschreibungstatic void
Utility method to insert named entities.Konstruktoren in opennlp.tools.parser mit Parametern vom Typ SpanModifiziererKonstruktorBeschreibungConstituent
(String label, Span span) Initializes anode
for this specifiedtext
andspan
of the specifiedtype
with probabilityp
and the headindex
.Initializes anode
for this specifiedtext
andspan
of the specifiedtype
with probabilityp
and the headindex
. -
Verwendungen von Span in opennlp.tools.sentdetect
Methoden in opennlp.tools.sentdetect, die Span zurückgebenModifizierer und TypMethodeBeschreibungSpan[]
SentenceSample.getSentences()
Span[]
NewlineSentenceDetector.sentPosDetect
(CharSequence s) Span[]
SentenceDetector.sentPosDetect
(CharSequence s) Detects sentences in a character sequence.Span[]
SentenceDetectorME.sentPosDetect
(CharSequence s) Detects the position of the first words of sentences in aCharSequence
.Span[]
ThreadSafeSentenceDetectorME.sentPosDetect
(CharSequence s) Konstruktoren in opennlp.tools.sentdetect mit Parametern vom Typ SpanModifiziererKonstruktorBeschreibungSentenceSample
(CharSequence document, Span... sentences) Initializes the current instance. -
Verwendungen von Span in opennlp.tools.tokenize
Methoden in opennlp.tools.tokenize, die Span zurückgebenModifizierer und TypMethodeBeschreibungSpan[]
TokenSample.getTokenSpans()
Span[]
SimpleTokenizer.tokenizePos
(String s) Span[]
ThreadSafeTokenizerME.tokenizePos
(String s) Span[]
Tokenizer.tokenizePos
(String s) Finds the boundaries of atomic parts in a string.Span[]
TokenizerME.tokenizePos
(String d) Tokenizes the string.Span[]
WhitespaceTokenizer.tokenizePos
(String d) Span[]
WordpieceTokenizer.tokenizePos
(String text) Konstruktoren in opennlp.tools.tokenize mit Parametern vom Typ SpanModifiziererKonstruktorBeschreibungTokenSample
(String text, Span[] tokenSpans) Initializes ainstance
. -
Verwendungen von Span in opennlp.tools.util
Methoden in opennlp.tools.util, die Span zurückgebenMethoden in opennlp.tools.util mit Parametern vom Typ SpanModifizierer und TypMethodeBeschreibungint
Compares the specifiedSpan
to the current span.boolean
Identicalspans
are considered to contain each other.boolean
Checks if the specifiedSpan
crosses this span.T[]
boolean
Span.intersects
(Span s) Checks if the specifiedSpan
intersects with this span.static String[]
Span.spansToStrings
(Span[] spans, CharSequence s) static String[]
Span.spansToStrings
(Span[] spans, String[] tokens) boolean
Span.startsWith
(Span s) Konstruktoren in opennlp.tools.util mit Parametern vom Typ Span
BioCodec
implementation of the SequenceValidator instead!