Fasttext: No method for nearest neighbour

Created on 11 Sep 2019  路  7Comments  路  Source: facebookresearch/fastText

After installing fasttext binding using pip install fasttext it does not have the get_nearest_neighbor method.

AttributeError: '_FastText' object has no attribute 'get_nearest_neighbors'

Most helpful comment

Hi @Celebio,
are there any news on this?

All 7 comments

I had this same issue and do not know why this happens.

I solved the issue by cloning the GitHub repo and installing it instead of using the command pip install fasttext.

Hi @KalanaGeesara ,
Indeed, this function in the python side is not included in any pypi release. However, the next release will contain it.
I am closing this issue. Feel free to re-open it if you have further concerns.

Thank you.
Onur

@Celebio Are there already schedules for the next releases?

Hi @DrDreave ,
Yes, we will make a release soon that includes all the differences between pypi and github. Stay tuned!

Onur

Hi @Celebio,
are there any news on this?

@Celebio I'm sorry to annoy you, but could you please give us an update about the release schedule?

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leonardgithub picture leonardgithub  路  4Comments

nomadlx picture nomadlx  路  3Comments

yasonk picture yasonk  路  3Comments

loretoparisi picture loretoparisi  路  3Comments

flybirp picture flybirp  路  4Comments