Introducing Wiki Topic Grapher 👾
- Charly Wargnier
- Feb 20, 2021
- 2 min read
Leverage the power of Google #NLP to retrieve entity relationships from Wikipedia URLs or topics!
Get interactive graphs of connected entities
Export results with entity types and salience to CSV!
Use cases
Many cool use cases!
Research any topic then get entity associations that exist from that seed topic
Map out related entities with your product, service or brand
Find how well you've covered a specific topic on your website
Differentiate your pages!
Stack
About the stack, it's 100% #Python! 🐍🔥
@GCPcloud Natural Language API
PyWikibot
Networkx
PyVis
Streamlit Components -> streamlit.io/components
⚒️ Still To-Do’s
💰 Add a budget estimator to get a sense of @GCPcloud costs!
🌍Add a multilingual option (currently English only)
📈Add on-the-fly physics controls to the network graph
💯Add Google KG #API to add more data (scores, etc.) (ht @LoukilAymen)
That code currently lays in a private repo. I should be able to make it public soon for you to re-use it in your own apps and creations! I just need to clean it a tad, remove some sensitive bits, etc.
🙌 Shout-outs
Kudos to @jroakes for the original script. Buy that man a 🍺 for his sterling contributions! ->
paypal.com/paypalme/codes…
Kudos also to fellow @streamlit Creators:
@napoles3D who told me about the PyVis lib! 🔥
@andfanilo/@ChristianKlose3 for their precious advice! 🙏
💲 Beware on costs!
It can get expensive quickly with that Google Natural Language API!
Monitor your costs via the GCP console regularly and/or put quotas to tame that G beast! I'm planning to add a budget estimator pre-API calls. Should come handy.
Feedback and support
Wiki Topic Grapher's still in Beta, with possible rough edges! Head-off to my Gitter page for bug reports, questions, or suggestions.
This app is free. If it's useful to you, you can buy me a ☕ to support my work! 🙏 ▶️ buymeacoffee.com/cwar05
That's all, folks. Enjoy!
Charly
I was bored, freezing, and just scrolling through my phone out of sheer desperation for some kind of distraction. That’s when I saw an ad, something flashy and bright. I usually ignore them, but the promise of a warm, virtual escape was weirdly appealing. I figured, why not? It’s not like I had anything better to do. I ended up doing a quick sky247 download just to kill some time and maybe feel a little less alone in the freezing silence.
The first thing that struck me was the noise. Not obnoxious noise, but a cheerful, bustling sound. Bells ringing, little digital fanfares, the soft whir of virtual slots. It was the exact opposite of my quiet, cold apartment. I…
Это началось в самый разгар удаленной работы. Сидишь целыми днями в четырех стенах, один и тот же вид из окна, одни и те же проблемы. Коллеги по видеосвязи, бесконечные таски. Словом, голова шла кругом. Как-то раз, в перерыве между совещаниями, я листал ленту новостей и наткнулся на статью про онлайн-казино. Не рекламу, а именно статью — как люди ищут способы расслабиться. Там и упоминалось, что многие используют вавада зеркало рабочее на сегодня, чтобы попасть на платформу. Меня это зацепило. Не сама игра, а именно этот квест — найти working mirror. Словно маленькое приключение посреди рутины.
Я не особо верил в удачу, но азарт поиска оказался сильнее. Первые несколько ссылок, которые я нашел, были уже неактивны. Это даже немного разозлило. Но…