Class

com.johnsnowlabs.nlp.training

CoNLL

Related Doc: package training

Permalink

case class CoNLL(documentCol: String = "document", sentenceCol: String = "sentence", tokenCol: String = "token", posCol: String = "pos", conllLabelIndex: Int = 3, conllPosIndex: Int = 1, conllTextCol: String = "text", labelCol: String = "label", explodeSentences: Boolean = false) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CoNLL
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CoNLL(documentCol: String = "document", sentenceCol: String = "sentence", tokenCol: String = "token", posCol: String = "pos", conllLabelIndex: Int = 3, conllPosIndex: Int = 1, conllTextCol: String = "text", labelCol: String = "label", explodeSentences: Boolean = false)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val annotationType: ArrayType

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clearTokens(tokens: Array[IndexedTaggedWord]): Array[IndexedTaggedWord]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val conllLabelIndex: Int

    Permalink
  9. val conllPosIndex: Int

    Permalink
  10. val conllTextCol: String

    Permalink
  11. val documentCol: String

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. val explodeSentences: Boolean

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def getAnnotationType(column: String, annotatorType: String, addMetadata: Boolean = true): StructField

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val labelCol: String

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def packAssembly(text: String, isTraining: Boolean = true): Seq[Annotation]

    Permalink
  23. def packDocs(docs: Seq[CoNLLDocument], spark: SparkSession): Dataset[_]

    Permalink
  24. def packNerTagged(sentences: Seq[NerTaggedSentence]): Seq[Annotation]

    Permalink
  25. def packPosTagged(sentences: Seq[TaggedSentence]): Seq[Annotation]

    Permalink
  26. def packSentence(text: String, sentences: Seq[TaggedSentence]): Seq[Annotation]

    Permalink
  27. def packTokenized(text: String, sentences: Seq[TaggedSentence]): Seq[Annotation]

    Permalink
  28. val posCol: String

    Permalink
  29. def readDataset(spark: SparkSession, path: String, readAs: String = ReadAs.LINE_BY_LINE.toString): Dataset[_]

    Permalink
  30. def readDatasetFromLines(lines: Array[String], spark: SparkSession): Dataset[_]

    Permalink
  31. def readDocs(er: ExternalResource): Seq[CoNLLDocument]

    Permalink
  32. def readLines(lines: Array[String]): Seq[CoNLLDocument]

    Permalink
  33. def schema: StructType

    Permalink
  34. val sentenceCol: String

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. val tokenCol: String

    Permalink
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped