Skip to content
Find out if a sentence is in Active voice or Passive voice.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
demo.gif
spacy_voices.py
voice.py

README.md

active_or_passive

spaCy

Find out if a sentence is in Active voice or Passive voice.

Requirements

  • Python 3.6+ (Uses f-strings)
  • Libraries
    1. Minimal
      • Spacy
    2. Full
      • Spacy
      • Flask

Steps -

  • Run the flask server
    • python3 voice.py
  • Open localhost:5000/voice in your browser.
  • Input a sentence in text box and press submit button
  • Get the result.

Demo

Active/Passive Demo

You can’t perform that action at this time.