Get all of a word's possible spellings.

Share:

Description

For every word in the input list, the function will return the number of possible spellings as well as the actual spellings.

Usage

1

Arguments

words

Note that the words have to be in Sampa phonetic notation. Also note that the Sampa symbols left curly bracket and @ prime (where prime is an actual prime symbol) have to replaced by ZZZ and RRR respectively. Further note that the individual phonemes of a word have to be separated by an underscore _.

Details

The function returns a vector containing all of a word's possible spellings.

Author(s)

Antoine Tremblay, IWK Health Center, <trea26@gmail.com>

See Also

batch.possSpells.fnc

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# create a list of words
word.list<-c("d_ZZZ_s_t_I_t",
	     "j_u_l_o",
	     "f_A_m"
)
(as.matrix(word.list))

# process the words
x<-possSpells.fnc(word.list)
(matrix(x,ncol=4,nrow=29))