Analysis by synthesis of natural languages