Packages

t

com.johnsnowlabs.nlp

HasInputAnnotationCols

trait HasInputAnnotationCols extends Params

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Known Subclasses
OpenAICompletion, OpenAIEmbeddings, AnnotatorApproach, AnnotatorModel, Doc2Chunk, HasMultipleInputAnnotationCols, RawAnnotator, TableAssembler, TokenAssembler, Chunk2Doc, ChunkTokenizer, ChunkTokenizerModel, Chunker, Date2Chunk, DateMatcher, DocumentCharacterTextSplitter, DocumentNormalizer, DocumentTokenSplitter, GraphExtraction, Lemmatizer, LemmatizerModel, MultiDateMatcher, NGramGenerator, Normalizer, NormalizerModel, RecursiveTokenizer, RecursiveTokenizerModel, RegexMatcher, RegexMatcherModel, RegexTokenizer, Stemmer, StopWordsCleaner, TextMatcher, TextMatcherModel, Token2Chunk, Tokenizer, TokenizerModel, HubertForCTC, Wav2Vec2ForCTC, WhisperForCTC, BigTextMatcher, BigTextMatcherModel, AlbertForQuestionAnswering, AlbertForSequenceClassification, AlbertForTokenClassification, AlbertForZeroShotClassification, BartForZeroShotClassification, BertForMultipleChoice, BertForQuestionAnswering, BertForSequenceClassification, BertForTokenClassification, BertForZeroShotClassification, CamemBertForQuestionAnswering, CamemBertForSequenceClassification, CamemBertForTokenClassification, CamemBertForZeroShotClassification, ClassifierDLApproach, ClassifierDLModel, DeBertaForQuestionAnswering, DeBertaForSequenceClassification, DeBertaForTokenClassification, DeBertaForZeroShotClassification, DistilBertForQuestionAnswering, DistilBertForSequenceClassification, DistilBertForTokenClassification, DistilBertForZeroShotClassification, LongformerForQuestionAnswering, LongformerForSequenceClassification, LongformerForTokenClassification, MPNetForQuestionAnswering, MPNetForSequenceClassification, MPNetForTokenClassification, MultiClassifierDLApproach, MultiClassifierDLModel, RoBertaForQuestionAnswering, RoBertaForSequenceClassification, RoBertaForTokenClassification, RoBertaForZeroShotClassification, SentimentDLApproach, SentimentDLModel, TapasForQuestionAnswering, XlmRoBertaForQuestionAnswering, XlmRoBertaForSequenceClassification, XlmRoBertaForTokenClassification, XlmRoBertaForZeroShotClassification, XlnetForSequenceClassification, XlnetForTokenClassification, SpanBertCorefModel, CLIPForZeroShotClassification, ConvNextForImageClassification, SwinForImageClassification, ViTForImageClassification, VisionEncoderDecoderForImageCaptioning, EntityRulerApproach, EntityRulerModel, YakeKeywordExtraction, LanguageDetectorDL, NerConverter, NerOverwriter, NerCrfApproach, NerCrfModel, NerDLApproach, NerDLModel, ZeroShotNerModel, DependencyParserApproach, DependencyParserModel, TypedDependencyParserApproach, TypedDependencyParserModel, PerceptronApproach, PerceptronApproachDistributed, PerceptronModel, SentenceDetector, SentimentDetector, SentimentDetectorModel, ViveknSentimentApproach, ViveknSentimentModel, SentenceDetectorDLApproach, SentenceDetectorDLModel, AutoGGUFModel, BartTransformer, CPMTransformer, GPT2Transformer, LLAMA2Transformer, LLAMA3Transformer, M2M100Transformer, MarianTransformer, MistralTransformer, NLLBTransformer, Phi2Transformer, Phi3Transformer, QwenTransformer, StarCoderTransformer, T5Transformer, DocumentSimilarityRankerApproach, DocumentSimilarityRankerModel, ContextSpellCheckerApproach, ContextSpellCheckerModel, NorvigSweetingApproach, NorvigSweetingModel, SymmetricDeleteApproach, SymmetricDeleteModel, WordSegmenterApproach, WordSegmenterModel, AlbertEmbeddings, BGEEmbeddings, BertEmbeddings, BertSentenceEmbeddings, CamemBertEmbeddings, ChunkEmbeddings, DeBertaEmbeddings, DistilBertEmbeddings, Doc2VecApproach, Doc2VecModel, E5Embeddings, ElmoEmbeddings, InstructorEmbeddings, LongformerEmbeddings, MPNetEmbeddings, MxbaiEmbeddings, NomicEmbeddings, RoBertaEmbeddings, RoBertaSentenceEmbeddings, SentenceEmbeddings, SnowFlakeEmbeddings, UAEEmbeddings, UniversalSentenceEncoder, Word2VecApproach, Word2VecModel, WordEmbeddings, WordEmbeddingsModel, XlmRoBertaEmbeddings, XlmRoBertaSentenceEmbeddings, XlnetEmbeddings
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HasInputAnnotationCols
  2. Params
  3. Serializable
  4. Serializable
  5. Identifiable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def copy(extra: ParamMap): Params
    Definition Classes
    Params
  2. abstract val inputAnnotatorTypes: Array[String]

    Annotator reference id.

    Annotator reference id. Used to identify elements in metadata or to refer to this annotator type

  3. abstract val uid: String
    Definition Classes
    Identifiable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def checkSchema(schema: StructType, inputAnnotatorType: String): Boolean
    Attributes
    protected
  7. final def clear(param: Param[_]): HasInputAnnotationCols.this.type
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  10. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  14. def explainParams(): String
    Definition Classes
    Params
  15. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  16. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  21. def getInputCols: Array[String]

    returns

    input annotations columns currently used

  22. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  23. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  24. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  25. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. final val inputCols: StringArrayParam

    columns that contain annotations necessary to run this annotator AnnotatorType is used both as input and output columns if not specified

    columns that contain annotations necessary to run this annotator AnnotatorType is used both as input and output columns if not specified

    Attributes
    protected
  28. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  31. def msgHelper(schema: StructType): String
    Attributes
    protected
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. val optionalInputAnnotatorTypes: Array[String]
  36. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  37. final def set(paramPair: ParamPair[_]): HasInputAnnotationCols.this.type
    Attributes
    protected
    Definition Classes
    Params
  38. final def set(param: String, value: Any): HasInputAnnotationCols.this.type
    Attributes
    protected
    Definition Classes
    Params
  39. final def set[T](param: Param[T], value: T): HasInputAnnotationCols.this.type
    Definition Classes
    Params
  40. final def setDefault(paramPairs: ParamPair[_]*): HasInputAnnotationCols.this.type
    Attributes
    protected
    Definition Classes
    Params
  41. final def setDefault[T](param: Param[T], value: T): HasInputAnnotationCols.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  42. final def setInputCols(value: String*): HasInputAnnotationCols.this.type
  43. def setInputCols(value: Array[String]): HasInputAnnotationCols.this.type

    Overrides required annotators column if different than default

  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped