Metadata-Version: 2.1
Name: simple_frequency_counter
Version: 0.0.2
Summary: Calculate word occurences in txt files inside a given folder.
Home-page: https://github.com/PanosGriziotis/Simple-Word-Frequency-Counter
Author: Panos Griziotis
Author-email: griziotisp@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENCE

# SIMPLE FREQUENCY COUNTER
Calculate word occurences in txt files inside a given folder.  

## Usage
```python
from  simple_frequency_counter.counter  import  FrequenciesGenerator

fg = FrequenciesGenerator('my_test_folder')

# print occurences of the word 'example' in 'text1.txt'  
fg.get_frequency('example', 'text1.txt')

# print occurences of the word 'example' in all files 
fg.get_frequency('example')

# print similarity between two file depending on word overlap
fg.calculate_similarity('text2.txt','text1.txt' )
```
