https://github.com/fpapado/nlpstuff
Here's where I deposit various NLP-related scripts, inspired by topics in my Postgraduate course.
https://github.com/fpapado/nlpstuff
Last synced: 12 months ago
JSON representation
Here's where I deposit various NLP-related scripts, inspired by topics in my Postgraduate course.
- Host: GitHub
- URL: https://github.com/fpapado/nlpstuff
- Owner: fpapado
- License: mit
- Created: 2016-09-23T19:41:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-09T13:37:47.000Z (over 9 years ago)
- Last Synced: 2025-02-26T17:47:55.614Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nlpstuff
Here's where I deposit various NLP-related scripts, inspired by topics in my Postgraduate course.
They might be useful to students taking an NLP class with little programming
experience (such as those coming from a linguistics background), and want to
see how to implement popular algorithms using simple Python constructs.
Issues, comments, and pull requests are most welcome!
## Python Version
Currently using Python 3, but since there's nothing specific apart from print()
statements, I'll make a best effort to add Python 2 versions of each script.
## Dependencies
There are currently no hard dependencies, as the aim is to use simple
constructs.
Should there be any dependencies (numpy might be one), they will be managed via
virtual environments.
[You can find more information on virtualenv
here](http://docs.python-guide.org/en/latest/dev/virtualenvs/)
If you want to to test virtualenv out with some simple dev dependencies (that
install the really neat [ptpython interpreter
interface](https://github.com/jonathanslenders/ptpython)) do this:
```shell
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
```
## Prints and logs
There is probably going to be a lot of printing / logging in these scripts, as
most of them aim to demonstrate steps in an algorithm.
It might be a good idea to make them optional (e.g. by a default kwargs) in the
future.