sentence1: word segmentation is the first step of natural language processing for japanese , chinese and thai because they do not delimit words by whitespace .
sentence2: word segmentation is the foremost obligatory task in almost all the nlp applications where the initial phase requires tokenization of input into words .