pymmseg hack,based on 1.3.0