opencog / link-grammar

The CMU Link Grammar natural language parser
GNU Lesser General Public License v2.1
388 stars 119 forks source link

anysplit issues. #482

Open linas opened 7 years ago

linas commented 7 years ago

consider this:

link-parser amy
linkparser> !morp
linkparser> adsfasdfasdfasdf

this attempts the case wit one part (no splits) and with 3 parts (two splits) it never outputs any attempts to split into two parts.

Editing data/amy/4.0.affix and changing 3: REGPARTS+; to 4: REGPARTS+; never generates splits into 4 parts.

I tried setting "w|ts|pts|pms|pmms|ptts|ps|ts": SANEMORPHISM+; but this seemed to have no effect.

ampli commented 7 years ago

Care to create an "aqy" which does 4-way splits (or 3 or 2...)?

OK.

Sorry for the delay. I was busy fixing the incorrect null_count bug caused by my recent empty-word elimination. I hope to have a complete fix for that very soon (without using the empty-word again). The "aqy" extension will follow.

linas commented 7 years ago

Yeah, no hurry. I have yet to begin data analysis on the simpler cases. There's a long road ahead.