-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56ff663
commit 452169d
Showing
5 changed files
with
52 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
import WordElementSet from "./elementset.js"; | ||
export declare function all(): WordElementSet[]; | ||
export declare const allElements: WordElementSet[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,45 @@ | ||
"use strict"; | ||
import WordElementSet from "./elementset.js"; | ||
export function all() { | ||
return [ | ||
new WordElementSet("affricates", "a", ["ch", "j"]), | ||
new WordElementSet("voiced dental plosive", "b", ["d", "dh"]), | ||
new WordElementSet("consonants", "c", [ | ||
"b", | ||
"c", | ||
"d", | ||
"f", | ||
"g", | ||
"h", | ||
"j", | ||
"k", | ||
"l", | ||
"m", | ||
"n", | ||
"p", | ||
"q", | ||
"r", | ||
"s", | ||
"t", | ||
"v", | ||
"w", | ||
"x", | ||
"y", | ||
"z", | ||
]), | ||
new WordElementSet("dentals", "e", ["d", "n", "t", "l"]), | ||
new WordElementSet("fricatives", "f", ["f", "v"]), | ||
new WordElementSet("voiceless dental plosives", "h", ["t", "th"]), | ||
new WordElementSet("voiceless", "i", ["h", "f"]), | ||
new WordElementSet("velar plosives", "k", ["c", "k"]), | ||
new WordElementSet("liquids", "l", ["l", "r"]), | ||
new WordElementSet("close mid vowels", "m", ["i", "ö", "eu", "oe", "e"]), | ||
new WordElementSet("nasals", "n", ["m", "n", "ng"]), | ||
new WordElementSet("stops", "o", ["t", "d", "p"]), | ||
new WordElementSet("plosives", "p", ["g", "k", "p", "b", "t", "d", "q"]), | ||
new WordElementSet("sibilants", "s", ["s", "sh", "z", "zh"]), | ||
new WordElementSet("stridents", "t", ["f", "v", "s", "sh", "z", "zh"]), | ||
new WordElementSet("vowels", "v", ["a", "e", "i", "o", "u"]), | ||
new WordElementSet("velars", "w", ["w", "wh", "g"]), | ||
new WordElementSet("accented vowels", "x", ["á", "é", "í", "ó", "ú"]), | ||
new WordElementSet("open vowels", "y", ["e", "ee", "i", "oo", "y", "ie"]), | ||
]; | ||
} | ||
export const allElements = [ | ||
new WordElementSet("affricates", "a", ["ch", "j"]), | ||
new WordElementSet("voiced dental plosive", "b", ["d", "dh"]), | ||
new WordElementSet("consonants", "c", [ | ||
"b", | ||
"c", | ||
"d", | ||
"f", | ||
"g", | ||
"h", | ||
"j", | ||
"k", | ||
"l", | ||
"m", | ||
"n", | ||
"p", | ||
"q", | ||
"r", | ||
"s", | ||
"t", | ||
"v", | ||
"w", | ||
"x", | ||
"y", | ||
"z", | ||
]), | ||
new WordElementSet("dentals", "e", ["d", "n", "t", "l"]), | ||
new WordElementSet("fricatives", "f", ["f", "v"]), | ||
new WordElementSet("voiceless dental plosives", "h", ["t", "th"]), | ||
new WordElementSet("voiceless", "i", ["h", "f"]), | ||
new WordElementSet("velar plosives", "k", ["c", "k"]), | ||
new WordElementSet("liquids", "l", ["l", "r"]), | ||
new WordElementSet("close mid vowels", "m", ["i", "ö", "eu", "oe", "e"]), | ||
new WordElementSet("nasals", "n", ["m", "n", "ng"]), | ||
new WordElementSet("stops", "o", ["t", "d", "p"]), | ||
new WordElementSet("plosives", "p", ["g", "k", "p", "b", "t", "d", "q"]), | ||
new WordElementSet("sibilants", "s", ["s", "sh", "z", "zh"]), | ||
new WordElementSet("stridents", "t", ["f", "v", "s", "sh", "z", "zh"]), | ||
new WordElementSet("vowels", "v", ["a", "e", "i", "o", "u"]), | ||
new WordElementSet("velars", "w", ["w", "wh", "g"]), | ||
new WordElementSet("accented vowels", "x", ["á", "é", "í", "ó", "ú"]), | ||
new WordElementSet("open vowels", "y", ["e", "ee", "i", "oo", "y", "ie"]), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
export { allElements } from "./elements.js"; | ||
export { default as WordElementSet } from "./elementset.js"; | ||
export { default as WordGenerator } from "./generator.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
"use strict"; | ||
export { allElements } from "./elements.js"; | ||
export { default as WordElementSet } from "./elementset.js"; | ||
export { default as WordGenerator } from "./generator.js"; |