Moved textToWords