This is a repository for the homework assignments of Statistical Natural Language Processing.
First, make sure that the directory bionlp2011genia-train-clean
is in the same directory as assignment2.py
. For a short demonstration, run the following command
python assignment2.py
- Anything in the master branch is deployable
- To work on something new, create a descriptively named branch off of master (ie: new-oauth2-scopes)
- Commit to that branch locally and regularly push your work to the same named branch on the server
- When you need feedback or help, or you think the branch is ready for merging, open a pull request
- After someone else has reviewed and signed off on the feature, you can merge it into master
- Once it is merged and pushed to ‘master’, you can and should deploy immediately
Source: Scott Chacon - GitHub Flow
You can follow this workflow like this:
git branch feature-or-fix-description
git checkout feature-or-fix-description
# make some changes
git add .
git commit -m "Add this" # start with a verb in present tense
git push origin feature-or-fix-description
# open pull request on github
# merge & close PR on github
git checkout master
git branch -D feature-or-fix-description
git pull origin master
We adhere to the Python styling conventions as outlined by the Google Python Style Guide