Giter Club home page Giter Club logo

pelitk's People

Contributors

bnaismith avatar dzheng256 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pelitk's Issues

Add test coverage and CI via Travis CI

We should add unit tests and have continuous integration testing via https://travis-ci.org/ which will run on pull requests and commits to master branch. As things are now, it is easy to break the code when committing directly to master. For example, the master branch recently contained a typo and was fixed in d69abdf. Having tests and making changes via pull requests should help prevent that.

publish to pypi and tag releases

We should properly manage our package versioning and package up releases (e.g. 0.1.0, 0.2.0, etc) and publish them to pypi so people can pip install from there, instead of directly installing from our master branch, which may or may not be in a broken state. Each release to pypi should come with either bugfixes or new features, and we should definitely make sure whatever we are publishing actually works properly (adding more tests will help ensure this).

I think it would be reasonable to make a 0.1.0 release and publish that to pypi after we resolve #3 and (hopefully) remove the bloated nltk dependency

Help function

Just ran the lex.adv_guiraud help function and realized it needs updating.
Also the 'PET' list should be named 'PVL' (Pet Vocabulary List) to be consistent with the published work.

standardize text input format, especially in adv_guiraud()

In adv_guiraud it seems we currently support 3 different text data input types:

  • string
  • list of strings (tokens)
  • list of list of strings?

I am sure this was once useful to have, but am not sure that it makes sense to support all three of these. The code is confusing to read and it would be simpler and cleaner to just support 1 input type, perhaps a list of tokens? Then the user just needs to call re_tokenize outside or pass their own tokenized list to the function.

unify spellchecking

in adv_guiraud() we spell check via checking enabl1 (plus 'i' and 'a'), but elsewhere we spell check via looking for lemmas in wordnet.synsets().

I don't recall a specific reason for doing it this way originally and it seems a bit weird to me, because the same spellcheck=True arg functions differently across multiple functions.

I think we should keep everything consistent. Any thoughts? Also, if we remove the wordnet.synsets() stuff and switch everything to use enable1, then I think we can remove the nltk dependency.

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.