Rewrite bigram_segmenter.cc/.h