import os
import requests
import json
from pprint import pprint

with open("windows-1251.json", "r") as file:
     load_info = json.load(file)

#print(load_info)
memory = load_info['TextBody']

print(memory)

memory = memory.lower()
memory = memory.replace(',', '')
memory = memory.replace('.', '')
memory = memory.replace('/', '')
memory = memory.replace('!', '')
memory = memory.split()

my_dict = {}
for i in memory:
    if len(i) > 2:
        my_dict[i] = memory.count(i)

my_dict = sorted(my_dict.items(), key = lambda x: x[1], reverse= True)

for i, o in my_dict:
    if o > 1:
        print('%s - %s' % (i, o))


directory = os.getcwd()
print(directory)
os.chdir('../')
print(os.getcwd())
4451fdaac9d2c879519921f353d24e29a02c9585
<mask token>

<mask token>
with open('windows-1251.json', 'r') as file:
    load_info = json.load(file)
<mask token>
print(memory)
<mask token>
for i in memory:
    if len(i) > 2:
        my_dict[i] = memory.count(i)
<mask token>
for i, o in my_dict:
    if o > 1:
        print('%s - %s' % (i, o))
<mask token>
print(directory)
os.chdir('../')
print(os.getcwd())

<mask token>
with open('windows-1251.json', 'r') as file:
    load_info = json.load(file)
memory = load_info['TextBody']
print(memory)
memory = memory.lower()
memory = memory.replace(',', '')
memory = memory.replace('.', '')
memory = memory.replace('/', '')
memory = memory.replace('!', '')
memory = memory.split()
my_dict = {}
for i in memory:
    if len(i) > 2:
        my_dict[i] = memory.count(i)
my_dict = sorted(my_dict.items(), key=lambda x: x[1], reverse=True)
for i, o in my_dict:
    if o > 1:
        print('%s - %s' % (i, o))
directory = os.getcwd()
print(directory)
os.chdir('../')
print(os.getcwd())

import os
import requests
import json
from pprint import pprint
with open('windows-1251.json', 'r') as file:
    load_info = json.load(file)
memory = load_info['TextBody']
print(memory)
memory = memory.lower()
memory = memory.replace(',', '')
memory = memory.replace('.', '')
memory = memory.replace('/', '')
memory = memory.replace('!', '')
memory = memory.split()
my_dict = {}
for i in memory:
    if len(i) > 2:
        my_dict[i] = memory.count(i)
my_dict = sorted(my_dict.items(), key=lambda x: x[1], reverse=True)
for i, o in my_dict:
    if o > 1:
        print('%s - %s' % (i, o))
directory = os.getcwd()
print(directory)
os.chdir('../')
print(os.getcwd())

import os
import requests
import json
from pprint import pprint

with open("windows-1251.json", "r") as file:
     load_info = json.load(file)

#print(load_info)
memory = load_info['TextBody']

print(memory)

memory = memory.lower()
memory = memory.replace(',', '')
memory = memory.replace('.', '')
memory = memory.replace('/', '')
memory = memory.replace('!', '')
memory = memory.split()

my_dict = {}
for i in memory:
    if len(i) > 2:
        my_dict[i] = memory.count(i)

my_dict = sorted(my_dict.items(), key = lambda x: x[1], reverse= True)

for i, o in my_dict:
    if o > 1:
        print('%s - %s' % (i, o))


directory = os.getcwd()
print(directory)
os.chdir('../')
print(os.getcwd())