/active_or_passive

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

Primary LanguagePython

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