Commit Graph
138 Commits
Author SHA1 Message Date
Brandon Thomas 473ea31f4d Rebuild arpabet override / changes file from diff 2018-06-12 04:04:10 -04:00
Brandon Thomas 5521c47ebc move legacy use of 'try!' to '?' 2018-06-11 02:34:42 -04:00
Brandon Thomas b68009408c Update to utilize arpabet.rs 2018-06-11 02:24:39 -04:00
Brandon Thomas b5ee9a8980 Limit number of words or characters in the request
Config options for both.
2016-11-07 01:18:53 -05:00
Brandon Thomas 00db0b5854 server param for logging raw sentence 2016-11-07 00:50:42 -05:00
Brandon Thomas a7c880caf9 Remove old HTML pages and demo HTML handler 2016-11-06 22:58:12 -05:00
Brandon Thomas bb751edc0a turn on syllables by default 2016-11-04 02:51:57 -04:00
Brandon Thomas b358895089 Sample prefs on syllables
- Fix bug(s) preventing syllable system from working
- Add logging
- Add many syllable heuristics.
2016-11-03 02:58:09 -04:00
Brandon Thomas eeb213bb76 Better syllable synthesis
- Polysyllable fulfillment algorithm
  - w/ debug padding
  - Still needs "ends" support

- Lots of cleanup and improvement to syllable code
  - Added Polysyllable and Polysyllabic trait
  - Updated syllable heuristics for 3-syllable stretches
  - 4-syllable parsing
  - syllable debug logging + config
2016-11-02 03:26:09 -04:00
Brandon Thomas b011ce4b87 First implementation of "use syllables". 2016-11-01 03:34:29 -04:00
Brandon Thomas 0ea02db27f Refactor of synthesis-related code
- refactor and modularize code into "sentence synth" and "word synth"
- change synth params in code and UI
- change error types, better error handling
2016-10-30 02:25:52 -04:00
Brandon Thomas 3344acf6db move parser dep from synthesizer to handler 2016-10-28 01:05:10 -04:00
Brandon Thomas 20f2f7a2ad cleanup, move effects mod into synthesis::effects 2016-10-28 00:47:51 -04:00
Brandon Thomas 43a731b05e request hashing move to request struct, tests++ 2016-10-28 00:29:01 -04:00
Brandon Thomas 22d77a7c95 Remove old "diphones" param, add (unused) syllables param 2016-10-28 00:01:57 -04:00
Brandon Thomas 63d6b3257f Cleanup audio synth handler
So much bad early code.
2016-10-27 23:48:14 -04:00
Brandon Thomas 90a0e367fa Syllable-based synthesis (WIP)
- Vowels indicate syllable

- Algorithm tracks consonants and uses heuristics to attach them to a
  vowel island.

- Still work in progress.
2016-10-27 01:27:55 -04:00
Brandon Thomas 1b4e220b52 Cleanup, error handling 2016-10-25 05:02:26 -04:00
Brandon Thomas cc71a9d8b6 Date parsing 2016-10-25 03:53:36 -04:00
Brandon Thomas db9e412495 Synthesize currency values, eg. "$10 million" 2016-10-25 00:47:16 -04:00
Brandon Thomas 9b12fbacdc Pass tokens to synthesizer intead of strings
- Enables "pauses" for punctuation
- Enables "filler words" like "uh" for unknown words
2016-10-22 18:18:11 -04:00
Brandon Thomas aa9f5e9dad Use IntelliJ-Rust for development; include configs 2016-10-22 01:43:20 -04:00
Brandon Thomas 31eb0ea2b7 Move old frontend UI code to new directory 2016-10-20 00:35:15 -04:00
Brandon Thomas c6c3084a07 Cleanup handler setup, static asset serving 2016-10-18 03:10:59 -04:00
Brandon Thomas beb8303884 Static HTML handler
Maybe slightly wasted effort, but maps routes to static HTML files.
Will be good for doing several demos / concepts and hosting the old UI.
2016-10-18 01:39:02 -04:00
Brandon Thomas 49547edf42 5-phones 2016-10-15 23:32:16 -04:00
Brandon Thomas 46961eb43d w/ with 2016-10-15 19:11:00 -04:00
Brandon Thomas a70151d1f1 add "o'clock" to times 2016-10-15 17:46:41 -04:00
Brandon Thomas a3ecab05f0 Time parsing 2016-10-15 17:32:56 -04:00
Brandon Thomas 493749a86d time tokenizing 2016-10-14 02:44:19 -04:00
Brandon Thomas 52f986ad0d Twitter username and hashtag parsing 2016-10-13 03:22:08 -04:00
Brandon Thomas 202c290e1f CamelCase parsing to word expansion 2016-10-13 01:23:15 -04:00
Brandon Thomas e00d8abe0e Parse hyphenated words into words if in dictionary 2016-10-13 00:55:16 -04:00
Brandon Thomas e8ab38fda0 Cleanup symbol pattern matching 2016-10-13 00:08:31 -04:00
Brandon Thomas 376b19fc06 Currency symbol tokenizing 2016-10-12 23:50:04 -04:00
Brandon Thomas 514656f296 additional test 2016-10-12 22:44:36 -04:00
Brandon Thomas 0c4a69ba4a CamelCase tokenizing 2016-10-12 22:42:41 -04:00
Brandon Thomas c0a284a1ac Tokenize (but do not parse) hyphenated words 2016-10-12 22:05:04 -04:00
Brandon Thomas fd45d9416a plus symbol 2016-10-12 21:41:09 -04:00
Brandon Thomas dbc776292a easier to read logs; dictionary tweaks 2016-10-12 02:04:44 -04:00
Brandon Thomas 90d91f731f ordinal bugfix 2016-10-12 00:24:49 -04:00
Brandon Thomas bb5d9aca1c Ordinal tokenization and rendering 2016-10-11 23:57:51 -04:00
Brandon Thomas c319b82462 add arpabet words, remove parens, etc. 2016-10-11 03:59:52 -04:00
Brandon Thomas f9fd557a27 log timing 2016-10-10 04:02:38 -04:00
Brandon Thomas 03a3e24d8b Handle percentages 2016-10-10 03:44:23 -04:00
Brandon Thomas 3f29bed4ad get rid of junk (square brackets, asterisk, etc.) 2016-10-10 03:31:37 -04:00
Brandon Thomas 28aee28c12 Number parsing
Enables audio synthesis of numbers.
2016-10-10 03:04:01 -04:00
Brandon Thomas 535829e791 Add TODO file to keep track of goals 2016-10-09 18:51:41 -04:00
Brandon Thomas 99f84354ad Add an abbreviations system
- Abbreviations file maps abbreviations to a word list.

- This will function diffrently than initialisms, which are pronounced
  letter by letter.
2016-10-09 18:40:07 -04:00
Brandon Thomas 9b8263815b Improved code and quality of tokenization
- Distinct rounds of tokenization
- Split into modules
- Cleanup
2016-10-08 14:28:11 -04:00