
http://mypersonaloracle.blogspot.com/2017/01/var-text-quick-brown-fox-jumps-over.html
Just made some major updates to the predictive text inspired tool. Now you are able to replace the default seed text in the text area, as well as set the distance (counted in words) that you want to lookup ahead and backwards.
It also behaves a lot more like predictive text in that it will show words that start with the letters you are typing. So for the string "mem" I just typed, I got "membrane, memex, and mem" at the top of the results with their corresponding context (consisting of words found around them, arranged into phrases). Other words and their context are also shown based on whether they contain the word you typed (e.g. "mem") in them. This is just an extra I added to show more content.
The context of each key word shown (on the left column) is constructed as "phrases" (basically take the word and attach the five words preceding it and following it to form one phrase). The phrases are not always exactly as they were found in the seed text, because the only word allowed to be repeated in the context is the key word itself.
The reason is that originally I just wanted to show a comma separated word list in the context. Later I decided that it would be nice to see the partial phrases, while still getting a set of unique words (except for the repeating key word on the left column). you can still treat the words as a list, but I may change this in the future to toggle the display between phrases and plain lists.
If you're tech savvy and into python, there is a tool (that also inspired me) that someone made for writing scripts that sounded like the source material (you can get the GitHub link from the article below):
Article about python tool, with link to GitHub: http://www.dailydot.com/unclick/jamie-brew-predictive-text-clickhole-coding-comedy/
This one is a lot closer to how CreativeWriter works, but it allows you to add your own corpus of text for analysis (which is what I wanted, but available in mobile format-- thus why I built my own JavaScript tool).
If you have any feedback as to what would make this more helpful to you, or why you would or wouldn't use it, that'd be cool. I have a feeling that I'm the only one that likes the predictive stuff for playing.
#SoloPlayWithAlgorithms
No comments:
Post a Comment