Converting a given text to it's nearest representation in an emoji.
Some task in speech recognition uses trigger word detection as used in google assistant like 'ok google' where ok is trigger word. On the same concept trying to find the trigger word in the sentence using the word embedding, and relating it to its closest emoji.
In this code only 5 set of emojis are used for predicting these 5 emoji in the sentence.
emoji class contains ❤️ , ⚾ , 😄 , 😞 , 🍴 as [0,1,2,3,4]
example : 'let's go outside and play' hte closest emoji is ⚾ as the triggere word in the example is 'play'.
Dependencies:
-->matplotlib
-->numpy
-->pandas
-->csv
-->emoji
-->sklearn
-->tensorflow