Package

com.johnsnowlabs

nlp

Permalink

package nlp

Visibility
  1. Public
  2. All

Type Members

  1. case class Annotation(annotatorType: String, begin: Int, end: Int, result: String, metadata: Map[String, String], embeddings: Array[Float] = Array.emptyFloatArray, sentence_embeddings: Array[Float] = Array.emptyFloatArray) extends Product with Serializable

    Permalink

    represents annotator's output parts and their details

    represents annotator's output parts and their details

    annotatorType

    the type of annotation

    begin

    the index of the first character under this annotation

    end

    the index after the last character under this annotation

    metadata

    associated metadata for this annotation

  2. abstract class AnnotatorApproach[M <: Model[M]] extends Estimator[M] with HasInputAnnotationCols with HasOutputAnnotationCol with HasOutputAnnotatorType with DefaultParamsWritable

    Permalink

    This class should grow once we start training on datasets and share params For now it stands as a dummy placeholder for future reference

  3. abstract class AnnotatorModel[M <: Model[M]] extends Model[M] with RawAnnotator[M]

    Permalink

    This trait implements logic that applies nlp using Spark ML Pipeline transformers Should strongly change once UsedDefinedTypes are allowed https://issues.apache.org/jira/browse/SPARK-7768

  4. class Chunk2Doc extends AnnotatorModel[Chunk2Doc]

    Permalink
  5. class Doc2Chunk extends Model[Doc2Chunk] with RawAnnotator[Doc2Chunk]

    Permalink

    Created by saif on 06/07/17.

  6. class DocumentAssembler extends Transformer with DefaultParamsWritable with HasOutputAnnotatorType with HasOutputAnnotationCol

    Permalink

    Created by saif on 06/07/17.

  7. class FeaturesReader[T <: HasFeatures] extends MLReader[T]

    Permalink
  8. class FeaturesWriter[T] extends MLWriter with HasFeatures

    Permalink
  9. class Finisher extends Transformer with DefaultParamsWritable

    Permalink
  10. trait HasFeatures extends AnyRef

    Permalink
  11. trait HasInputAnnotationCols extends Params

    Permalink
  12. trait HasOutputAnnotationCol extends Params

    Permalink
  13. trait HasOutputAnnotatorType extends AnyRef

    Permalink
  14. trait HasRecursiveFit[M <: Model[M]] extends AnyRef

    Permalink

    AnnotatorApproach'es may extend this trait in order to allow RecursivePipelines to include intermediate steps trained PipelineModel's

  15. case class JavaAnnotation(annotatorType: String, begin: Int, end: Int, result: String, metadata: Map[String, String], embeddings: Array[Float] = Array.emptyFloatArray, sentenceEmbeddings: Array[Float] = Array.emptyFloatArray) extends Product with Serializable

    Permalink
  16. class LightPipeline extends AnyRef

    Permalink
  17. trait ParamsAndFeaturesReadable[T <: HasFeatures] extends DefaultParamsReadable[T]

    Permalink
  18. trait ParamsAndFeaturesWritable extends DefaultParamsWritable with Params with HasFeatures

    Permalink
  19. trait RawAnnotator[M <: Model[M]] extends Model[M] with ParamsAndFeaturesWritable with HasOutputAnnotatorType with HasInputAnnotationCols with HasOutputAnnotationCol

    Permalink

    Created by jose on 25/01/18.

  20. class RecursivePipeline extends Pipeline

    Permalink
  21. class TokenAssembler extends AnnotatorModel[TokenAssembler]

    Permalink

    Created by saif on 06/07/17.

Value Members

  1. object Annotation extends Serializable

    Permalink
  2. object AnnotatorType

    Permalink
  3. object Chunk2Doc extends DefaultParamsReadable[Chunk2Doc] with Serializable

    Permalink
  4. object Doc2Chunk extends DefaultParamsReadable[Doc2Chunk] with Serializable

    Permalink
  5. object DocumentAssembler extends DefaultParamsReadable[DocumentAssembler] with Serializable

    Permalink
  6. object Finisher extends DefaultParamsReadable[Finisher] with Serializable

    Permalink
  7. object SparkNLP

    Permalink
  8. object TokenAssembler extends DefaultParamsReadable[TokenAssembler] with Serializable

    Permalink
  9. package annotator

    Permalink
  10. package annotators

    Permalink
  11. object base

    Permalink
  12. package embeddings

    Permalink
  13. object functions

    Permalink
  14. package pretrained

    Permalink
  15. package serialization

    Permalink
  16. package training

    Permalink
  17. package util

    Permalink

Ungrouped