Package

com.johnsnowlabs

nlp

Permalink

package nlp

Visibility
  1. Public
  2. All

Type Members

  1. case class Annotation(annotatorType: String, start: Int, end: Int, result: String, metadata: Map[String, String]) 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

    start

    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 HasAnnotatorType 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 ParamsAndFeaturesWritable with HasAnnotatorType with HasInputAnnotationCols with HasOutputAnnotationCol with TransformModelSchema

    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 DocumentAssembler extends Transformer with DefaultParamsWritable with HasAnnotatorType with HasOutputAnnotationCol

    Permalink

    Created by saif on 06/07/17.

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

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

    Permalink
  7. class Finisher extends Transformer with DefaultParamsWritable

    Permalink
  8. trait HasAnnotatorType extends AnyRef

    Permalink
  9. trait HasFeatures extends AnyRef

    Permalink
  10. trait HasInputAnnotationCols extends Params

    Permalink
  11. trait HasOutputAnnotationCol extends Params

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

  13. trait HasWordEmbeddings extends AutoCloseable with ParamsAndFeaturesWritable

    Permalink

    Base class for models that uses Word Embeddings.

    Base class for models that uses Word Embeddings. This implementation is based on RocksDB so it has a compact RAM usage

    Corresponding Approach have to implement AnnotatorWithWordEmbeddings

  14. trait ParamsAndFeaturesReadable[T <: HasFeatures] extends DefaultParamsReadable[T]

    Permalink
  15. trait ParamsAndFeaturesWritable extends DefaultParamsWritable with Params with HasFeatures

    Permalink
  16. abstract class RawAnnotator[M <: Model[M]] extends Model[M] with ParamsAndFeaturesWritable with HasAnnotatorType with HasInputAnnotationCols with HasOutputAnnotationCol

    Permalink

    Created by jose on 25/01/18.

  17. class RecursivePipeline extends Pipeline

    Permalink
  18. class TokenAssembler extends AnnotatorModel[TokenAssembler]

    Permalink

    Created by saif on 06/07/17.

  19. trait TransformModelSchema extends AnyRef

    Permalink

    Created by jose on 25/01/18.

Value Members

  1. object Annotation extends Serializable

    Permalink
  2. object AnnotatorType

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

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

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

    Permalink
  6. package annotators

    Permalink
  7. package datasets

    Permalink
  8. package embeddings

    Permalink
  9. package serialization

    Permalink
  10. package util

    Permalink

Ungrouped