validForms question
Closed this issue · 3 comments
silentrob commented
Sorry for cross posting this - I made a comment in Natural as well.
validForms("fought#v",cb) vs validForms("fought",cb) yield different results.
[ 'fight#v' ] vs undefined
By looking at the second, it seems like we iterate though all POS and should return an array of all the valid forms, but that is not the case. Is that the intended behaviour or a bug?
morungos commented
That's certainly not the intended behaviour. Good catch. In all cases, specifying a POS should simply filter the results.
morungos commented
A quick check shows that this is one of the exceptions in verb.exc
, so it's probably an interaction with the morphological exception handling.
silentrob commented
Amazing thanks!