MemeFinder icon indicating copy to clipboard operation
MemeFinder copied to clipboard

Create a synonym word list for internet slangs

Open Aniq55 opened this issue 7 years ago • 3 comments

Slangs like

  • fam
  • lit
  • lol
  • lmao etc do not exist in the nltk library. We need a list of such words and words similar to it, for example, if someone searches for laugh, he/she should get the meme which has lol written on it

Aniq55 avatar Feb 01 '18 17:02 Aniq55

http://onlineslangdictionary.com/meaning-definition-of/<internet_slang_you_want_to_search>

I wish i knew of any json data , but the special thing about this site is what i found that they full form of them are coming in the same fashion so they can be scraped we have to scrape the word between ---------------------> " " (the quotes)

check for demonstration:--

http://onlineslangdictionary.com/meaning-definition-of/rofl http://onlineslangdictionary.com/meaning-definition-of/lmao http://onlineslangdictionary.com/meaning-definition-of/lol

now if length of 'keywords'(list) is 0 we can take the above method and try getting keywords,since wordnet may not have lmao but it must be having 'laughing' 'my' 'ass' 'off' as individual words.

This is my school of thought.

soumam007 avatar Feb 05 '18 15:02 soumam007

screenshot from 2018-02-06 14-09-26 screenshot from 2018-02-06 14-09-57 screenshot from 2018-02-06 14-10-30 screenshot from 2018-02-06 14-13-04

So i did my part of work, ie fetching the full form and the list of words that you cal see in the console is basically the list of keywords on the basis of which the meme is getting searched.

Since the searching algo is not upto that level so may be only one or two words are matching like in rofl---> "on the floor" words are there in the image like in lmao--> "my ass" words are in the image

soumam007 avatar Feb 06 '18 08:02 soumam007

Looks good, send the PR

Aniq55 avatar Feb 06 '18 11:02 Aniq55