Title: Pattern matching machines for Japanese texts