trait KbGenerator extends LazyLogging
Parent class for classes that produce taxonomically defined dictionaries from knowledge bases.
- Alphabetic
- By Inheritance
- KbGenerator
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete 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()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        convertKB(entry: KbEntry, inputDir: String, nameField: Int): Seq[String]
      
      
      Returns tokenized dictionary terms from a tab-separated knowledge base. Returns tokenized dictionary terms from a tab-separated knowledge base. - entry
- The KB to read from and what taxonomic label it corresponds to 
- inputDir
- The location of the KB 
 
- 
      
      
      
        
      
    
      
        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
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        loadConfig(configFile: String, nameField: Int, labelField: Int): Seq[KbEntry]
      
      
      Returns KbEntrys to be loaded from a tab-separated configuration file Returns KbEntrys to be loaded from a tab-separated configuration file - configFile
- The location of the configuration file 
- nameField
- The index of KB name in configFile 
- labelField
- The index of the taxonomic label in configFile 
 
- 
      
      
      
        
      
    
      
        
        lazy val
      
      
        logger: Logger
      
      
      - Attributes
- protected
- Definition Classes
- LazyLogging
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        mkInputFile(entry: KbEntry, inputDir: String): File
      
      
      Returns a file location for the input to a KB -> dictionary conversion Returns a file location for the input to a KB -> dictionary conversion - entry
- The KbEntry being converted 
- inputDir
- The location of the input kb 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        mkOutputFile(entry: KbEntry, outputDir: String): File
      
      
      Returns a file location for the output of a KB -> dictionary conversion Returns a file location for the output of a KB -> dictionary conversion - entry
- The KbEntry being converted 
- outputDir
- The location for the output dictionaries 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        now: String
      
      
      Returns a String representation of the current date and time when the function is called. 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        tokenizeResourceLine(line: String): Array[String]
      
      
      Tokenizes a resource line. Tokenizes a resource line. It is important to guarantee that KB text is processed similarly to raw text! - line
- The KB line 
- returns
- The tokenized line 
 
- 
      
      
      
        
      
    
      
        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( ... )
 
-  def writeEntries(entries: Seq[KbEntry], nameField: Int, inDir: String, outDir: String): Unit
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.