Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove code related to Stanford NER worker #160

Merged
merged 1 commit into from
Nov 4, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions pypln/backend/workers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@
from pos import POS
from statistics import Statistics
from bigrams import Bigrams
from stanford_ner import StanfordNER
from palavras_raw import PalavrasRaw
from lemmatizer_pt import Lemmatizer
from palavras_noun_phrase import NounPhrase
from palavras_semantic_tagger import SemanticTagger


__all__ = ['Extractor', 'Tokenizer', 'FreqDist', 'POS', 'Statistics',
'Bigrams', 'StanfordNER', 'PalavrasRaw', 'Lemmatizer',
'NounPhrase', 'SemanticTagger']
'Bigrams', 'PalavrasRaw', 'Lemmatizer', 'NounPhrase',
'SemanticTagger']
57 changes: 0 additions & 57 deletions pypln/backend/workers/stanford_ner.py

This file was deleted.

43 changes: 0 additions & 43 deletions scripts/download_stanford_ner.sh

This file was deleted.

14 changes: 0 additions & 14 deletions scripts/start_development_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ echo "| This script is intended for development only. |"
echo "| Please do not use it to run a production environment. |"
echo "+-------------------------------------------------------+"

echo "Starting Stanford NER..."
NER_DIRNAME="stanford-ner-2013-06-20"
NER_DIR="$SCRIPT_PATH/scripts/$NER_DIRNAME"
if [ -d "$NER_DIR" ]
then
"$SCRIPT_PATH/scripts/start_stanford_ner_in_dev_environment.sh" &
NER_PID=$!
echo "Stanford NER has PID $NER_PID"
else
echo "Can't find Stanford NER."
echo "Run $SCRIPT_PATH/scripts/download_stanford_ner.sh to download it."
exit 0
fi

echo "Starting router..."
"$SCRIPT_PATH/pypln/backend/router.py" &
ROUTER_PID=$!
Expand Down
31 changes: 0 additions & 31 deletions scripts/start_stanford_ner_in_dev_environment.sh

This file was deleted.

63 changes: 0 additions & 63 deletions tests/test_worker_stanford_ner.py

This file was deleted.