class LogxKbLoader extends KbLoader with LazyLogging
KbLoader for LogX.
- Alphabetic
- By Inheritance
- LogxKbLoader
- KbLoader
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new LogxKbLoader(config: Config = ConfigFactory.load("reference"))
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val config: Config
-
def
deserializeNer(modelPath: String): LexiconNER
Deserializes a LexiconNER from a given resource path
Deserializes a LexiconNER from a given resource path
- modelPath
Resource path to import from
- Definition Classes
- KbLoader
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kbs: Seq[String]
-
def
loadAll(fromModel: Boolean = false, serNerLoc: Option[String] = None): LexiconNER
Returns a LexiconNER, either from a previously computed serialized model, or from the dictionaries themselves, if necessary.
Returns a LexiconNER, either from a previously computed serialized model, or from the dictionaries themselves, if necessary.
- fromModel
True if loading from a serialized model
- serNerLoc
The resource path of the serialized model
- Definition Classes
- KbLoader
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nerFromKbs(): LexiconNER
Create a default LexiconNER
Create a default LexiconNER
- Definition Classes
- LogxKbLoader → KbLoader
-
val
nerModel: Option[String]
If a serialized NER model already exists, it will be at this location
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val overrides: Option[Seq[String]]
-
lazy val
resourceDir: String
The file location of the resources directory
The file location of the resources directory
- Definition Classes
- KbLoader
-
def
serializeNer(ner: LexiconNER, modelPath: String): Unit
Serializes a LexiconNER to a given resource path
Serializes a LexiconNER to a given resource path
- ner
The NER to serialize
- modelPath
Resource path to export to
- Definition Classes
- KbLoader
-
val
stopListFile: Option[String]
- Definition Classes
- LogxKbLoader → KbLoader
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.