Package

com.johnsnowlabs.nlp.annotators

common

Permalink

package common

Visibility
  1. Public
  2. All

Type Members

  1. trait Annotated[TResult] extends AnyRef

    Permalink
  2. case class ConllSentence(dependency: String, lemma: String, uPos: String, xPos: String, deprel: String, head: Int, sentence: Int, begin: Int, end: Int) extends Product with Serializable

    Permalink
  3. case class DependencyParsedSentence(tokens: Array[WordWithDependency]) extends Product with Serializable

    Permalink
  4. case class IndexedTaggedWord(word: String, tag: String, begin: Int = 0, end: Int = 0, confidence: Option[Float] = None) extends Product with Serializable

    Permalink
  5. case class IndexedToken(token: String, begin: Int = 0, end: Int = 0) extends Product with Serializable

    Permalink
  6. class InfixToken extends PreprocessingParser

    Permalink
  7. class PrefixedToken extends PreprocessingParser

    Permalink
  8. trait PreprocessingParser extends AnyRef

    Permalink
  9. case class Sentence(content: String, start: Int, end: Int, index: Int) extends Product with Serializable

    Permalink

    structure representing a sentence and its boundaries

  10. class SuffixedToken extends PreprocessingParser

    Permalink
  11. trait Tagged[T >: TaggedSentence <: TaggedSentence] extends Annotated[T]

    Permalink
  12. case class TaggedSentence(taggedWords: Array[TaggedWord], indexedTaggedWords: Array[IndexedTaggedWord] = Array()) extends Product with Serializable

    Permalink

    Structure to hold Sentences as list of words and POS-tags

    Structure to hold Sentences as list of words and POS-tags

    taggedWords

    Word tag pairs

  13. case class TaggedWord(word: String, tag: String) extends Product with Serializable

    Permalink

    Word tag pair

  14. case class TokenPiece(wordpiece: String, token: String, pieceId: Int, isWordStart: Boolean, begin: Int, end: Int) extends Product with Serializable

    Permalink
  15. case class TokenPieceEmbeddings(wordpiece: String, token: String, pieceId: Int, isWordStart: Boolean, isOOV: Boolean, embeddings: Array[Float], begin: Int, end: Int) extends Product with Serializable

    Permalink
  16. case class TokenizedSentence(indexedTokens: Array[IndexedToken], sentenceIndex: Int) extends Product with Serializable

    Permalink

    Internal structure for a sentence that is split into tokens

  17. case class WordWithDependency(word: String, begin: Int, end: Int, head: Int) extends Product with Serializable

    Permalink
  18. case class WordpieceEmbeddingsSentence(tokens: Array[TokenPieceEmbeddings], sentenceId: Int) extends Product with Serializable

    Permalink
  19. case class WordpieceTokenizedSentence(tokens: Array[TokenPiece]) extends Product with Serializable

    Permalink

Value Members

  1. object Annotated

    Permalink
  2. object ChunkSplit extends Annotated[Sentence]

    Permalink

    Helper object to work work with Chunks

  3. object DatasetHelpers

    Permalink
  4. object DependencyParsed extends Annotated[DependencyParsedSentence]

    Permalink
  5. object EmbeddingsWithSentence extends Annotated[TokenizedSentence]

    Permalink
  6. object InfixToken

    Permalink
  7. object LabeledDependency extends Annotated[ConllSentence]

    Permalink
  8. object NerTagged extends Tagged[NerTaggedSentence]

    Permalink
  9. object PosTagged extends Tagged[PosTaggedSentence]

    Permalink
  10. object PrefixedToken

    Permalink
  11. object Sentence extends Serializable

    Permalink
  12. object SentenceSplit extends Annotated[Sentence]

    Permalink

    Helper object to work work with Sentence

  13. object SuffixedToken

    Permalink
  14. object TaggedSentence extends Serializable

    Permalink
  15. object TokenPieceEmbeddings extends Serializable

    Permalink
  16. object TokenizedWithSentence extends Annotated[TokenizedSentence]

    Permalink
  17. object WordpieceEmbeddingsSentence extends Annotated[WordpieceEmbeddingsSentence] with Serializable

    Permalink
  18. object WordpieceTokenized extends Annotated[WordpieceTokenizedSentence]

    Permalink

Ungrouped