In my build, if I [ul]
[li]:testpattern (~noun) car (I match)[/li]
[li]:testpattern (~noun_singular) car (I match)[/li][/ul]
but, if I test for a match using[ul]
[li]car ? ~noun (I match)[/li]
[li]car ? ~noun_singular (I DO NOT match)[/li][/ul]
Note also a ^query(direct_svo car member ‘~noun_singular) misses too. Any ideas why I can’t match to ~noun_singular in code but can in :testpattern? Note that in code I’m:
@1 = ^burst( $$inputsentence)
$$wordCount = ^length(@1)
Loop ($$wordCount) {
$$word = ^first(@1)
if ( $$word ? ~noun_singular ) { MATCHED }
}