Code Monkey home page Code Monkey logo

python-sirajnet's Introduction

SirajNet

Using deep complicated NLP to turn your text into my text by arbitrarily swapping words for their synonyms. /s

Usage

usage: main.py [-h] [--text TEXT] [--chance CHANCE] [--file FILE]

optional arguments:
  -h, --help       show this help message and exit
  --text TEXT      your original text
  --chance CHANCE  one in N swap chance
  --file FILE      path to text file containing text

Examples

Entering text in the command line

$ python3 main.py --chance 1 --text "Hello world, it's siraj!"
howdy world, it's siraj!

Providing a text file

$ echo -en "hello world it's siraj and this week i'm\ngoing to show you how Gaussian gates and complex Hilbert\nspaces work. stay cool wizards" > file.txt
$ python3 main.py --chance 1 --file file.txt
how-do-you-do world it's siraj and this week Im
go to show you how Gaussian doors and hard David Hilbert
gaps work. check chill wizards

Requirements

  • TextBlob (pip install textblob)
  • PhD in neural quantum blockchain
  • 5 minutes
  • extensive knowledge of residual capsule reservoir networks
  • stargazing this repository

If running the first time

To allow the Gaussian doors to shine through, you may need to download the wordnet corpus that is part of NLTK which is a dependency of TextBlob. If not, it will generate many complicated Hilbert space errors that which mention that Resource wordnet not found. To resolve this, please do the following in your Python REPL before running:

>>> import nltk
>>> nltk.download('wordnet')

python-sirajnet's People

Contributors

paulbricman avatar rayryeng 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.