package nlp
- Alphabetic
- Public
- All
Type Members
-
case class
Annotation(annotatorType: String, begin: Int, end: Int, result: String, metadata: Map[String, String], embeddings: Array[Float] = Array.emptyFloatArray) extends Product with Serializable
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
-
abstract
class
AnnotatorApproach[M <: Model[M]] extends Estimator[M] with HasInputAnnotationCols with HasOutputAnnotationCol with HasOutputAnnotatorType with DefaultParamsWritable with CanBeLazy
This class should grow once we start training on datasets and share params For now it stands as a dummy placeholder for future reference
-
abstract
class
AnnotatorModel[M <: Model[M]] extends Model[M] with RawAnnotator[M] with CanBeLazy
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
- trait CanBeLazy extends AnyRef
- class Chunk2Doc extends AnnotatorModel[Chunk2Doc] with HasSimpleAnnotate[Chunk2Doc]
-
class
Doc2Chunk extends Model[Doc2Chunk] with RawAnnotator[Doc2Chunk]
Created by saif on 06/07/17.
- class DocumentAssembler extends Transformer with DefaultParamsWritable with HasOutputAnnotatorType with HasOutputAnnotationCol
- class EmbeddingsFinisher extends Transformer with DefaultParamsWritable
- class FeaturesReader[T <: HasFeatures] extends MLReader[T]
- class FeaturesWriter[T] extends MLWriter with HasFeatures
- class Finisher extends Transformer with DefaultParamsWritable
- trait HasBatchedAnnotate[M <: Model[M]] extends AnyRef
- trait HasCaseSensitiveProperties extends ParamsAndFeaturesWritable
- trait HasFeatures extends AnyRef
- trait HasInputAnnotationCols extends Params
- trait HasOutputAnnotationCol extends Params
- trait HasOutputAnnotatorType extends AnyRef
- trait HasPretrained[M <: PipelineStage] extends AnyRef
-
trait
HasRecursiveFit[M <: Model[M]] extends AnyRef
AnnotatorApproach'es may extend this trait in order to allow RecursivePipelines to include intermediate steps trained PipelineModel's
- trait HasRecursiveTransform[M <: Model[M]] extends AnyRef
- trait HasSimpleAnnotate[M <: Model[M]] extends AnyRef
- case class JavaAnnotation(annotatorType: String, begin: Int, end: Int, result: String, metadata: Map[String, String], embeddings: Array[Float] = Array.emptyFloatArray) extends Product with Serializable
- class LightPipeline extends AnyRef
- trait ParamsAndFeaturesReadable[T <: HasFeatures] extends DefaultParamsReadable[T]
- trait ParamsAndFeaturesWritable extends DefaultParamsWritable with Params with HasFeatures
-
trait
RawAnnotator[M <: Model[M]] extends Model[M] with ParamsAndFeaturesWritable with HasOutputAnnotatorType with HasInputAnnotationCols with HasOutputAnnotationCol
Created by jose on 25/01/18.
- class RecursivePipeline extends Pipeline
- class RecursivePipelineModel extends Model[RecursivePipelineModel] with MLWritable with Logging
- class TokenAssembler extends AnnotatorModel[TokenAssembler] with HasSimpleAnnotate[TokenAssembler]
Value Members
- object Annotation extends Serializable
- object AnnotatorType
- object Chunk2Doc extends DefaultParamsReadable[Chunk2Doc] with Serializable
- object Doc2Chunk extends DefaultParamsReadable[Doc2Chunk] with Serializable
- object DocumentAssembler extends DefaultParamsReadable[DocumentAssembler] with Serializable
- object EmbeddingsFinisher extends DefaultParamsReadable[EmbeddingsFinisher] with Serializable
- object Finisher extends DefaultParamsReadable[Finisher] with Serializable
- object SparkNLP
- object TokenAssembler extends DefaultParamsReadable[TokenAssembler] with Serializable
- object functions