Some C/C++ compilers generate bad code for switch-statement. In this case, generation of table-driven keyword recognition based on minimal pruned O-trie would be useful.