<commit_before>"""
Created on Mar 3, 2015
Rearrange the letters in a four-letter word 
and a five-letter word to get a pair of synonyms. 
For example, given 'time' and 'night,' you would say 'item' and 'thing.'
"""

# imports
from nltk.corpus import wordnet

class main:
    def __init__(self
                ,DEBUG=False):

        self.DEBUG = DEBUG
    
    def synonyms(self
                ,word
                ,DEBUG=False):
        return wn.synsets(word)
    
if __name__ == "__main__":
    m = main(DEBUG=True)
    

# List of words in English
# http://www-personal.umich.edu/~jlawler/wordlist<commit_msg>Cleaned up weird char<commit_after>"""
Created on Mar 3, 2015
Rearrange the letters in a four-letter word 
and a five-letter word to get a pair of synonyms. 
For example, given 'time' and 'night,' you would say 'item' and 'thing.'
"""
# imports
from nltk.corpus import wordnet

class main:
    def __init__(self
                ,DEBUG=False):

        self.DEBUG = DEBUG
    
    def synonyms(self
                ,word
                ,DEBUG=False):
        return wn.synsets(word)
    
if __name__ == "__main__":
    m = main(DEBUG=True)
    

# List of words in English
# http://www-personal.umich.edu/~jlawler/wordlist
{'fraction_non_alphanumeric': 0.10185933710590138, 'fraction_numerical': 0.008084074373484237, 'mean_word_length': 2.3917808219178083, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5887428', 'n_tokens_mistral': 412, 'n_tokens_neox': 389, 'n_words': 130}