Coder Social home page Coder Social logo

prosegrinder / python-prosegrinder Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 285 KB

A relatively fast, functional prose text counter with readability scoring.

License: GNU General Public License v3.0

Python 100.00%
prose readability-scores statistics text-analysis

python-prosegrinder's People

Contributors

davidlday avatar dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar yvlcmb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yvlcmb xingfanxia

python-prosegrinder's Issues

Rename Package

A bookwormpackage already exists and is still active. Rename this package, possibly just to prosegrinder.

Add support for detecting English phonemes

Adding a feature to prosegrinder to enable the detection of English phonemes might be really useful.

There are over 40 phonemes in English despite only 26 letters in its alphabet - here's one source: https://www.dyslexia-reading-well.com/44-phonemes-in-english.html.

I don't know how this would work, perhaps implemented as a new 'get_phoneme' method to the Dictionary class in the dictionary.py module. It would be nice if the feature could not only count the total number of phonemes but also output an iterable containing the specific phonemes that occur in a section of text/prose.

Simplify Code - Remove @property Annotations

Using the @property annotation has complicated code both here and in trying to create a REST API wrapper. Using the annotation doesn't seem to be providing any benefit at this point.

  • remove the @property annotations
  • remove the _ before the properties and use them directly

Automation support

I would like to use prosegrinder in a version control system for managing prose, perhaps in a git hook or a GitHub Action so that it runs automatically on each new commit. To make this happen, perhaps prosegrinder needs some command line usage support or some other top level module that can be executable from the command line.

Maintenance Updates

  • convert README to markdown
  • bring packaging to current practices
    • create pyproject.toml
    • move settings to setup.cfg
  • retire Codacy in favor of GitHub Actions (pylint, black)
    • add lint job to CI workflow
  • use pypi-publish
    • create test publish workflow on tags
    • update publish on release reworkflow
  • add twine check job to CI workflow

Process multiple files with CLI

CLI should be able to process multiple files at once. Output should probably be on a file-by-file basis and not a summary. Maybe both.

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.