File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
main/scala/com/johnsnowlabs/nlp
test/scala/com/johnsnowlabs/nlp/annotators/er Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ import scala.collection.mutable.ArrayBuffer
3030class FeaturesReader [T <: HasFeatures ](
3131 baseReader : MLReader [T ],
3232 onRead : (T , String , SparkSession ) => Unit )
33- extends MLReader [T ]
34- with Logging {
33+ extends MLReader [T ] {
3534
3635 override def load (path : String ): T = {
3736
Original file line number Diff line number Diff line change @@ -851,7 +851,7 @@ class EntityRulerTest extends AnyFlatSpec with SparkSessionTest {
851851 }
852852
853853 it should " serialize EntityRulerModel" taggedAs SlowTest in {
854- // Should br run with Java 8 and Scala 2.12
854+ // Should be run with Java 8 and Scala 2.12
855855 val entityRuler = new EntityRulerApproach ()
856856 .setInputCols(" document" , " token" )
857857 .setOutputCol(" entities" )
@@ -861,7 +861,7 @@ class EntityRulerTest extends AnyFlatSpec with SparkSessionTest {
861861 entityRulerModel.write.overwrite().save(" ./tmp_entity_ruler_model_java8_scala2_12" )
862862 }
863863
864- it should " deserialize EntityRulerModel" in {
864+ it should " deserialize EntityRulerModel" taggedAs SlowTest in {
865865 val textDataSet = Seq (text1).toDS.toDF(" text" )
866866 val loadedEntityRulerModel = EntityRulerModel .load(" ./tmp_entity_ruler_model_java8_scala2_12" )
867867
You can’t perform that action at this time.
0 commit comments