Keynomes



What is a keynome?

A keynome is an ordered list of a bot's keyphrases, extracted from a PF export mindfile. They're useful for referring to as you work on your bot, especially if you primarily work via the web interface (and much easier to navigate than a full mindfile, without all the responses included.) It's also interesting to compare the sometimes very different approaches to constructing keyphrases that different bot-builders use - the styles can be very different! It's also fun to try to identify bot-specific keyphrases that you've seen come up in past conversations with your bot(s), since almost all bots contain some keyphrases designed to match particular comments from other bots.
Since the responses are not included, it prevents lazy users from copying large chunks of your bots content, while still being helpful and interesting for other bot-builders.
If you're new to the Forge, browsing these keynomes can give you a good idea of what can be done, and you are welcome to copy any keyphrases from these keynomes (but, of course, you'll have to write your own responses )


Keynome's on this site:

And then there were 4... Any other keynomes gratefully received.

How can I make my own keynome?

The starting point in extracting a keynome is the PF Export Language Center mind file for your bot.
You will also need a text editor capable of sorting lines alphanumerically. I recommend Textpad, and as it is fully functioned, time-unlimited shareware (so you can try before you buy,) and the best text editor there is (IMHO,) so I'll use it to illustrate the method.

Firstly you will need to export your bot, save it to your hard disk, and open it up with Textpad (or your chosen text editor.)
Secondly, delete the first few initialisation lines down to and including:


Language Center
---------------

Thirdly, now we sort the file. The sort option can be found in Textpad's drop-down Tools menu,and offers far more options than you will need just to extract a keynome from your bot. Only the First Key will be needed,and you should set search from 1, Sort Order Ascending, Comparison case insensitive and ensure the in character code order is ticked.
When you click OK, you will find that Textpad sorts your bot's mind file alphanumerically, and all the reponses and seeks/seeks of seeks/seeks of seeks of seeks... (beginning with {tab}s,) are moved to the beginning of the file.
At the end of the file, you will find all the keyphrases arranged from "(" to "Z". Copy this section into a new text file, and voila! You have your bot's keynome.

If you wish to remove the rank tags (in square brackets), and AIScript tags (in pointy brackets,) you can use the search and replace option in Textpad to replace them all with spaces/nothing in regex mode.
I tend to remove them, since I know that my hierarchical ranking strategy is one that would not mix well with more typically moderate rankings (I make extensive use of the range -5 to 60+, with a few 3-figure rankings thrown in for good measure, and very "open" regex keyphrases.) It works for me, but could unintentionally override much other keyphrasing in other people's bots if applied carelessly or indiscriminately.