Support - in arpabet.

This commit is contained in:
Brandon Thomas committed 2016-09-18 01:43:51 -04:00
1 parent 196744b976
commit 6cb4dac63b
1 file changed
+1 -1
+1 -1
View File
@@ -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) {