o
        com.johnsnowlabs.legal.token_classification.ner
LegalBertForTokenClassification 
            Companion class LegalBertForTokenClassification
          
      object LegalBertForTokenClassification extends ReadablePretrainedLegalBertForTokenModel with ReadLegalBertForTokenTensorflowModel with Serializable
This is the companion object of LegalBertForTokenClassification. Please refer to that class for the documentation.
          
            Linear Supertypes
          
          
        
          
          
            
          
          
        
        
            Ordering
            
          - Alphabetic
 - By Inheritance
 
                  Inherited
                  
                  
- LegalBertForTokenClassification
 - Serializable
 - Serializable
 - ReadLegalBertForTokenTensorflowModel
 - ReadTensorflowModel
 - ReadablePretrainedLegalBertForTokenModel
 - HasPretrained
 - ParamsAndFeaturesReadable
 - DefaultParamsReadable
 - MLReadable
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
              Visibility
              
        - Public
 - All
 
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        addReader(reader: (LegalBertForTokenClassification, String, SparkSession) ⇒ Unit): Unit
      
      
      
- Definition Classes
 - ParamsAndFeaturesReadable
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native()
 
 - 
      
      
      
        
      
    
      
        
        val
      
      
        defaultLang: String
      
      
      
- Definition Classes
 - HasPretrained
 
 - 
      
      
      
        
      
    
      
        
        lazy val
      
      
        defaultLoc: String
      
      
      
- Definition Classes
 - ReadablePretrainedLegalBertForTokenModel → HasPretrained
 
 - 
      
      
      
        
      
    
      
        
        val
      
      
        defaultModelName: Some[String]
      
      
      
- Definition Classes
 - ReadablePretrainedLegalBertForTokenModel → HasPretrained
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        load(path: String): LegalBertForTokenClassification
      
      
      
- Definition Classes
 - MLReadable
 - Annotations
 - @Since( "1.6.0" )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        loadSavedModel(modelPath: String, spark: SparkSession): LegalBertForTokenClassification
      
      
      
- Definition Classes
 - ReadLegalBertForTokenTensorflowModel
 
 -  def loadSavedModelOpenSource(bertForTokenClassifierPath: String, tfModelPath: String, spark: SparkSession): LegalBertForTokenClassification
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        onRead(instance: LegalBertForTokenClassification, path: String, session: SparkSession): Unit
      
      
      
- Attributes
 - protected
 - Definition Classes
 - ParamsAndFeaturesReadable
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        pretrained(name: String, lang: String, remoteLoc: String): LegalBertForTokenClassification
      
      
      
Java compliant-overrides
Java compliant-overrides
- Definition Classes
 - ReadablePretrainedLegalBertForTokenModel → HasPretrained
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        pretrained(name: String, lang: String): LegalBertForTokenClassification
      
      
      
- Definition Classes
 - ReadablePretrainedLegalBertForTokenModel → HasPretrained
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        pretrained(name: String): LegalBertForTokenClassification
      
      
      
- Definition Classes
 - ReadablePretrainedLegalBertForTokenModel → HasPretrained
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        pretrained(): LegalBertForTokenClassification
      
      
      
- Definition Classes
 - ReadablePretrainedLegalBertForTokenModel → HasPretrained
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        read: MLReader[LegalBertForTokenClassification]
      
      
      
- Definition Classes
 - ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        readTensorflow(instance: LegalBertForTokenClassification, path: String, spark: SparkSession): Unit
      
      
      
- Definition Classes
 - ReadLegalBertForTokenTensorflowModel
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean, tags: Array[String], initAllTables: Boolean): TensorflowWrapper
      
      
      
- Definition Classes
 - ReadTensorflowModel
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean, useBundle: Boolean, tags: Array[String]): TensorflowWrapper
      
      
      
- Definition Classes
 - ReadTensorflowModel
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        readTensorflowModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean, useBundle: Boolean, tags: Array[String], initAllTables: Boolean, savedSignatures: Option[Map[String, String]]): TensorflowWrapper
      
      
      
- Definition Classes
 - ReadTensorflowModel
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        readTensorflowWithSPModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean, useBundle: Boolean, tags: Array[String], initAllTables: Boolean, loadSP: Boolean): TensorflowWrapper
      
      
      
- Definition Classes
 - ReadTensorflowModel
 
 - 
      
      
      
        
      
    
      
        
        val
      
      
        readers: ArrayBuffer[(LegalBertForTokenClassification, String, SparkSession) ⇒ Unit]
      
      
      
- Attributes
 - protected
 - Definition Classes
 - ParamsAndFeaturesReadable
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        val
      
      
        tfFile: String
      
      
      
- Definition Classes
 - ReadLegalBertForTokenTensorflowModel → ReadTensorflowModel
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native()