GithubHelp home page GithubHelp logo

zacharytay1994 / ihatereports Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 3.45 MB

A solution to the 1001 reports you have to google and regurgitate. Or to just mess up your words :D

C++ 93.17% C 6.83%

ihatereports's Introduction

iHateReports

A solution to the 1001 reports you have to google and regurgitate.

What is it about?

A small paraphraser project used to paraphrase paragraphs of text. A tongue twister I know.

How to use?

  1. Clone the project open up the folder iHateReports, in that folder you will see another folder iHateReports, folderception.

  2. Place the text you want to paraphrase in paraphraseinput.txt. Run the code and you will find your paraphrased text in paraphrase.txt.

Limitations

The accuracy of application currently depends largely on the accuracy and amount of data available. Without calling an established dictionary API, data is limited.

Reading of words with different tenses is not yet implemented, hence words with tenses that differ from the base words in the dictionary will not get paraphrased.

Cannot yet recognize degree of Word: e.g. like/love, give/bestow. They are technically synonyms but the degree of emphasis is different.

Unable to determine context, does not recognize word form e.g. verbs, noun, adjectives etc. Hence unable to determine sentence structure and appropriate synonym to use.

An Example Output

https://github.com/zacharytay1994/iHateReports/blob/master/exampleone.PNG

It's very primitive as per the limitations.

References

Dictionary data taken from http://www.gutenberg.org/ebooks/51155. References can be found in 51155-0.txt.

Future implementations?

Intermediate

  1. Implement reading of words with different tenses to reduce the amount of data needed (instead of treating the same word with a different tense as a different word).

  2. More punctuation consideration.

  3. Allow for phrases to be synonyms.

  4. Allow for phrases to be keys, a different method of reading text to accommodate this.

  5. A priority system for synonyms, most used > least used.

  6. Semi-automatic paraphrasing option (with some degree of control)

Advanced

  1. Sentence structure rules/recognition

Disclaimers

This is just a fun little project to practice my basic c++ proficiency. Feel free to clone/fork/reproduce at your leisure, preferably fork and contribute here!;D

ihatereports's People

Contributors

zacharytay1994 avatar

Stargazers

 avatar Brian Chew avatar

Watchers

James Cloos avatar

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.