Provide documentation and test cases for transWord.