add word-break-ii impl and testcase script