GithubHelp home page GithubHelp logo

paraphs's Introduction

Paraphs

Turns your poems into many diffirent, but relatively similar, early modernist artworks!

Installation

Getting dependances set up for Paraphs requires a bit of extra work. If you use pipenv, then the pipfile contains all the neccecary information. Otherwise, the modules required are:

  • NLTK
  • Pycario
  • Textblob

Additionaly, if you want to build the project, you'll also need:

  • pip
  • setuptools
  • wheel

Pycario requires Cairo to be installed. Instructions for this can be found on https://www.cairographics.org

If you have never used the NLTK before, it might require you to download additional data. For example, this project uses NLTK stopwords. To download these, run a python interpreter and input the following:

import nltk
nltk.download('stopwords')

Usage

If you decide to build the project with pip install -e . , then just run it using the Paraphs alias. You can also run it directly with the Python interpreter, using python __init__.py [arguments]

Paraphs requires at least two arguments to work: 1. an input file 2. an outpute filename or an output file type. For all the possible arguments, consult the --help flag. Regular useage might look something like this:

paraphs sample_1.txt -f pdf -s

About

This project was built as a final examination for Linneuniversitete's course Programming for Digital Humanities.

paraphs's People

Contributors

motform avatar

Watchers

 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.