FMATCH: Compare forms

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Determine match between a given (perceived) form and a list of forms (i.e., the mental representations).

Usage

1
FMATCH(target, lexicon)

Arguments

target

The form whose matching lexeme is to be identified

lexicon

The lexicon in which a match is sought.

Details

Characters are matched one by one from left to right. Mismatches are weighted according to onset priority: mismatches in the beginning of a word are more important than later ones.

Value

vector of matching scores rescaled to 1-0 range.

Author(s)

Sander Lestrade

See Also

ANALYZE

Examples

1
2
3
4
FOUND()
(lexicon=head(population[[1]]$nouns))
target=lexicon$form[1]
FMATCH(target, lexicon)

MoLE documentation built on May 2, 2019, 3:02 p.m.