You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python3.10/dist-packages/deidentify/taggers/init.py", line 1, in
from .deduce_tagger import DeduceTagger
File "/usr/local/lib/python3.10/dist-packages/deidentify/taggers/deduce_tagger.py", line 4, in
from deidentify.methods.deduce import run_deduce
File "/usr/local/lib/python3.10/dist-packages/deidentify/methods/deduce/run_deduce.py", line 14, in
NAME_PREFIX_REGEX = re.compile(r'({}).?\s*'.format('|'.join(deduce.lookup_lists.PREFIXES)),
AttributeError: module 'deduce' has no attribute 'lookup_lists'. Did you mean: 'lookup_sets'?
The text was updated successfully, but these errors were encountered:
I faced a similar issue with the following traceback :
Traceback (most recent call last):
File "/Users/akhil/Downloads/touch.py", line 2, in
from deidentify.taggers import FlairTagger
File "/opt/homebrew/lib/python3.10/site-packages/deidentify/taggers/init.py", line 1, in
from .deduce_tagger import DeduceTagger
File "/opt/homebrew/lib/python3.10/site-packages/deidentify/taggers/deduce_tagger.py", line 4, in
from deidentify.methods.deduce import run_deduce
File "/opt/homebrew/lib/python3.10/site-packages/deidentify/methods/deduce/run_deduce.py", line 14, in
NAME_PREFIX_REGEX = re.compile(r'({}).?\s*'.format('|'.join(deduce.lookup_lists.PREFIXES)),
AttributeError: module 'deduce' has no attribute 'lookup_lists'
The solution you suggested resolved the issue! Thanks!
File "/usr/local/lib/python3.10/dist-packages/deidentify/taggers/init.py", line 1, in
from .deduce_tagger import DeduceTagger
File "/usr/local/lib/python3.10/dist-packages/deidentify/taggers/deduce_tagger.py", line 4, in
from deidentify.methods.deduce import run_deduce
File "/usr/local/lib/python3.10/dist-packages/deidentify/methods/deduce/run_deduce.py", line 14, in
NAME_PREFIX_REGEX = re.compile(r'({}).?\s*'.format('|'.join(deduce.lookup_lists.PREFIXES)),
AttributeError: module 'deduce' has no attribute 'lookup_lists'. Did you mean: 'lookup_sets'?
The text was updated successfully, but these errors were encountered: