Package

com.johnsnowlabs.nlp.annotators.pos

perceptron

Permalink

package perceptron

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

    Permalink

    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 PerceptronUtils

    Permalink

    Created by Saif Addin on 5/17/2017.

    Created by Saif Addin on 5/17/2017. Inspired on Averaged Perceptron by Matthew Honnibal https://explosion.ai/blog/part-of-speech-pos-tagger-in-python

  3. class PerceptronApproachLegacy extends AnnotatorApproach[PerceptronModel] with PerceptronUtils

    Permalink

    Created by Saif Addin on 5/17/2017.

    Created by Saif Addin on 5/17/2017. Inspired on Averaged Perceptron by Matthew Honnibal https://explosion.ai/blog/part-of-speech-pos-tagger-in-python

  4. class PerceptronModel extends AnnotatorModel[PerceptronModel] with PerceptronUtils

    Permalink

    Part of speech tagger that might use different approaches

  5. trait PerceptronUtils extends AnyRef

    Permalink
  6. trait PretrainedPerceptronModel extends AnyRef

    Permalink
  7. class SMSAccumulator extends AccumulatorV2[(String, Map[String, Double]), Map[String, Map[String, Double]]]

    Permalink
  8. class StringMapStringDoubleAccumulator extends AccumulatorV2[(String, Map[String, Double]), Map[String, Map[String, Double]]]

    Permalink
  9. class StringTupleDoubleAccumulator extends AccumulatorV2[((String, String), Double), Map[(String, String), Double]]

    Permalink
  10. case class TrainingPerceptron(tags: Array[String], featuresWeight: Map[String, Map[String, Double]]) extends Serializable with Product

    Permalink
  11. class TrainingPerceptronLegacy extends Serializable

    Permalink
  12. class TupleKeyLongMapAccumulator extends AccumulatorV2[((String, String), Long), Map[(String, String), Long]]

    Permalink

Value Members

  1. object PerceptronApproach extends DefaultParamsReadable[PerceptronApproach] with Serializable

    Permalink
  2. object PerceptronApproachLegacy extends DefaultParamsReadable[PerceptronApproach] with Serializable

    Permalink
  3. object PerceptronModel extends ParamsAndFeaturesReadable[PerceptronModel] with PretrainedPerceptronModel with Serializable

    Permalink

Ungrouped