Context-based Keyword Generating Tool

40 views
Skip to first unread message

Solo RPG Gamer

unread,
Feb 1, 2017, 10:04:36 AM2/1/17
to solo...@googlegroups.com

I've been using predictive text apps to delegate some of the decision making in the creative writing parts of solo gaming to something outside me. Just having suggested words out there already picks a direction for me, so I've found that satisfying. Now I have it available on my browser if I want. :)


This tool works somewhat similar to the ios app I've been using, except that it does not display words based on frequency. Instead, it will take your last written word and give you other words that have previously appeared near it in what you have written into the window (this is the first row in the table). In addition to that, it will give you other keywords that have had your last word as part of their context. 


In addition to providing you with suggestive output, I've also noticed that it jogs my memory as well if I happen to type the name of a location or NPC, for example, since the words that have been near those names will show up.


Overall, I feel like these type of tools pull me in creative directions I might not have thought of, which make it feel as if I'm delegating some control of the world (or fiction) to something outside of myself.


Eventually I want to add this to some type of proper oracle, with extras like history window, and a seed window for seeding text. For now the tool only has the writing window.


You can play around with it here:


http://mypersonaloracle.blogspot.com/2017/01/var-text-quick-brown-fox-jumps-over.html


ps: I have added some default text to the window which consists of the first chapter of the cypberpunk novel Halo by Tom Maddox, as an example. You can clear it and copy/paste or type anything you want. 

predictivelikeoracle.jpg

Solo RPG Gamer

unread,
Feb 6, 2017, 11:32:04 AM2/6/17
to Lone Wolf Roleplaying
I've made some changes to make the tool a bit easier to use on mobile devices (you can click on the suggestions to add them to the writing box). I've also tried to optimize its performance a bit by only analyzing the text on first loading the page, and letting the end user choose when to analyze again (before, it would analyze the seed + new text every time the user typed). Works pretty good on my iPhone 6S. Not so good on my Samsung tablet (android 4.4.2), but I've been having performance issues with that device for a while. 

The thing that seems to slow it down the most is the rendering of the links for each word, so in the future I will add a way for users to specify which words to filter out from analysis and prediction. Removing words like "a, the, of, in," etc, would help a lot as those are the ones that cause the most hiccups. 

Reply all
Reply to author
Forward
0 new messages