Skip to content

issue calling radtext.Pipeline() #3

Description

@zakaria47fs

I am using last commit on master branch,
calling the pipeline from radtext with this code,
import radtext
nlp = radtext.Pipeline()

falling to the following error:

loading model /Users/zakaria/.radtext/bllipparser/BLLIP-GENIA-PubMed ...
Traceback (most recent call last):
File "test.py", line 5, in
nlp = radtext.Pipeline()
File "../radtext/src/radtext/models/pipeline.py", line 98, in init
regex_actor.load_yml2(argv['--regex_patterns'])
File "../radtext/src/radtext/models/neg/match_regex.py", line 70, in load_yml2
for obj in objs['negation']:
KeyError: 'negation'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions