FMATCH {MoLE}R Documentation

Compare forms

Description

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

Usage

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

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

[Package MoLE version 1.0.1 Index]