An automatic tool for language evaluation