jtrace_create_lexicon: Create jTRACE lexicon

Description Usage Arguments Author(s) References See Also Examples

View source: R/lexicon.R

Description

Create jTRACE lexicon

Usage

1
jtrace_create_lexicon(phonology, frequency, lexicon_name)

Arguments

phonology

Character vector with the jTRACE phonological transcription of the word forms

frequency

Numeric vector with the lexical frequencies of the word forms

lexicon_name

Character string indicating the name of the lexicon that will be generated

Author(s)

Gonzalo Garcia-Castro gonzalo.garciadecastro@upf.edu

References

Strauss, T. J., Harris, H. D., & Magnuson, J. S. (2007). jTRACE: A reimplementation and extension of the TRACE model of speech perception and spoken word recognition. Behavior Research Methods, 39(1), 19-30.

See Also

jtrace_list_lexicons for listing available lexicons, and jtrace_get_lexicon for importing a lexicon.

Examples

1
2
3
4
5
6
## Not run: 
my_phons <- c("plEIn", "kEIk", "taIÉ¡@", "ham", "sit")
my_freqs <- c(0.0483, 0.0804, 0.0288, 0.0282, 0.0767)
jtrace_create_lexicon(phonology = my_phons, frequency = my_freqs, lexicon_name = "my_lex")

## End(Not run)

bilingual-project/jtracer documentation built on Dec. 19, 2021, 9:42 a.m.