c871fa6a2d58e50f6a43eb10430550c3eda33e06
fenris added small test

fenris authored 7 years ago

1) 
2) /**
3)  * @author fenris
4)  */
5) function main()
6) {
Fenris Wolf foo

Fenris Wolf authored 7 years ago

7) 	let concepts = [
8) 		new Concept("noun", "bread; food made of flour", ["food"]),
9) 	];
fenris added small test

fenris authored 7 years ago

10) 	let words = [
11) 		new Word("pg", "braudą", "/ˈbrɑu̯.ðɑ̃/"),
Fenris Wolf foo

Fenris Wolf authored 7 years ago

12) 		new Word("de", "Brot", "/bʁoːt/"),
13) 		new Word("nb", "brød", "/brøː/"),
14) 	];
15) 	let translations = [
16) 		new Translations(concept[0], words[0]),
17) 		new Translations(concept[0], words[1]),
18) 	];
19) 	let wordfragments = [
20) 		new Wordfragment("pg", "au", "/ɑu̯/"),
21) 		new Wordfragment("de", "o", "/oː/"),
22) 		new Wordfragment("nb", "ø", "/øː/"),
23) 	];
24) 	let transitions = [
25) 		new Transition(wordfragments[0], wordfragments[1]),
26) 		new Transition(wordfragments[0], wordfragments[2]),
27) 	];