Code Monkey home page Code Monkey logo

paraphrasing's Introduction

Paraphrasing

The tool uses the Quillbot website to paraphrase a formatted text file.

The text file must contain a sentence on each line.

Then the paraphrasing tool will read line by line and it will get multiple alternatives of the original line.

Finally it will produce a word document file containing the original text followed by the alternatives.

The word document will be saved in the Drafts directory and it will have the same name of the formatted text file.

The "Drafts" directory needs to be created as a child directory.

In the File Samples folder, there are some files to refer to.

paraphrasing's People

Contributors

anu-bhav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

paraphrasing's Issues

Index Error

After adding the directory path I am facing this issue can you guide me on this.

IndexError Traceback (most recent call last)
C:\Users\USE~1\AppData\Local\Temp/ipykernel_12012/1020083594.py in
149
150 if name == "main":
--> 151 main()

C:\Users\USE~1\AppData\Local\Temp/ipykernel_12012/1020083594.py in main()
145 print("Quillbot Paraphrasing Tool")
146 filepath = input("Enter the path of the formatted text file: ")
--> 147 openfile(filepath)
148
149

C:\Users\USE~1\AppData\Local\Temp/ipykernel_12012/1020083594.py in openfile(filepath)
64 filepath = filepath.rstrip()
65 filesave = os.path.split(filepath)[-1]
---> 66 filesave = "Drafts/" + ([filename.strip() for filename in filesave.split('.')][-2] + " - draft")
67
68 cur_path = os.path.dirname(file)

IndexError: list index out of range

session_id error

req = session.get(url,cookies=cookies)
print(req)

retruning 403 error

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.