Packages

t

com.johnsnowlabs.nlp

HasInputAnnotationCols

trait HasInputAnnotationCols extends Params

Linear Supertypes
Params, 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, AlbertForMultipleChoice, AlbertForQuestionAnswering, AlbertForSequenceClassification, AlbertForTokenClassification, AlbertForZeroShotClassification, BartForZeroShotClassification, BertForMultipleChoice, BertForQuestionAnswering, BertForSequenceClassification, BertForTokenClassification, BertForZeroShotClassification, CamemBertForQuestionAnswering, CamemBertForSequenceClassification, CamemBertForTokenClassification, CamemBertForZeroShotClassification, ClassifierDLApproach, ClassifierDLModel, DeBertaForQuestionAnswering, DeBertaForSequenceClassification, DeBertaForTokenClassification, DeBertaForZeroShotClassification, DistilBertForMultipleChoice, DistilBertForQuestionAnswering, DistilBertForSequenceClassification, DistilBertForTokenClassification, DistilBertForZeroShotClassification, LongformerForQuestionAnswering, LongformerForSequenceClassification, LongformerForTokenClassification, MPNetForQuestionAnswering, MPNetForSequenceClassification, MPNetForTokenClassification, MultiClassifierDLApproach, MultiClassifierDLModel, RoBertaForMultipleChoice, RoBertaForQuestionAnswering, RoBertaForSequenceClassification, RoBertaForTokenClassification, RoBertaForZeroShotClassification, SentimentDLApproach, SentimentDLModel, TapasForQuestionAnswering, XlmRoBertaForMultipleChoice, XlmRoBertaForQuestionAnswering, XlmRoBertaForSequenceClassification, XlmRoBertaForTokenClassification, XlmRoBertaForZeroShotClassification, XlnetForSequenceClassification, XlnetForTokenClassification, Cleaner, Extractor, SpanBertCorefModel, BLIPForQuestionAnswering, CLIPForZeroShotClassification, ConvNextForImageClassification, Florence2Transformer, Gemma3ForMultiModal, InternVLForMultiModal, JanusForMultiModal, LLAVAForMultiModal, MLLamaForMultimodal, PaliGemmaForMultiModal, Phi3Vision, Qwen2VLTransformer, SmolVLMTransformer, SwinForImageClassification, ViTForImageClassification, VisionEncoderDecoderForImageCaptioning, EntityRulerApproach, EntityRulerModel, YakeKeywordExtraction, LanguageDetectorDL, NerConverter, NerOverwriter, NerCrfApproach, NerCrfModel, NerDLApproach, NerDLGraphChecker, NerDLGraphCheckerModel, NerDLModel, ZeroShotNerModel, DependencyParserApproach, DependencyParserModel, TypedDependencyParserApproach, TypedDependencyParserModel, PerceptronApproach, PerceptronApproachDistributed, PerceptronModel, SentenceDetector, SentimentDetector, SentimentDetectorModel, ViveknSentimentApproach, ViveknSentimentModel, SentenceDetectorDLApproach, SentenceDetectorDLModel, AutoGGUFModel, AutoGGUFReranker, AutoGGUFVisionModel, BartTransformer, CPMTransformer, CoHereTransformer, GPT2Transformer, LLAMA2Transformer, LLAMA3Transformer, M2M100Transformer, MarianTransformer, MistralTransformer, NLLBTransformer, OLMoTransformer, Phi2Transformer, Phi3Transformer, Phi4Transformer, QwenTransformer, StarCoderTransformer, T5Transformer, DocumentSimilarityRankerApproach, DocumentSimilarityRankerModel, ContextSpellCheckerApproach, ContextSpellCheckerModel, NorvigSweetingApproach, NorvigSweetingModel, SymmetricDeleteApproach, SymmetricDeleteModel, WordSegmenterApproach, WordSegmenterModel, AlbertEmbeddings, AutoGGUFEmbeddings, BGEEmbeddings, BertEmbeddings, BertSentenceEmbeddings, CamemBertEmbeddings, ChunkEmbeddings, DeBertaEmbeddings, DistilBertEmbeddings, Doc2VecApproach, Doc2VecModel, E5Embeddings, E5VEmbeddings, ElmoEmbeddings, InstructorEmbeddings, LongformerEmbeddings, MPNetEmbeddings, MiniLMEmbeddings, MxbaiEmbeddings, NomicEmbeddings, RoBertaEmbeddings, RoBertaSentenceEmbeddings, SentenceEmbeddings, SnowFlakeEmbeddings, UAEEmbeddings, UniversalSentenceEncoder, Word2VecApproach, Word2VecModel, WordEmbeddings, WordEmbeddingsModel, XlmRoBertaEmbeddings, XlmRoBertaSentenceEmbeddings, XlnetEmbeddings, PartitionTransformer
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HasInputAnnotationCols
  2. Params
  3. Serializable
  4. Identifiable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @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: AnyRef): 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. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  20. def getInputCols: Array[String]

    returns

    input annotations columns currently used

  21. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  22. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  23. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  24. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  26. 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
  27. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  30. def msgHelper(schema: StructType): String
    Attributes
    protected
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  34. val optionalInputAnnotatorTypes: Array[String]
  35. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  36. final def set(paramPair: ParamPair[_]): HasInputAnnotationCols.this.type
    Attributes
    protected
    Definition Classes
    Params
  37. final def set(param: String, value: Any): HasInputAnnotationCols.this.type
    Attributes
    protected
    Definition Classes
    Params
  38. final def set[T](param: Param[T], value: T): HasInputAnnotationCols.this.type
    Definition Classes
    Params
  39. final def setDefault(paramPairs: ParamPair[_]*): HasInputAnnotationCols.this.type
    Attributes
    protected
    Definition Classes
    Params
  40. final def setDefault[T](param: Param[T], value: T): HasInputAnnotationCols.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  41. final def setInputCols(value: String*): HasInputAnnotationCols.this.type
  42. def setInputCols(value: Array[String]): HasInputAnnotationCols.this.type

    Overrides required annotators column if different than default

  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Params

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped