def isInitialPostPosition = if()

in src/main/scala/com/twitter/penguin/korean/tokenizer/ParsedChunk.scala [60:72]


  def isInitialPostPosition = if (suffixes.contains(this.posNodes.head.pos)) 1 else 0

  def isExactMatch = if (this.posNodes.size == 1) 0 else 1

  def hasSpaceOutOfGuide = if (profile.spaceGuide.isEmpty) {
    0
  } else {
    this.posNodes
        .filter{p: KoreanToken => !suffixes.contains(p.pos)}
        .count {
          p: KoreanToken => !profile.spaceGuide.contains(p.offset)
        }
  }