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

'pattern' package not found; tag filters are not available for English #48

Open
DAM3423 opened this issue Aug 2, 2022 · 3 comments
Open

Comments

@DAM3423
Copy link

DAM3423 commented Aug 2, 2022

I recently have been trying to set up the latest version of the software locally.

The processing seems to continue indefinitely which I think is more the issue. I got the same results running in Docker and natively on Mac OS 12.0.1.

When looking in the log.txt file I can see that the processing appears to circle indefinitely. The only error I can spot is 'pattern' package not found; tag filters are not available for English. More can be read on my issue.

I have looked everywhere on the web and I cannot seem to find a solution to the problem. I also can't seem to find the package 'pattern ' initialization in the code. This may be because pattern is a common name and when doing a search for a generic word a lot of options appear.

This issue pops up running the code as standard with no changes.

If you have any pointers or supplementary documentation for fixing this issue your help would be greatly appreciated.

@TanujW
Copy link

TanujW commented Aug 2, 2022

Hey @DAM3423
Do you think you can share the log file here?
You’d probably have to host it and link here, or optionally you can paste the traceback regarding the missing pattern package.

I haven’t tried the Docker setup yet, but If we can solve this issue, I’d definitely use that

@DAM3423
Copy link
Author

DAM3423 commented Aug 3, 2022

Hey @TanujW

I can paste a snippet from the log file here. You cans see the missing package pattern. but sadly i cannot locate where this package is requested in the code

[INFO] robotreviewer.ml_worker 2022-08-03 07:36:42,927: RobotReviewer machine learning tasks starting [INFO] summarizer.preprocessing.cleaner 2022-08-03 07:36:54,350: 'pattern' package not found; tag filters are not available for English [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:36:54,411: Connecting to Grobid... [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:36:54,578: <Response [200]> [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:36:54,580: Connected to Grobid service. [INFO] robotreviewer.ml_worker 2022-08-03 07:36:54,647: Loading the robots... [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:37:04,001: Initializing tf session [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:37:04,310: Reloading the latest trained model... [INFO] tensorflow 2022-08-03 07:37:04,314: Restoring parameters from /var/lib/deploy/robotreviewer/data/pico_spans/model.weights/ [INFO] robotreviewer.ml_worker 2022-08-03 07:37:20,287: RobotReviewer machine learning tasks starting [INFO] summarizer.preprocessing.cleaner 2022-08-03 07:37:28,897: 'pattern' package not found; tag filters are not available for English [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:28,940: Connecting to Grobid... [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:29,054: <Response [200]> [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:29,055: Connected to Grobid service. [INFO] robotreviewer.ml_worker 2022-08-03 07:37:29,096: Loading the robots... [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:37:35,511: Initializing tf session [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:37:35,822: Reloading the latest trained model... [INFO] tensorflow 2022-08-03 07:37:35,825: Restoring parameters from /var/lib/deploy/robotreviewer/data/pico_spans/model.weights/ [INFO] robotreviewer.ml_worker 2022-08-03 07:37:49,586: RobotReviewer machine learning tasks starting [INFO] summarizer.preprocessing.cleaner 2022-08-03 07:37:57,616: 'pattern' package not found; tag filters are not available for English [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:57,652: Connecting to Grobid... [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:57,680: <Response [200]> [INFO] robotreviewer.textprocessing.pdfreader 2022-08-03 07:37:57,681: Connected to Grobid service. [INFO] robotreviewer.ml_worker 2022-08-03 07:37:57,721: Loading the robots... [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:38:04,468: Initializing tf session [INFO] robotreviewer.ml.ner_base_model 2022-08-03 07:38:04,792: Reloading the latest trained model... [INFO] tensorflow 2022-08-03 07:38:04,798: Restoring parameters from /var/lib/deploy/robotreviewer/data/pico_spans/model.weights/

@duckykao
Copy link

Encounter the same issue, is there any solution for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants