Machine learning methods for solving computational linguistics design problems