object
ColumnsToDocument
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
val
TAG_POS_CONLLU: Int
-
val
TAG_POS_CONLLX: Int
-
val
WORD_POS_CONLLU: Int
-
val
WORD_POS_CONLLX: Int
-
def
annotateLemmas(doc: Document): Unit
-
def
annotateLemmmaTags(doc: Document): Unit
-
def
annotateNil(doc: Document): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
val
logger: Logger
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
var
prevLang: String
-
-
def
readFromFile(fn: String, wordPos: Int = WORD_POS_CONLLX, labelPos: Int = TAG_POS_CONLLX, setLabels: (Sentence, Array[String]) ⇒ Unit, annotate: (Document) ⇒ Unit, filterOutContractions: Boolean = false, lang: String = "en"): Document
-
def
readFromSource(source: Source, wordPos: Int, labelPos: Int, setLabels: (Sentence, Array[String]) ⇒ Unit, annotate: (Document) ⇒ Unit, filterOutContractions: Boolean): Document
-
def
readFromStream(stream: InputStream, wordPos: Int = WORD_POS_CONLLX, labelPos: Int = TAG_POS_CONLLX, setLabels: (Sentence, Array[String]) ⇒ Unit, annotate: (Document) ⇒ Unit, filterOutContractions: Boolean = false, lang: String = "en"): Document
-
def
setChunks(s: Sentence, chunks: Array[String]): Unit
-
def
setEntities(s: Sentence, entities: Array[String]): Unit
-
def
setTags(s: Sentence, tags: Array[String]): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Converts the CoNLLX column-based format to our Document by reading only words and POS tags Created by mihais on 6/8/17. Last Modified: Fix compiler issue: import scala.io.Source.