<commit_before>#!/usr/bin/python
'''
NPR 2017-02-12
'''
import sys
sys.path.append('..')
from npr_common_tools import get_category_members

objects = get_category_members('object')
for word in objects:
    plural = word + 's'
    if len(plural) >= 6:
        new_word = plural[:4] + plural[5] + plural[4] + plural[6:]
        new_word = new_word[::-1]
        for i in range(1,len(new_word)-1):
            if new_word[:i] in objects and new_word[i:] in objects:
                print plural, new_word[:i], new_word[i:]
<commit_msg>Update 0212_kitchen_objects.py<commit_after>#!/usr/bin/python
'''
NPR 2017-02-12
'''
import sys
sys.path.append('..')
from nprcommontools import get_category_members

objects = get_category_members('object')
for word in objects:
    plural = word + 's'
    if len(plural) >= 6:
        new_word = plural[:4] + plural[5] + plural[4] + plural[6:]
        new_word = new_word[::-1]
        for i in range(1,len(new_word)-1):
            if new_word[:i] in objects and new_word[i:] in objects:
                print plural, new_word[:i], new_word[i:]

{'fraction_non_alphanumeric': 0.15106580166821132, 'fraction_numerical': 0.033364226135310475, 'mean_word_length': 3.16988416988417, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2823624', 'n_tokens_mistral': 407, 'n_tokens_neox': 382, 'n_words': 91}