alpheios-project / arethusa

Arethusa: Annotation Environment
http://sosol.perseids.org/tools/arethusa
MIT License
34 stars 26 forks source link

I791 #799

Closed balmas closed 4 years ago

balmas commented 4 years ago

Fixes for #791 and #798

The algorithm for matching words is not perfect, but hopefully it should work for the majority of the cases.

I have corresponding changes to the Persieds Treebank Template but I'd like to get your thoughts on this first.

I also commented out some of the tests that have been failing for ages so that I could write some new unit tests for the new functionality.

balmas commented 4 years ago

@zfletch I think I made most of the changes you suggested, including a refactoring of the search code into hopefully more readable functions. Would you mind taking another quick look when you have a second? thank you!