created niconicoTextSegmentTest
modified internal api
implemented GetTokensInternal method