xmoonproductions.org https://www.xmoonproductions.org/ |
|
ai/nlp/ https://www.xmoonproductions.org/viewtopic.php?f=30&t=5083 |
Page 1 of 1 |
Author: | enkephalin07 [ Thu May 18, 2017 4:50 am ] |
Post subject: | ai/nlp/ |
This NLP script looks like it was written by someone who learned English solely from the internet. If it's your second language that's quite an achievement, but if it's your first then it would behoove you to stay awake in class more often. The rules of grammatical syntax have the same logical consistency as a programming language, and if you studied them from that perspective you would find it simple to port them to executable code. Parts of speech need to be clearly defined in order to define "natural" sentence structures. Aside from the grammar, there are a lot of mistaken entries: This in "nlp_greet.txt": Code: #greetval = <hee> : hello This in "nlp_verb.txt": Code: #event = <sm> : bsdm Code: #event = <hardcore> : sex #event = <hentai> : sex Code: #doi = <doing> : do Code: #verb = <anal> : anal #verb = <blow> : blowjob This in "nlp_rewrite.txt": Code: <sex> : <fuck> Quote: <u> : <you> |
Author: | xpadmin [ Thu May 18, 2017 8:52 am ] |
Post subject: | Re: ai/nlp/ |
Good points, thanks |
Author: | GamerKarim21 [ Thu May 18, 2017 10:45 pm ] |
Post subject: | Re: ai/nlp/ |
how is the project going for 4.0 any updates is it stilll alive or canceled? |
Author: | enkephalin07 [ Sun May 28, 2017 4:45 pm ] |
Post subject: | Re: ai/nlp/ |
I see a handful of search patterns that use a form of 'be' in the same sentence as 'is'. That's probably the most irregular verb in the language. 'to be' is the infinitive form of 'is', and 'be' is only used as the imperative form, eg "Be quick or be dead." Someone who uses 'be' in the present tense is probably using it ironically, because even foreign speakers don't make that mistake. This pattern: Code: <#actor * is * been * VERBi OBJ> isn't natural because 'been' is the past participle of the same verb. "#actor was" would be most natural there., and the only auxiliary verb that could go with 'been' is 'has/had/have' "How have you been?" I think your patterns in general are way too liberal with the wildcards for filtering natural language. If you start with the assumption that garbage is coming in, then you've already contaminated your output quality. If you process language the way people naturally do, then you could quicken your word searches and formulate more plausible and comprehensive outputs. People are receptive to patterns, and from the first word they begin anticipating the next by word form, whether they consciously know the rules or not. Start searches by the most common parts of speech a sentence can begin with and that will inform you of the next likely parts of speech. If a speaker insists on using unnatural language it will take longer to find words and patterns, but simulated personalities aren't obligated to rescue the semantic survivors from the wreckage of a speaker's communication, so you could terminate the syntax matching at any time according to relationship values and the listener's perception of the speaker. Just translate the semantic values of words already identified to determine whether the listener would reply with a curt dismissal or an enraged rant. |
Author: | riftporn [ Tue May 30, 2017 10:56 am ] |
Post subject: | Re: ai/nlp/ |
IMO the issues with NLP are: -unusable with VR -unusable if you only got one hand free (*cough*) -not self explaining ("what can I type?") The fact that the patterns have been implemented badly is probably not even important in this case. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |