• Explore
  • Open roles
  • Twitter
  • FAQs
  • Terms
  • Discord
  • Support
  • Privacy
Hamid Yuksel
Hamid Yuksel

Emoji Horoscope

Status: ๐Ÿ”ด Offline

Made with Python Django, IBM Watson Tone Analyzer, Aztro astrology API, originally hosted on Google Cloud.

View the repo

The focus for this project was on trying out Django (a Python web framework) and two API's. The web app is pretty simple, users input their astrological sign and then this makes a call to the Aztro API for the text horoscope. This text is then fed to the IBM Watson Tone Analyzer, which I then map the results of to specific emojis.

joy = ['๐Ÿ˜','๐Ÿ˜€','๐Ÿ˜‚','๐Ÿ˜†','๐Ÿค‘','๐Ÿคฃ','๐Ÿ˜Š','๐Ÿ˜‹','๐Ÿ˜','๐Ÿ˜‡'] anger = ['๐Ÿ˜ก','๐Ÿคฌ','๐Ÿ˜ ','๐Ÿคฏ','๐Ÿ˜ˆ','๐Ÿ˜ค']
fear = ['๐Ÿ˜ฑ','๐Ÿ˜ฐ','๐Ÿ˜จ','๐Ÿ˜ฌ','๐Ÿ˜ณ','๐Ÿ˜ฅ']
sadness = ['โ˜น๏ธ','๐Ÿ˜–','๐Ÿ˜ž','๐Ÿ˜ข','๐Ÿ˜ญ','๐Ÿ˜•','๐Ÿ™ƒ','๐Ÿ˜”']
analytical = ['๐Ÿค”','๐Ÿคจ','๐Ÿง']
confident = ['๐Ÿ˜›','๐Ÿ˜œ','๐Ÿ˜']
tentative = ['๐Ÿ˜’','๐Ÿ˜‘','๐Ÿ˜“','๐Ÿคญ']

In reflection, I could definitely work on improving the mapping from tone to emoji. I think maybe it could be more nuanced. But this also depends on the list of tones IBM Watson provides. Of course, I could also explore other sentiment analysis libraries.

Send Hamid Yuksel a reply about this page
Back to profile