mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 16:38:14 +00:00
Support - in arpabet.
This commit is contained in:
1 parent
196744b976
commit
6cb4dac63b
1 file changed
+1
-1
+1
-1
@@ -30,7 +30,7 @@ impl ArpabetDictionary {
|
||||
|
||||
// Format resembles the following,
|
||||
// ABBREVIATE AH0 B R IY1 V IY0 EY2 T
|
||||
let re = Regex::new(r"^([\w']+)\s+(.*)\n$").unwrap();
|
||||
let re = Regex::new(r"^([\w-']+)\s+(.*)\n$").unwrap();
|
||||
|
||||
while try!(reader.read_line(&mut buffer)) > 0 {
|
||||
match re.captures(&buffer) {
|
||||
|
||||
Reference in new issue
Block a user