Object/Class

com.johnsnowlabs.nlp

Annotation

Related Docs: class Annotation | package nlp

Permalink

object Annotation extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Annotation
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AnnotationContainer(__annotation: Array[Annotation]) extends Product with Serializable

    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. def apply(rawText: String): Annotation

    Permalink
  5. def apply(row: Row): Annotation

    Permalink

    This method converts a org.apache.spark.sql.Row into an Annotation

    This method converts a org.apache.spark.sql.Row into an Annotation

    row

    spark row to be converted

    returns

    annotation

  6. val arrayType: ArrayType

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collect(dataset: Dataset[Row], column: String, columns: String*): Array[Array[Annotation]]

    Permalink
  10. def collect(dataset: Dataset[Row], column: String): Array[Array[Annotation]]

    Permalink

    dataframe collect of a specific annotation column

  11. val dataType: StructType

    Permalink

    This is spark type of an annotation representing its metadata shape

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

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. object extractors

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def flatten(vSep: String, aSep: String, parseEmbeddings: Boolean): UserDefinedFunction

    Permalink

    dataframe annotation flatmap of results into strings

  17. def flattenArray(parseEmbeddings: Boolean): UserDefinedFunction

    Permalink

    dataframe annotation flatmap of result values as ArrayType

  18. def flattenArrayMetadata: UserDefinedFunction

    Permalink

    dataframe annotation flatmap of metadata values as ArrayType

  19. def flattenDetail(vSep: String, aSep: String, parseEmbeddings: Boolean): UserDefinedFunction

    Permalink

    dataframe annotation flatmap of results and metadata key values into strings

  20. def getAnnotations(row: Row, colName: String): Seq[Annotation]

    Permalink
  21. def getAnnotations(row: Row, colNum: Int): Seq[Annotation]

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getColumnByType(dataset: Dataset[_], inputCols: Array[String], annotatorType: String): StructField

    Permalink
  24. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def searchCoverage(annotations: Array[Annotation], begin: Int, end: Int): Seq[Annotation]

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

    Permalink
    Definition Classes
    AnyRef
  31. def take(dataset: Dataset[Row], column: String, howMany: Int): Array[Array[Annotation]]

    Permalink

    dataframe take of a specific annotation column

  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped