case class TaggedSentence(taggedWords: Array[TaggedWord], indexedTaggedWords: Array[IndexedTaggedWord] = Array()) extends Product with Serializable
Structure to hold Sentences as list of words and POS-tags
- taggedWords
Word tag pairs
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TaggedSentence
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TaggedSentence(indexedTaggedWords: Array[IndexedTaggedWord])
-
new
TaggedSentence(taggedWords: Array[TaggedWord], indexedTaggedWords: Array[IndexedTaggedWord] = Array())
- taggedWords
Word tag pairs
Value Members
- val indexedTaggedWords: Array[IndexedTaggedWord]
- def mapWords: Map[String, String]
- val taggedWords: Array[TaggedWord]
-
val
tags: Array[String]
Recurrently needed to access all tags
-
def
tupleWords: Array[(String, String)]
ready function to return pairwise tagged words
-
val
words: Array[String]
Recurrently needed to access all words