thammegowda / mtdata

A tool that locates, downloads, and extracts machine translation corpora
https://pypi.org/project/mtdata/
Apache License 2.0
147 stars 22 forks source link

Non-fuzzy match mtdata is broken due to comparing `y1==y1` #92

Closed XapaJIaMnu closed 2 years ago

XapaJIaMnu commented 2 years ago

Typo here

https://github.com/thammegowda/mtdata/blob/ca6615a422d5ed517292cffb11a331a59b828951/mtdata/index/__init__.py#L174N

return x1 == x2 and y1 == y1

It should y1 == y2