Paraphrasing Tool
I just released a Paraphrasing Tool that can help content writers and students with paraphrasing content and essays.
The tool provides different modes for paraphrasing starting from Standard and going up to Creative. Where Standard Mode tries to play as safe as possible and Creative Mode tries to be most adventurous.
For the front end of this project I decided to use NextJS
and for the design of the TailwindCSS
. Quite happy with how the whole thing has turned out so far.
The entire front source code is available on Github.
The front-end of the project is running on Github pages and uses github actions for automatic deployments of the NextJS
website. Which turned out to be little bit of pain to setup.
Just kept running into one issue after another, whether it be outdated documentation or articles that claimed to be able to help but didn’t. Anyhow, following is the github actions workflow file that I ended up with.
# .github/workflows/integrate.yml
name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1
with:
node-version: 12 - run: npm install -g yarn - run: yarn install --frozen-lockfile - run: yarn build
env:
NEXT_PUBLIC_BASE_PATH: /your-github-project-name - run: yarn run export
env:
NEXT_PUBLIC_BASE_PATH: /your-github-project-name - run: touch ./out/.nojekyll - uses: JamesIves/github-pages-deploy-action@3.5.9
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: out # The folder the action should deploy.
The backend of the tool is powered by the FastAPI
server. The project uses Spacy
for figuring out the sentences out of the phrases and uses Transformers
for the paraphrasing of individual sentences. The parameters for the tranformers have been adjusted manually after lot of trial and error.
Please give paraphrasing tool a go and let me know what you think of it.