IsaiahHanna / AnimeRecommendation

0 stars 0 forks source link

Task - Address Input Variance #1

Closed IsaiahHanna closed 1 month ago

IsaiahHanna commented 2 months ago

Find a way to match user input to anime even when it is not the exact same word/phrase.

Ex: Match "Demon Slayer" to "Kimetsu no Yaiba" Ex: Match "One Piece" to "One Pice"

If possible I'd like to be able to match typos but at the very least I'd like to be able to match the english name to the japanese name and vice-versa.

IsaiahHanna commented 2 months ago

This can be done by scraping for sub-title and synonyms from MyAnimeList and then using fuzzy matching to match the user input to the synonyms. Add synonym as a column next to name in the animes.csv. Use scrapy python framework to build a web spider.

IsaiahHanna commented 1 month ago

Has been accomplished. May need to make the console version more user-friendly as it still shows the primary name when showing the possibleOptions table.