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. val EMBEDDINGS: String

    Permalink
  5. val RESULT: String

    Permalink
  6. def apply(rawText: String): Annotation

    Permalink
  7. 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

  8. val arrayType: ArrayType

    Permalink
  9. final def asInstanceOf[T0]: T0

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

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

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

    Permalink

    dataframe collect of a specific annotation column

  13. val dataType: StructType

    Permalink

    This is spark type of an annotation representing its metadata shape

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. object extractors

    Permalink
  17. def finalize(): Unit

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

    Permalink

    dataframe annotation flatmap of results into strings

  19. def flattenArray(parseEmbeddings: Boolean): UserDefinedFunction

    Permalink

    dataframe annotation flatmap of result values as ArrayType

  20. def flattenArrayMetadata: UserDefinedFunction

    Permalink

    dataframe annotation flatmap of metadata values as ArrayType

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

    Permalink

    dataframe annotation flatmap of results and metadata key values into strings

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

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

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

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

    Permalink
  26. def hashCode(): Int

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

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

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

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

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

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

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

    Permalink

    dataframe take of a specific annotation column

  34. def toString(): String

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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