Skip to content

Conversation

@postatum
Copy link

@postatum postatum commented May 14, 2021

Hi.
Thanks for a nice lib!

According to the core referenced below, Profile.intersection should get other.list[j] instead of self.list[j].
This also caused unexpected behavior where single line difference made two functions have up to 0.9 edit distance.

https://github.com/TylerGoeringer/PyGram/blob/master/src/PyGram.py#L58-L74

postatum added 2 commits May 14, 2021 13:48
Instead of comparing labels values, their length is now
compared. This makes algorithm less sensitive to labels changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant