Skip to content

Issue with Demo.py: AttributeError: module 'deduce' has no attribute 'lookup_lists'. Did you mean: 'lookup_sets'? #70

@ahmb

Description

@ahmb

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'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions