| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Span | |
|---|---|
| opennlp.tools.coref.mention | Package related to the modeling mentions for coreference resolution. | 
| opennlp.tools.coref.sim | Package related to the modeling mention similarity for coreference resolution. | 
| 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.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. | 
| Uses of Span in opennlp.tools.coref.mention | 
|---|
| Methods in opennlp.tools.coref.mention that return Span | |
|---|---|
|  Span | Mention.getHeadSpan()Returns the character offsets for the head of this extent. | 
|  Span | MentionContext.getIndexSpan()Returns a sentence-based token span for this mention. | 
|  Span | Parse.getSpan()Returns the character offsets of this parse node. | 
|  Span | Mention.getSpan()Returns the character offsets for this extent. | 
|  Span | DefaultParse.getSpan() | 
| Constructors in opennlp.tools.coref.mention with parameters of type Span | |
|---|---|
| Mention(Span span,
        Span headSpan,
        int entityId,
        Parse parse,
        String extentType) | |
| Mention(Span span,
        Span headSpan,
        int entityId,
        Parse parse,
        String extentType,
        String nameType) | |
| MentionContext(Span span,
               Span headSpan,
               int entityId,
               Parse parse,
               String extentType,
               String nameType,
               int mentionIndex,
               int mentionsInSentence,
               int mentionIndexInDocument,
               int sentenceIndex,
               HeadFinder headFinder) | |
| Uses of Span in opennlp.tools.coref.sim | 
|---|
| Constructors in opennlp.tools.coref.sim with parameters of type Span | |
|---|---|
| Context(Span span,
        Span headSpan,
        int entityId,
        Parse parse,
        String extentType,
        String nameType,
        HeadFinder headFinder) | |
| Uses of Span in opennlp.tools.namefind | 
|---|
| Methods in opennlp.tools.namefind that return Span | |
|---|---|
| static Span[] | NameFinderME.dropOverlappingSpans(Span[] spans)Removes spans with are intersecting or crossing in anyway. | 
|  Span[] | TokenNameFinder.find(String[] tokens)Generates name tags for the given sequence, typically a sentence, returning token spans for any identified names. | 
|  Span[] | RegexNameFinder.find(String[] tokens) | 
|  Span[] | NameFinderME.find(String[] tokens) | 
|  Span[] | DictionaryNameFinder.find(String[] tokenStrings) | 
|  Span[][] | DocumentNameFinder.find(String[][] document)Returns tokens span for the specified document of sentences and their tokens. | 
|  Span[] | NameFinderME.find(String[] tokens,
     String[][] additionalContext)Generates name tags for the given sequence, typically a sentence, returning token spans for any identified names. | 
|  Span[] | NameSample.getNames() | 
| Methods in opennlp.tools.namefind with parameters of type Span | |
|---|---|
| static Span[] | NameFinderME.dropOverlappingSpans(Span[] spans)Removes spans with are intersecting or crossing in anyway. | 
| static String[] | NameFinderEventStream.generateOutcomes(Span[] names,
                 String type,
                 int length)Generates the name tag outcomes (start, continue, other) for each token in a sentence with the specified length using the specified name spans. | 
|  double[] | NameFinderME.probs(Span[] spans)Returns an array of probabilities for each of the specified spans which is the product the probabilities for each of the outcomes which make up the span. | 
| Constructors in opennlp.tools.namefind with parameters of type Span | |
|---|---|
| NameSample(String[] sentence,
           Span[] names,
           boolean clearAdaptiveData) | |
| NameSample(String[] sentence,
           Span[] names,
           String[][] additionalContext,
           boolean clearAdaptiveData)Initializes the current instance. | |
| Uses of Span in opennlp.tools.parser | 
|---|
| Methods in opennlp.tools.parser that return Span | |
|---|---|
|  Span | Parse.getSpan()Returns the character offsets for this constituent. | 
|  Span | Constituent.getSpan()Returns the span of the constituent. | 
| Methods in opennlp.tools.parser with parameters of type Span | |
|---|---|
| static void | Parse.addNames(String tag,
         Span[] names,
         Parse[] tokens)Utility method to inserts named entities. | 
| Constructors in opennlp.tools.parser with parameters of type Span | |
|---|---|
| Constituent(String label,
            Span span) | |
| Parse(String text,
      Span span,
      String type,
      double p,
      int index)Creates a new parse node for this specified text and span of the specified type with the specified probability and the specified head index. | |
| Parse(String text,
      Span span,
      String type,
      double p,
      Parse h)Creates a new parse node for this specified text and span of the specified type with the specified probability and the specified head and head index. | |
| Uses of Span in opennlp.tools.sentdetect | 
|---|
| Methods in opennlp.tools.sentdetect that return Span | |
|---|---|
|  Span[] | SentenceSample.getSentences()Retrieves the sentences. | 
|  Span[] | SentenceDetectorME.sentPosDetect(String s)Detect the position of the first words of sentences in a String. | 
|  Span[] | SentenceDetector.sentPosDetect(String s)Sentence detect a string. | 
| Constructors in opennlp.tools.sentdetect with parameters of type Span | |
|---|---|
| SentenceSample(String document,
               Span... sentences)Initializes the current instance. | |
| Uses of Span in opennlp.tools.tokenize | 
|---|
| Methods in opennlp.tools.tokenize that return Span | |
|---|---|
|  Span[] | TokenSample.getTokenSpans()Retrieves the token spans. | 
|  Span[] | WhitespaceTokenizer.tokenizePos(String d) | 
|  Span[] | TokenizerME.tokenizePos(String d)Tokenizes the string. | 
|  Span[] | Tokenizer.tokenizePos(String s)Finds the boundaries of atomic parts in a string. | 
|  Span[] | SimpleTokenizer.tokenizePos(String s) | 
| Constructors in opennlp.tools.tokenize with parameters of type Span | |
|---|---|
| TokenSample(String text,
            Span[] tokenSpans)Initializes the current instance. | |
| Uses of Span in opennlp.tools.util | 
|---|
| Methods in opennlp.tools.util with parameters of type Span | |
|---|---|
|  int | Span.compareTo(Span s)Compares the specified span to the current span. | 
|  boolean | Span.contains(Span s)Returns true if the specified span is contained by this span. | 
|  boolean | Span.crosses(Span s)Returns true is the specified span crosses this span. | 
|  boolean | Span.intersects(Span s)Returns true if the specified span intersects with this span. | 
| static String[] | Span.spansToStrings(Span[] spans,
               CharSequence s)Converts an array of Spans to an array ofStrings. | 
| static String[] | Span.spansToStrings(Span[] spans,
               String[] tokens) | 
|  boolean | Span.startsWith(Span s)Returns true if the specified span is the begin of this span and the specified span is contained in this span. | 
| Constructors in opennlp.tools.util with parameters of type Span | |
|---|---|
| Span(Span span,
     int offset)Initializes a new Span object with an existing Span which is shifted by an offset. | |
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||