Skip to content

Example Code causes Module does not exist error #1

@IHMCBrodie

Description

@IHMCBrodie

First off, wanted to say great work on this! I am very interested in this work and I appreciate you laying out clear instructions on this repo.

When running one of the example snippets (seen below), it produces the following error:

python pre_process/text_to_CoNLL.py \
    --src_file trial_data/SentsOnly_ES.txt \
    --out_file trial_data/ES_template_trial.conll \
    --lang ES
Traceback (most recent call last):
  File "text_to_CoNLL.py", line 9, in <module>
    from pre_process.CoNLL_Annotations import CoNLLUP_Token_Template
ModuleNotFoundError: No module named 'pre_process'

I am trying to find a fix for it cause I know it's mostly about the nested module imports but I don't want to have to edit every file and mess with the file structure a bunch so I figured I would let you guys know.

Thanks in advance

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