package perceptron

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class AveragedPerceptron(tags: Array[String], taggedWordBook: Map[String, String], featuresWeight: Map[String, Map[String, Double]]) extends Serializable with Product

    tags

    Holds all unique tags based on training

    taggedWordBook

    Contains non ambiguous words and their tags

    featuresWeight

    Contains prediction information based on context frequencies

  2. class PerceptronApproach extends AnnotatorApproach[PerceptronModel] with PerceptronTrainingUtils

    Averaged Perceptron model to tag words part-of-speech.

    Averaged Perceptron model to tag words part-of-speech.

    Sets a POS tag to each word within a sentence. Its train data (train_pos) is a spark dataset of POS format values with Annotation columns.

    See https://github.com/JohnSnowLabs/spark-nlp/tree/master/src/test/scala/com/johnsnowlabs/nlp/annotators/pos/perceptron for further reference on how to use this API.

  3. class PerceptronApproachDistributed extends AnnotatorApproach[PerceptronModel] with PerceptronTrainingUtils

    Distributed Averaged Perceptron model to tag words part-of-speech.

    Distributed Averaged Perceptron model to tag words part-of-speech.

    Sets a POS tag to each word within a sentence. Its train data (train_pos) is a spark dataset of POS format values with Annotation columns.

    See https://github.com/JohnSnowLabs/spark-nlp/blob/master/src/test/scala/com/johnsnowlabs/nlp/annotators/pos/perceptron/DistributedPos.scala for further reference on how to use this APIs.

  4. class PerceptronModel extends AnnotatorModel[PerceptronModel] with HasSimpleAnnotate[PerceptronModel] with PerceptronPredictionUtils

    Part of speech tagger that might use different approaches

    Part of speech tagger that might use different approaches

    See https://github.com/JohnSnowLabs/spark-nlp/tree/master/src/test/scala/com/johnsnowlabs/nlp/annotators/pos/perceptron for further reference on how to use this API.

  5. trait PerceptronPredictionUtils extends PerceptronUtils
  6. trait PerceptronTrainingUtils extends PerceptronUtils
  7. trait PerceptronUtils extends AnyRef
  8. trait ReadablePretrainedPerceptron extends ParamsAndFeaturesReadable[PerceptronModel] with HasPretrained[PerceptronModel]
  9. class StringMapStringDoubleAccumulator extends AccumulatorV2[(String, Map[String, Double]), Map[String, Map[String, Double]]]
  10. class TrainingPerceptronLegacy extends Serializable
  11. class TupleKeyLongDoubleMapAccumulator extends AccumulatorV2[((String, String), (Long, Double)), Map[(String, String), (Long, Double)]]

Value Members

  1. object PerceptronApproach extends DefaultParamsReadable[PerceptronApproach] with Serializable
  2. object PerceptronApproachDistributed extends DefaultParamsReadable[PerceptronApproachDistributed] with Serializable
  3. object PerceptronModel extends ReadablePretrainedPerceptron with Serializable

Ungrouped