wordent_utils module¶
-
wordent_utils.
penn_to_wn
(tag)[source]¶ Convert PENN to WordNet Format
Parameters: tag (str) – PENN Tag Returns: Wordent Representation Return type: str
-
wordent_utils.
word_to_hyperTouple
(word)[source]¶ Given an arbitrary word, return a touple of a word and the closest ancestor hypernym in the hierarchy
Parameters: word (str) – an arbitrary word Returns: Wordent Representation Return type: str