trim sentence before sending to parsing service