added get hyphenation api call code and tests