-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hello,
I think it would be nice to report, which Python and NLTK version it is compatible with. I think from this reason I'm getting this error:
Traceback (most recent call last):
File "paired-bootstrap.py", line 129, in <module>
eval_with_paired_bootstrap(gold, sys1, sys2, eval_type=args.eval_type, num_samples=args.num_samples)
File "paired-bootstrap.py", line 85, in eval_with_paired_bootstrap
sys1_score = eval_measure(reduced_gold, reduced_sys1, eval_type=eval_type)
File "paired-bootstrap.py", line 42, in eval_measure
return nltk.translate.bleu_score(gold, sys)
TypeError: 'module' object is not callable
Python 3.5.2, nltk (3.3)
python3 paired-bootstrap.py $ref $best $i --eval_type bleu
Thanks!
Metadata
Metadata
Assignees
Labels
No labels