allosaurus
allosaurus copied to clipboard
using 'eval' insted of 'distance' in trainer.py
Hi Thank you for allosaurus :) I'm trying to train a model and I've got this error message AttributeError: module 'editdistance' has no attribute 'distance' so I replaced 'distance' with 'eval' in trainer.py and it works well I'm using python v3.7
Hi, thanks for asking Can you try upgrading your editdistance module? maybe its a version mismatch
Actually It looks there is a distance function in editdistance here.
https://github.com/roy-ht/editdistance/blob/master/editdistance/__init__.py