-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command Line Interface Update #91
base: master
Are you sure you want to change the base?
Conversation
Please ensure your branch is up to date with the master branch. |
Codecov Report
@@ Coverage Diff @@
## master #91 +/- ##
=======================================
Coverage 92.09% 92.09%
=======================================
Files 6 6
Lines 253 253
=======================================
Hits 233 233
Misses 20 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An overall comment, can you give us an example of what the JSON files would look like for the summary and frequencies? Thank you!
if record: | ||
# Write the summary into a json file. | ||
data = sz.summarizer(directory) | ||
file = open(path + "/" + record + ".json", "w") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
us os.path.sep
instead of /
A command-line interface feature has been added. This allows user to run the summary and word frequency function on the terminal and save the results on a .json file. The user can choose whether they want to save the results or have them printed on the terminal, the files will be kept in a separate folder.
What is the current behavior?
#34
What is the new behavior if this PR is merged?
Users should be able to run textmining.py, where the CLI is contained.
Type of change
Please describe the pull request as one of the following:
Other information
This PR has:
Developers
@nguyenmail and @cookaa