Skip to content

Commit

Permalink
dutch final
Browse files Browse the repository at this point in the history
  • Loading branch information
neurlang authored and Your Name committed Oct 9, 2024
1 parent bd03b04 commit 2ab3522
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 265 deletions.
2 changes: 1 addition & 1 deletion dicts/dicts.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func GetDict(lang, filename string) ([]byte, error) {
case "Luxembourgish":
return luxembourgish.Language.ReadFile(lzw(filename))
case "Dutch":
return dutch.Language.ReadFile(filename)
return dutch.Language.ReadFile(lzw(filename))
case "Portuguese":
return portuguese.Language.ReadFile(lzw(filename))
case "Russian":
Expand Down
2 changes: 1 addition & 1 deletion dicts/dutch/language.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package dutch

import "embed"

//go:embed *.tsv language.json weights0.json.gz
//go:embed *.tsv language.json weights1.json.lzw
var Language embed.FS
303 changes: 40 additions & 263 deletions dicts/dutch/language.json
Original file line number Diff line number Diff line change
@@ -1,270 +1,47 @@
{"Map":{"'s":["s"],
"-a":["","ɑ"],
"-d":["d"],
"-g":["ɣ","eːɣ"],
"-k":["k"],
"-m":["m"],
"-n":["n"],
"-r":["r"],
"-z":["z"],
"a":["ɑ","","a","ə"],
"aa":[""],
"aai":["aːj"],
"ae":[""],
"ai":["ɑj","ɛː"],
"ail":["eːɪl","ɑjl"],
"aj":["aːj","ɑj"],
"antia":["ɑnʃaː"],
"au":[""],
"auw":["ʌʊ"],
"ay":["aːj"],
"b":["b","p","əb"],
"bb":["b","pp"],
"c":["k","s","ɛ"],
"cc":["kk","ks"],
"centrum":["ɛntrɵm","s"],
"ch":["x"],
"ck":["k"],
"cks":["ks","k"],
"ct":["kt","ks"],
"d":["d","t"],
"dcent":["dsɛnt"],
"dd":["d"],
"dde":["",""],
"dden":["dən"],
"de":["","","deː"],
"dee":["deː"],
"deen":["deːn"],
"den":["dən","dɛn","dɛŋ"],
"denn":["dən","dɛn"],
"deu":["døː"],
"di":["","di",""],
"digen":["dəɣən"],
"dje":["tjə"],
"ds":["ts","ds","dz"],
"dsbl":["dzbl"],
"dt":["t","tt"],
"dti":["tti"],
"dy":["di"],
"dz":["dz","ts"],
"e":["ə","ɛ","","s","e"],
"eb":["əb","ɛb","eːb","ɛp","b"],
"ebb":["ɛb"],
"ech":["ɛx"],
"ed":["əd","eːd","ɛd","d"],
"ede":["eːdə","ədeː","ədɛ","eːdɛ",""],
"ee":[""],
"eed":["eːt"],
"eedde":["eːdə"],
"eedt":["eːt"],
"eek":["eːk","eːg"],
"eel":["eːl"],
"een":["eːn",""],
"eeng":["eːŋ"],
"eenk":["eːŋk"],
"eens":["eːns"],
"eep":["eːp"],
"eer":["ɪːr","ɪr","r","ɪ"],
"eet":["eːt"],
"eett":["eːt"],
"eeuw":[""],
"ef":["ɛf","f","əf"],
"eff":["ɛf"],
"eg":["eːɣ","əɣ","ɛx"],
"egg":["ɛɣ"],
"ei":["ɛɪ"],
"eik":["ɛɪk"],
"eiken":["ɛɪkən"],
"ek":["ɛk","ək","eːk","k"],
"ekk":["ɛk"],
"el":["əl","ɛl","eːl"],
"ell":["ɛl"],
"en":["ən","ɛn","eːn"],
"eng":["ɛŋ","əŋ"],
"enj":["ɛɲ"],
"enk":["ɛŋk","əŋk"],
"enn":["ɛn","ən"],
"ep":["əp","ɛp","eːp"],
"er":["ər","ɛr","ɪːr","r","ɪ"],
"erik":["ɪːrɪk","ɪːrik"],
"et":["ɛt","eːt","ət","ɛ","t"],
"etje":["ɛtjə","tjə","ɛtjɛ"],
"ett":["ɛt","ət"],
"eu":["øː"],
"eui":["ə","øː"],
"eën":["ən"],
"eër":["əɛr"],
"f":["f"],
"fb":["vb","fb"],
"fd":["vd","ft","f"],
"ff":["f","ff"],
"ft":["ft"],
"g":["ɣ","x"],
"gertje":["ɣɛrtjə"],
"gg":["ɣ","x"],
"ggertje":["ɣɛrtjə"],
"gne":["ɲə"],
"h":["h","haː"],
"ha":["","haː","ɑ"],
"haa":["haː"],
"heen":["heːn"],
"i":["ɪ","i","j","ɛɪ","ə"],
"ich":["ɪx"],
"id":["ɪd","ɪt","jt"],
"idd":["ɪd","ɪt"],
"idee":["ideː"],
"iden":["idɛn"],
"ids":["ɪts","ɪds"],
"idt":["ɪt"],
"ie":["i","ieː"],
"ied":["id","it"],
"iedt":["it"],
"ieg":["ix"],
"iegen":["iɣən"],
"iet":["it"],
"ieën":["iən"],
"ieënnegent":["iəneːɣənt"],
"ieënz":["iənz"],
"ig":["əx","əɣ","","ɪɣ","ɪx"],
"igde":["ɪxdə"],
"igg":["ɪɣ","ɪx"],
"ij":["ɛɪ"],
"ijk":["ək","ɛ","ə"],
"ijken":["ɛɪkən"],
"ijks":["əks","ɛɪks"],
"ikken":["ɪkən"],
"it":["it","ɪt","jt"],
"itje":["jtjə","ɪtjə"],
"its":["ɪts"],
"itte":["ɪtə"],
"iën":["iən"],
"j":["j","ɪ"],
"je":["","jəs",""],
"jken":["ɪkən"],
"k":["k"],
"kd":["gd"],
"ken":["kən","kɛn","k"],
"kenk":["kəŋk"],
"kk":["k"],
"kken":["kən"],
"koek":["kuk"],
"ks":["ks"],
"kt":["kt"],
"l":["l"],
"le":["","","leː"],
"lee":["leː"],
"lei":["lɛɪ"],
"ler":["lɪːr","lər"],
"leu":["løː"],
"lij":["","lɛɪ"],
"link":["lɪŋk"],
"ll":["l","ll"],
"lle":["","y"],
"llink":["lɪŋk"],
{"Map":{"":[],
"a":["ˈɑ","ˈaː","ɑ","ˌɑ","ˌaː",""],
"aa":["ˈaː","","ˌaː"],
"au":["ˈʌʊ","ʌʊ"],
"b":["b","p","",""],
"c":["k","s"],
"ch":["x","ʃ"],
"d":["d","t","",""],
"e":["ə","ɛ","ˈɛ","ˌɛ","ˌeː","ˈeː","ˈɪː","","ˌɪː","ɪː"],
"ee":["","ˌeː","ˈeː","ˈɪː","ˈɪ","ɪː","ˌɪː"],
"eu":["øː","ˌøː","ˈøː"],
"f":["f","v"],
"g":["ɣ","x","ʒ","ɣˌ"],
"h":["h"],
"i":["ɪ","ˈɪ","i","ˌɪ","ˈi","ˌi","j"],
"ie":["ˈi","ˌi","i",""],
"ig":["əx","əɣ","iɣˌ","ɪɣ","ɪx"],
"ij":["ˈɛɪ","ə","ˌɛɪ","ɛɪ"],
"j":["j"],
"k":["k","","g"],
"l":["l","",""],
"m":["m"],
"mbrood":["mbroːt"],
"mde":["mdə"],
"mm":["m","mm"],
"n":["n"],
"nc":["nk"],
"nce":["nsɛ","nsə"],
"nch":["nx"],
"negen":["neːɣən","nəɣeːn","nəɣən"],
"n":["n","ŋ","",""],
"ng":["ŋ",""],
"nigen":["nəɣən"],
"nk":["ŋk","nk"],
"nn":["n","nn"],
"nse":["nsə","nsɛ"],
"o":["ɔ","","o"],
"o-":[""],
"och":["ɔx"],
"oe":["u"],
"oek":["uk"],
"og":["oːɣ","ɔɣ","ɔx","oːx"],
"ogg":["ɔɣ"],
"ollen":["ɔlən"],
"oo":["","ɔː"],
"oog":["oːx"],
"orst":["ɔrst"],
"ou":["ʌʊ"],
"ouw":["ʌʊ"],
"nj":["ɲˈ","ɲ"],
"o":["ˈɔ","ɔ","ˌɔ","ˈoː","ˌoː",""],
"oe":["ˈu","u","ˌu"],
"oo":["ˈɔː","ˈoː","","ˌoː","ɔː","ˌɔː"],
"ou":["ˈʌʊ","ˌʌʊ","ʌʊ"],
"ouw":["ˌʌʊ","ˈʌʊ","ʌʊ"],
"p":["p"],
"pp":["p"],
"q":["k"],
"r":["r","ər","ə","rs"],
"rken":["rkən"],
"rr":["ɾr","rr"],
"rs":["rs","rz"],
"rz":["rz"],
"r":["r","","","ɾ"],
"s":["s","z"],
"sbrie":["zbri"],
"sch":["sx","s"],
"sd":["zd","st"],
"sg":["sx"],
"siemeu":["zimøː"],
"sion":["ʃoːn"],
"sistent":["s"],
"sj":["ʃ"],
"sje":["sjə","ʃ"],
"ss":["s","ss"],
"ssch":["sx"],
"sst":["st"],
"st":["st"],
"stt":["st"],
"sz":["s"],
"t":["t","ɪt"],
"td":["t"],
"tdij":["tɛɪ"],
"te":["","","teː","tɪː","t","ə"],
"tee":["teː",""],
"tennegen":["təneːɣən"],
"th":["t"],
"ti":["","ti","tsi"],
"tien":["tin"],
"tienja":["tiɲaː"],
"tienjaa":["tiɲaː"],
"tij":["tɛɪ"],
"tion":["ʃoːn"],
"tje":["tjə","tjɛ"],
"ts":["ts","tz"],
"tsi":["tsi"],
"tsj":[""],
"tss":["ts"],
"tt":["t"],
"tte":[""],
"ttien":["tin"],
"ttienja":["tiɲaː"],
"ty":["ti"],
"tz":["tz"],
"té":["teː"],
"u":["ɵ","y"],
"ui":["œy"],
"uu":["y"],
"v":["v"],
"viaan":["viaːn"],
"w":["ʋ","ʊ"],
"weer":["ʋɪːr","ʋɪr","ʋɪːɾ"],
"wer":["ʋɛr","ʋɪːr"],
"werk":["ʋɛrk","ʋərk"],
"wn":["wn"],
"sj":["ʃ","sj"],
"t":["t","s","",""],
"u":["ˈɵ","ɵ","ˌɵ","ˈy","y","ˌy"],
"ui":["ˈœy","ˌœy","œy"],
"v":["v","f",""],
"w":["ʋˈ","ʋˌ","ʋ","w","ʊ","v"],
"x":["ks"],
"y":["i",""],
"yg":["ɪx"],
"z":["z"],
"ziging":["ziɣɪŋ"],
"é":[""],
"y":["i","ˌi","ɪ","ˈɪ","ˈi","j","ˌɪ"],
"z":["z",""],
"ë":["ə"],
"ën":["ən","ɛn"],
"ënn":["ən"],
"ër":["ər"],
"ëriek":["ɪːrik"]}
,
"SrcMulti": [],
"DstMulti": [],
"SrcMultiSuffix": [],
"DstMultiSuffix": ["ː"],
"PrePhonWordSteps": [
{"Trim": ".,"},
{"ToLower": true}
],
"DropLast":["s","t","e","p"]}
"ï":["ɪ"]},"SrcMulti":null,"DstMulti":null,"SrcMultiSuffix":null,"DstMultiSuffix":["ː"],
"DstMultiPrefix":["ˈ","'","ˌ"],
"DropLast":null,"SplitBefore":null,"SplitAfter":null,"PrePhonWordSteps":[{"Trim":".,"},{"ToLower":true}]}
Binary file removed dicts/dutch/weights0.json.gz
Binary file not shown.
Binary file added dicts/dutch/weights1.json.lzw
Binary file not shown.

0 comments on commit 2ab3522

Please sign in to comment.