Newcomers

This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.

Posts 5,176 - 5,187 of 8,130
Many questions are answered in the FAQ.


16 years ago #5176
I've done a quick clean-up of the plug-ins page. I removed the broken and useless plug-ins, updated the text, and changed the layout to fit the new design. I also added some checks to prevent some of the more useless plug-ins from being created.

16 years ago #5177
Thanks prof ^_^

16 years ago #5178
Hi!
I just created a new shared plug-in under "phrases". It is called (verb-qstart). It currently contains:

am,are,
can,could
did,do,does,
had,has,have,
is,
may,might,must,
shall,should,
were,will,would,

. These are all verbs one might start a question with, e.g., "May I go?" So for example you might write:

(verb-qstart) (adjartnounprep) (verb-trans) (adjartnounprep)

Yes, (key2) (key1) (key3) (key4)

For example, to the input

May the Mayor of London kiss the winner of the contest?

this would reply,

Yes, the Mayor of London may kiss the winner of the contest

.

Let me know if you see any errors or missing cases!

16 years ago #5179
More precisely, they are auxiliary verbs.

16 years ago #5180
Thanks for the cleanup, Professor!

16 years ago #5181
Of course, some of the very same sentences could be exclamations:

May the Mayor of London kiss the winner of the contest!

Isn't English wonderful?

16 years ago #5182
Professor, none of my plug ins are working.

16 years ago #5183
Is there a way to write comments into a (downloaded) language center without messing it up?

16 years ago #5184
Good question. My bits inside pointy brackets disappear--can you "//comment" in the pointy brackets and not effect any PF script?

16 years ago #5185
For makers of bots too large to use the non-expert upload:

I got an error uploading "Irina Khalidar". As text it gave me "xnomatch [0]" and it said that it was wrongly indented or something. AAAIEEEEEEEEEEEEEEEE!!! There must be in the high hundreds of "xnomatch [0]" in "Irina Khalidar"! I'll give you my solution, though I hope one of you has a less tedious one!

I made a deliberate error of another kind and placed it in the middle of the download. I tried to upload it; of course I got an error. It was the old error, so I knew the old error must be above the new error. So I moved the new error up to 1/4 of the way through the file. And so on.

In general,

if you get the old error, that means that the old error is earlier in your file than the new error, so move the new error upward

if you get the old error, that means that the old error is later in your file than the new error, so move the new error downward

In this way you can bracket the old error with greater and greater precision until you know its location with enough precision that you can spot it.

16 years ago #5186
Is there a way to write comments into a (downloaded) language center without messing it up?

just add an untriggerable keyphrase next to the one you're commenting - something like:

I like (noun) [10,0]
. . . Hey, I like (key1) too!
. . . Doesn't everyone like (key1)?
I like (noun) zzzcomments [-127,0]
. . . Put your comments in the responses -
. . . as many as you need!
<0>

Since there is no such word as zzzcomments in the WordNet dictionary, and the keyphrase is NOT raw (and no KP ranked -127 could ever be triggered anyway,) you can add all the comments you want in its responses, and know that there is no danger of them leaking into a conversation.

I would advise using a consistent format, like 3 'Z's in commented lines - it makes it a lot easier to see and search for comments (or other non-triggerable KPs - they're sometimes useful for other purposes too.)
And by repeating the keyphrase it's referring to in the first part of the comment name ("I like (noun)",) you know it will always be exported immediately following the keyphrase to which it refers.

You could alternatively use responses within the original keyphrase matched to unfulfillable conditions (like "if exist (mem-memthatdoesntexist)<0>",) but it's a lot harder to follow when you come to read the export file later.

16 years ago #5187
Pious demigod saga -- thanks!


Posts 5,176 - 5,187 of 8,130

» More new posts: Doghead's Cosmic Bar