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

error in preprocessing with a different pipeline #89

Closed
ezesalta opened this Issue Dec 2, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@ezesalta
Contributor

ezesalta commented Dec 2, 2015

I change the pipeline in preprocess:
pipeline = PreProcessPipeline([ TokenizeSentencerRunner(), CombinedNERRunner([ DateNERRunner(), PersonNERRunner(), ], override=True) ], docs)

running bin/preprocess.py have the following errors:

Starting preprocessing step <iepy.preprocess.tokenizer.TokenizeSentencerRunner object at 0x7fc7a8c323c8> Traceback (most recent call last): File "bin/preprocess.py", line 105, in <module> start_preprocess(all_docs, increment_ner) File "bin/preprocess.py", line 60, in start_preprocess pipeline.process_everything() File "/home/ezequiel/.virtualenvs/pln-2015/lib/python3.4/site-packages/iepy/preprocess/pipeline.py", line 52, in process_everything self.process_step_in_batch(runner) File "/home/ezequiel/.virtualenvs/pln-2015/lib/python3.4/site-packages/iepy/preprocess/pipeline.py", line 41, in process_step_in_batch docs = self.documents.get_documents_lacking_preprocess(runner.step) AttributeError: 'QuerySet' object has no attribute 'get_documents_lacking_preprocess'

@jmansilla

This comment has been minimized.

Show comment
Hide comment
@jmansilla

jmansilla Mar 20, 2016

Contributor

Shall be part of next 0.9.5 release

Contributor

jmansilla commented Mar 20, 2016

Shall be part of next 0.9.5 release

@jmansilla jmansilla closed this Mar 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment