[py-text] fix regex classifier
[py] fix main