From 9f57fd2f4782a1d7caf5a0f0b2b811a551d2a978 Mon Sep 17 00:00:00 2001 From: Benjamin Bengfort Date: Tue, 19 Jul 2016 00:12:25 -0400 Subject: [PATCH 1/2] version header cleanup --- corpus/__init__.py | 2 +- corpus/admin.py | 2 +- corpus/apps.py | 2 +- corpus/bitly.py | 2 +- corpus/exceptions.py | 2 +- corpus/managers.py | 2 +- corpus/migrations/__init__.py | 2 +- corpus/models.py | 2 +- corpus/nlp.py | 2 +- corpus/serializers.py | 2 +- corpus/signals.py | 2 +- corpus/tests.py | 2 +- corpus/urls.py | 2 +- corpus/views.py | 2 +- members/__init__.py | 2 +- members/admin.py | 2 +- members/apps.py | 2 +- members/migrations/__init__.py | 2 +- members/models.py | 2 +- members/permissions.py | 2 +- members/serializers.py | 2 +- members/signals.py | 2 +- members/tests.py | 2 +- members/urls.py | 2 +- members/views.py | 2 +- partisan/utils.py | 2 +- partisan/views.py | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/corpus/__init__.py b/corpus/__init__.py index 75c0942..5074e20 100644 --- a/corpus/__init__.py +++ b/corpus/__init__.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: __init__.py [] benjamin@bengfort.com $ +# ID: __init__.py [2de4867] benjamin@bengfort.com $ """ An application that allows the management of our classifier corpus. diff --git a/corpus/admin.py b/corpus/admin.py index 12c8a7b..1f5d626 100644 --- a/corpus/admin.py +++ b/corpus/admin.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: admin.py [] benjamin@bengfort.com $ +# ID: admin.py [2de4867] benjamin@bengfort.com $ """ Register models with the Django Admin for the corpus app. diff --git a/corpus/apps.py b/corpus/apps.py index cdb7d7b..328b7e1 100644 --- a/corpus/apps.py +++ b/corpus/apps.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: apps.py [] benjamin@bengfort.com $ +# ID: apps.py [2de4867] benjamin@bengfort.com $ """ Application definition for the corpus app. diff --git a/corpus/bitly.py b/corpus/bitly.py index 501c73a..b0a6025 100644 --- a/corpus/bitly.py +++ b/corpus/bitly.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: bitly.py [] benjamin@bengfort.com $ +# ID: bitly.py [63935bc] benjamin@bengfort.com $ """ Access the bit.ly url shortening service. diff --git a/corpus/exceptions.py b/corpus/exceptions.py index 07e8c7a..ac7e935 100644 --- a/corpus/exceptions.py +++ b/corpus/exceptions.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: exceptions.py [] benjamin@bengfort.com $ +# ID: exceptions.py [63935bc] benjamin@bengfort.com $ """ Custom exceptions for corpus handling. diff --git a/corpus/managers.py b/corpus/managers.py index 35d3508..97277f4 100644 --- a/corpus/managers.py +++ b/corpus/managers.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: managers.py [] benjamin@bengfort.com $ +# ID: managers.py [bab00b2] benjamin@bengfort.com $ """ Model managers for the corpus application. diff --git a/corpus/migrations/__init__.py b/corpus/migrations/__init__.py index 3d9bab6..4762a6b 100644 --- a/corpus/migrations/__init__.py +++ b/corpus/migrations/__init__.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: __init__.py [] benjamin@bengfort.com $ +# ID: __init__.py [2de4867] benjamin@bengfort.com $ """ Database migrations for the corpus app. diff --git a/corpus/models.py b/corpus/models.py index 4079b9f..4e15494 100644 --- a/corpus/models.py +++ b/corpus/models.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: models.py [] benjamin@bengfort.com $ +# ID: models.py [2de4867] benjamin@bengfort.com $ """ Database models for the corpus app diff --git a/corpus/nlp.py b/corpus/nlp.py index 5e7163c..2bd6b69 100644 --- a/corpus/nlp.py +++ b/corpus/nlp.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: nlp.py [] benjamin@bengfort.com $ +# ID: nlp.py [f8db174] benjamin@bengfort.com $ """ Provides utilities for natural language processing diff --git a/corpus/serializers.py b/corpus/serializers.py index 2291abc..e71a77a 100644 --- a/corpus/serializers.py +++ b/corpus/serializers.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: serializers.py [] benjamin@bengfort.com $ +# ID: serializers.py [63935bc] benjamin@bengfort.com $ """ API serializers for corpus models and API interaction. diff --git a/corpus/signals.py b/corpus/signals.py index 87ae63c..32280f7 100644 --- a/corpus/signals.py +++ b/corpus/signals.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: signals.py [] benjamin@bengfort.com $ +# ID: signals.py [2de4867] benjamin@bengfort.com $ """ Signals for model management in the corpus app. diff --git a/corpus/tests.py b/corpus/tests.py index d9da2cd..225b0be 100644 --- a/corpus/tests.py +++ b/corpus/tests.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: tests.py [] benjamin@bengfort.com $ +# ID: tests.py [2de4867] benjamin@bengfort.com $ """ Tests for the corpus app. diff --git a/corpus/urls.py b/corpus/urls.py index b9b9483..9e57439 100644 --- a/corpus/urls.py +++ b/corpus/urls.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: urls.py [] benjamin@bengfort.com $ +# ID: urls.py [f8db174] benjamin@bengfort.com $ """ URLs for routing the corpus app. diff --git a/corpus/views.py b/corpus/views.py index 6ea4b62..584087e 100644 --- a/corpus/views.py +++ b/corpus/views.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: views.py [] benjamin@bengfort.com $ +# ID: views.py [2de4867] benjamin@bengfort.com $ """ Views for the corpus application diff --git a/members/__init__.py b/members/__init__.py index 4dbafa0..2d06c12 100644 --- a/members/__init__.py +++ b/members/__init__.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: __init__.py [] benjamin@bengfort.com $ +# ID: __init__.py [d011c91] benjamin@bengfort.com $ """ The members app manages information about our users (DDL members). diff --git a/members/admin.py b/members/admin.py index 96c4457..e33f6fc 100644 --- a/members/admin.py +++ b/members/admin.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: admin.py [] benjamin@bengfort.com $ +# ID: admin.py [d011c91] benjamin@bengfort.com $ """ Administrative interface for members in Partisan Discourse. diff --git a/members/apps.py b/members/apps.py index b6f47b5..157eaac 100644 --- a/members/apps.py +++ b/members/apps.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: apps.py [] benjamin@bengfort.com $ +# ID: apps.py [d011c91] benjamin@bengfort.com $ """ Describes the Members application for Django diff --git a/members/migrations/__init__.py b/members/migrations/__init__.py index d8bb0c7..c32ed26 100644 --- a/members/migrations/__init__.py +++ b/members/migrations/__init__.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: __init__.py [] benjamin@bengfort.com $ +# ID: __init__.py [d011c91] benjamin@bengfort.com $ """ Database migrations for the members app. diff --git a/members/models.py b/members/models.py index 8085cf8..c2e2a30 100644 --- a/members/models.py +++ b/members/models.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: models.py [] benjamin@bengfort.com $ +# ID: models.py [d011c91] benjamin@bengfort.com $ """ Models that store information about faculty and students. diff --git a/members/permissions.py b/members/permissions.py index 173d324..0745917 100644 --- a/members/permissions.py +++ b/members/permissions.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: permissions.py [] benjamin@bengfort.com $ +# ID: permissions.py [d011c91] benjamin@bengfort.com $ """ Extra permissions for the Django Rest Framework views. diff --git a/members/serializers.py b/members/serializers.py index 0532e9e..d9db9e4 100644 --- a/members/serializers.py +++ b/members/serializers.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: serializers.py [] benjamin@bengfort.com $ +# ID: serializers.py [d011c91] benjamin@bengfort.com $ """ Serializers for the members models diff --git a/members/signals.py b/members/signals.py index b43b620..1c722fa 100644 --- a/members/signals.py +++ b/members/signals.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: signals.py [] benjamin@bengfort.com $ +# ID: signals.py [d011c91] benjamin@bengfort.com $ """ Signals management for the Members app. diff --git a/members/tests.py b/members/tests.py index 025358b..73d7052 100644 --- a/members/tests.py +++ b/members/tests.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: tests.py [] benjamin@bengfort.com $ +# ID: tests.py [d011c91] benjamin@bengfort.com $ """ Testing for the members app. diff --git a/members/urls.py b/members/urls.py index fb212a5..ae1e57f 100644 --- a/members/urls.py +++ b/members/urls.py @@ -7,7 +7,7 @@ # Copyright (C) 2016 District Data Labs # For license information, see LICENSE.txt # -# ID: urls.py [] benjamin@bengfort.com $ +# ID: urls.py [d011c91] benjamin@bengfort.com $ """ URLs for routing the members app. diff --git a/members/views.py b/members/views.py index ed9bb72..71fa305 100644 --- a/members/views.py +++ b/members/views.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: views.py [] benjamin@bengfort.com $ +# ID: views.py [d011c91] benjamin@bengfort.com $ """ Views for the members app. diff --git a/partisan/utils.py b/partisan/utils.py index 9ba6615..49b82fa 100644 --- a/partisan/utils.py +++ b/partisan/utils.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: utils.py [] benjamin@bengfort.com $ +# ID: utils.py [d011c91] benjamin@bengfort.com $ """ Project level utilities and helpers diff --git a/partisan/views.py b/partisan/views.py index 2a1f1cf..827a2c0 100644 --- a/partisan/views.py +++ b/partisan/views.py @@ -7,7 +7,7 @@ # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # -# ID: views.py [] benjamin@bengfort.com $ +# ID: views.py [d011c91] benjamin@bengfort.com $ """ Default application views for the system. From a76e13cf8c8f89032aa6d4b598b89de45d32b401 Mon Sep 17 00:00:00 2001 From: Benjamin Bengfort Date: Tue, 19 Jul 2016 00:23:12 -0400 Subject: [PATCH 2/2] averaged perceptron tagger --- bin/install_nltk_data | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/install_nltk_data b/bin/install_nltk_data index e32ad73..0d6d3eb 100755 --- a/bin/install_nltk_data +++ b/bin/install_nltk_data @@ -18,6 +18,7 @@ python -m nltk.downloader hmm_treebank_pos_tagger python -m nltk.downloader maxent_treebank_pos_tagger python -m nltk.downloader maxent_ne_chunker python -m nltk.downloader stopwords +python -m nltk.downloader averaged_perceptron_tagger # If using Textblob, use this instead: # python -m textblob.download_corpora lite