GithubHelp home page GithubHelp logo

mld's People

Contributors

jorymorrison avatar kadeji avatar matthew-zorumski avatar michaelboehmcke avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mld's Issues

Error in calling function

  • figure out new method of addressing
  • rewrite code to reflect new method
  • update readme to reflect code changes

AWS

Decide on how server will be run wether with AWS or on other cloud service and program.

Web Crawler

Decide on how corpus will be generated and how web crawler will act.

Incorrect slash when saving results (linux)

When saving the results of the program, the program uses a forward slash after attempting to save to the MLD folder resulting in the saving of the file in the home directory as MLD{tittle}.

Tone Analyzer usage is old

It appears that in the two years since this was maintained the Watson API has been updated.

It appears that Watson API only expects a secret key, not a username and password.

JSON output enhancement

Current output of .json file is invalid in format and must be updated to save properly.
Additional elements will be added to the .json:

  • save timestamp within .json
  • save tone within .json
  • save url within .json
  • save publishing date within .json
    In addition the saving of the body text must be corrected to save the entirety of the text.

Tone Analysis

Save tone analysis in json file. currently saved as variable logoutput.

Change Increment Statement

Line 27:
let COUNTER=COUNTER+1

of your crawler results on a dependency for bash because of let. There should be other ways to increment without introducing dependency on bash.

JSON Output handled by Function

It would be great if we could create a function to handle output of the software.

It would be great to define a function that takes all of our values (tone, sentiment, lexical signature, date, title, etc...) and handles formatting for us using json_dumps. We could pretty print to a file.

json Publishing Date

Using goose gather publishing date and store in article section of json output file.
continuation of json output enhancement.

Argument Support with ArgParse (or similiar)

MLD should support the input of an article as an argument.

Example usage:

mld.py https://cnn.com/fadsfdsafadsfdsa

It would also be convenient for it to take as input a list of urls in text format.

Example usage:

mld.py -i myfile.txt

I suggest looking at ArgParse or a similiar library as argument parsing can be difficult and unmaintainable.

Please update the README to reflect any new usages/functionality as part of this work.

Publish PyPi Package

  • [ x] create project
  • refactor code
  • write documentation
  • release pipeline to publish package

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.