I have a directory structure as follow:
evaluate.py
tools (folder)
-- ngram.py
-- bleu.py
In bleu.py
, I import ngram
. And, in evaluate.py
, I import tools.bleu
. However, an error occurs that ModuleNotFoundError: No module named 'ngram'
. Where did I do wrong? Thanks~