case classDocument(rawInput: String, firstNonAdjacent: Array[Int], lang: LanguageInfo) extends Product with Serializable
firstNonAdjacent
for a given index 'i' it keeps a first index 'j' greater or equal 'i'
-- such that isAdjacentSeparator (indexable ! j) == False
-- eg. " a document " :: Document
-- firstNonAdjacent = [1,1,3,3,4,5,6,7,8,9,10,12]
-- Note that in this case 12 is the length of the vector, hence not a
-- valid index inside the array, this is intentional.
for a given index 'i' it keeps a first index 'j' greater or equal 'i' -- such that isAdjacentSeparator (indexable ! j) == False -- eg. " a document " :: Document -- firstNonAdjacent = [1,1,3,3,4,5,6,7,8,9,10,12] -- Note that in this case 12 is the length of the vector, hence not a -- valid index inside the array, this is intentional.