if (FALSE) {
##################################
# prerequisite: loaded ae emuDB
# (see ?load_emuDB for more information)
## Query database ae with EQL query "[Phonetic=t -> Phonetic=s]":
## 'Find all sequences /ts/ on the level named Phonetics'.
## and store result seglist in variable segListTs
seglistTs = query(ae, "[Phonetic == t -> Phonetic == s]")
## Query database ae with EQL query "[Syllable == S ^ Phoneme == t]":
## 'Find all items 't' on the level named Phoneme that are dominated by
## items 'S' in level Syllable.'
## Return legacy Emu result type 'emusegs'
query(ae, "[Syllable == S ^ Phoneme == t]", resultType = "emusegs")
## Query 'p' items on the level named Phoneme from bundles whose
## bundle names start with 'msajc07'
## and whose session names start with '00'
## (Note that here the query uses the operator '=' (meaning '==')
## which is kept for backwards compatibilty to EQL1.)
query(ae, "Phoneme = p", bundlePattern = "msajc05.*", sessionPattern = "00.*")
}
Run the code above in your browser using DataLab