项目作者: Daniel-Aguila

项目描述 :
Find the most common words in a text-file and compare them to other text files.
高级语言: Python
项目地址: git://github.com/Daniel-Aguila/Compare-and-Contrast.git
创建时间: 2019-01-27T17:26:23Z
项目社区:https://github.com/Daniel-Aguila/Compare-and-Contrast

开源协议:

下载


Compare-and-Contrast

COSC 1306 Dictionaries

Purpose: To introduce ourselves to dictionaries by been given two text files (books).
The purpose was to compare text files, use them to see what words were the most common and compare them to other text files.
This way we see how unique a text file is from another.

The text files I ussed were downloaded aside.

WHAT I LEARNED:

1) Usage of dictionaries
2) File manipulation

mostCommon.py

Grabs the most common words in a text file.

unique.py

Will compare the uniqueness of each text file, by seeing how many words are unique to each text.