#!/bin/sh
# include common script
. "`dirname $0`/common"

##### Dictionary flags
# missing tests: only, only, stem, alt1..alt7, dot, hasdot, text, verbsf, accent_before, sentence, native

test_phon en "'adbl0k adv'3:s ,abs@nt'i: g,astroUInt'EstIn@L" "adblock adverse absentee gastrointestinal" "\$1 - \$7"
test_phon en "fO@ ju:_:_: and Di:; aI k@mp'e@ D'i:" "for you and thee I compare thee" "\$u and \$u+"
test_phon en "aI w,oUnta#v_:_: b,Vt ju: S,Ud@v_:_: and DeI S'Udhav" "I won't have but you should have and they should have" "\$u1 and \$u1+"
test_phon en "@p,0n DIs aIvh,ad w0t aIvh'ad" "Upon this I've had what I've had" "\$u2 and \$u2+"
test_phon ro ",anum,ite d,umneat,a d'umneat,a" "anumite dumneata dumneata" "\$u3 and \$u3+"
test_phon en "ju: n'oU It_:_: bIk'0z DIs ha#z_:_: s'Ins b,i:n" "you know it because this has since been" "\$pause"
test_phon en "_!wID,In_! wID,In_! wID,In wID'In" "within within within within" "\$brk"
test_phon de "maR'i:A: l'i:st t'o:mA:s de:n ts'aIt_|,Ungzart,i:k@l f'Or" "Maria liest Thomas den Zeitungsartikel vor" "\$strend"
test_phon de "j'Etst _|,EtvA:" "jetzt etwa" "\$strend2"
test_phon hu "m'EgfiJEle:Se:hEz" "megfigyeléséhez" "\$unstressend"
test_phon en ",Em,oUt,i:d'i:; 0vDI2; ,aI;,A@s'i:; ,Em,Em'oU,A@p,i:dZ'i:"  "motd of the irc mmorpg" "\$abbrev"
test_phon fi "t'ule t:'&nne_:_: ja s'yYr r'uoka:"  "tule tänne ja syö ruokaa" "\$double"
test_phon en "'ast@r,Iska#st@r,Iska#st@r,Isk" "*****" "\$max3"
test_phon sk "n'aobed b'esjedla" "na obed bez jedla" "\$combine"
test_phon en "O:lt'3:n@t s'u:n 'O:lt3n,eIt_:_: and '0lt3n,eIts s'u:n 'O:lt3n,eIts" "alternate soon alternate and alternates soon alternates" "\$verb and \$verbf \(not $verbsf\)"
test_phon en "It Iz n,0t@ d'aIdZEst t@ daIdZ'Est" "it is not a digest to digest" "\$noun and \$nounf"
test_phon en "a# d'aIdZEst t@ n,0t 'adI2d 'Ekstr@ w'3:dz h'i@3 daIdZ'Est" "a digest to not added extra words here digest" "\$verbextend"
test_phon en "r'i:d t@bi r'Ed" "read to be read" "\$pastf and \$past"
test_phon en "D@ p'oUlIS p'0lIS" "The Polish polish" "\$capital"
test_phon en ",aIt'i: h'az j,u:'Es v,i:;'Es It ha#z ,Vs" "IT HAS US vs it has us" "\$allcaps"
test_phon af "d'e@lte@k@n_|'o@ k'api_|'o@ _|ak'yt_|'o@" "ö ô ó" "\$accent"
test_phon it "fig'uRatI v,U'Esse figUR'atI" "figurati vs figurati" "\$atstart"
test_phon it "s,Ents2a v,U'Esse s'Entsa" "senza vs senza" "\$atend"
test_phon en "m'eIlstr0m m'eIlstr0m" "mælstrom maelstrom" ".replace"
# rest of the numbers are tested in other test files
test_phon en "z'i@roU pOInt n'aIn n'aIn" "0.99" "_dpt"
test_phon ru "V#d;'in_ _:'i_: n'ojl n'ojl_d;Is;'AtYx" "1,00" "_dpt2"
test_phon en "t'u:h'VndrI2d@n tw'Enti" "220" "_0and"
test_phon af "(fr)avinj'O~(en) b'0st@n(af) S'ina" "avignon boston china" "_^_"
test_phon en "s'VtS _a#z" "such as" "(multiple  words)"
test_phon cmn "s.,i.35_|@r51_| t'iE35n_|_| tS;iou214_|" "12.9" "_dpt"