mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
w/ with
This commit is contained in:
1 parent
a70151d1f1
commit
46961eb43d
5 files changed
+14
-5
No files matched your search
@@ -23,6 +23,11 @@ Parsing
|
||||
|
||||
Synthesis
|
||||
- Get rid of static with "Uhhh", "Ummm" of variable length (option).
|
||||
- Syllables:
|
||||
- http://cdmckay.org/blog/2012/08/15/counting-syllables-and-detecting-rhyme-in-php/
|
||||
- http://stackoverflow.com/questions/33111685/convert-arpabet-to-ipa-with-stress
|
||||
- Or scrape something:
|
||||
- http://www.syllablecount.com/syllables/biologically
|
||||
|
||||
Cleanup
|
||||
- Refactor into a very well-defined "SpeakRequest" with all
|
||||
|
||||
+2
-2
@@ -20,6 +20,6 @@
|
||||
|
||||
# Logging verbosity
|
||||
log_handler = false
|
||||
log_parsing = true
|
||||
log_synthesis = false
|
||||
log_parsing = false
|
||||
log_synthesis = true
|
||||
|
||||
@@ -13,6 +13,10 @@ BRB be right back
|
||||
; This is a hack. They'll simply work due to the order of parsing.
|
||||
; ---------------------------
|
||||
911 nine one one
|
||||
WWI world war one
|
||||
WWII world war two
|
||||
WWIII world war three
|
||||
w/ with
|
||||
|
||||
; States
|
||||
; Some of these are commented out as they may interfere with words
|
||||
|
||||
@@ -109956,8 +109956,8 @@ SIDEARM S AY1 D AA0 R M
|
||||
SIDEARMS S AY1 D AA0 R M Z
|
||||
SIDEBAR S AY1 D B AA2 R
|
||||
SIDEBARS S AY1 D B AA2 R Z
|
||||
SIDED S AY1 D AH0 D
|
||||
SIDED(1) S AY1 D IH0 D
|
||||
SIDED(1) S AY1 D AH0 D
|
||||
SIDED S AY1 D IH0 D
|
||||
SIDEK S AY1 D EH2 K
|
||||
SIDEKICK S AY1 D K IH2 K
|
||||
SIDELINE S AY1 D L AY2 N
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ impl AbbreviationsMap {
|
||||
|
||||
// Format resembles the following,
|
||||
// "OMG oh my god"
|
||||
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