Commit Graph

98 Commits

Author SHA1 Message Date
bringert
46ca2e7b1a Changed SRGS SISR printing to be closer to the current working draft standard, as supported by the WebSphere implementation (and thus Opera). 2006-12-08 19:53:44 +00:00
bringert
bb9ec5c21a Removed extra comma in import list of src/GF/Speech/Relation.hs. This prevented compilation on current ghc HEAD. 2006-09-13 16:46:07 +00:00
bringert
d71e8b65d8 Disable special treatment of lists in SRGS+SISR generation, since OptimTalk can't handle it. 2006-05-31 19:41:05 +00:00
bringert
817a6a488b VoiceXML generation: use cond attribute with blocks, instead of having ifs inside. Recommended by OptimSys support. 2006-04-27 09:30:59 +00:00
bringert
3b3570201a Added debugging flag to generated VoiceXML. 2006-04-20 09:46:54 +00:00
bringert
9b38240354 Use quest_Cat to generate questions in the VoiceXML printer. 2006-04-19 09:03:19 +00:00
bringert
4d3dc4ac54 Look at both command-line and grammar startcat falgs in pg commands. 2006-04-18 12:42:20 +00:00
bringert
dbd9a25162 Fixed left recursion removal to not create cyclic rules. 2006-04-13 15:07:17 +00:00
bringert
c47da3d351 Removed cycles when building SRGs, to avoid getting left-recursive grammars. 2006-04-13 14:47:37 +00:00
bringert
26b61d82ee generate unique new category names when removing left recursion from cfgs. 2006-04-13 14:29:27 +00:00
bringert
256b593ae5 Fixed bug in SRG top-down filtering where the start category would be removed if it wasn't referenced by itself. 2006-04-13 14:18:13 +00:00
bringert
4609965d71 Added top-down filtering to the GSL printer. 2006-04-13 13:33:35 +00:00
bringert
0fef8d5675 The SLF removeTrivialEmptyNodes optimization could orphan the final node. Fixed this by not bypassing final nodes. 2006-04-12 23:22:35 +00:00
bringert
b67268cc79 In GSL generation: remove punctuation before LR analysis. 2006-03-31 15:52:03 +00:00
bringert
30abcf023c Added colon to the list of punctuation chars in GSL generation. 2006-03-31 15:31:33 +00:00
bringert
04300a9e0d Replaced all used of Data.FiniteMap with Data.Map. 2006-03-20 12:49:31 +00:00
bringert
1738be3a75 SRGS generation: use XML module escape mechanism. Added beginnings of a not yet working SRGS minimization function. 2006-03-03 10:40:53 +00:00
bringert
21e611f513 Towards a working VoiceXML generator. 2006-03-03 10:40:23 +00:00
bringert
d3aac86052 VoiceXML generation: fixed threading of existing values through subdialog calls. 2006-02-06 16:45:59 +00:00
bringert
07b34ff780 Moved general XML stuff to GF.Data.XML. Started working on VoiceXML generation. 2006-02-03 18:43:06 +00:00
bringert
390efcd43c SRGS: add top-level rules for each GF category. 2006-02-01 19:00:48 +00:00
bringert
333d7ba42a Include GF version and compile date in SRGS meta creator tag. 2006-02-01 18:09:47 +00:00
bringert
585e6f1554 SRGS semantic results for list categories is now an array. 2006-02-01 18:03:13 +00:00
bringert
df8b2ab6b8 First version of SRGS with semantic tags. 2006-02-01 16:23:14 +00:00
bringert
b7f64b384b Escape backslashes and double quotes in SRGS attribute values. 2006-02-01 10:24:37 +00:00
bringert
cf61a92bc8 Set xml:lang in SRGS grammars to the value of the language flag. 2006-02-01 10:16:40 +00:00
bringert
036de8d94e Use right start category names in si command. 2006-01-20 18:20:02 +00:00
bringert
6370fbfec5 Use cat and language in ATK si. Support language switching with ATK. 2006-01-17 02:13:57 +00:00
bringert
9b7ce588b2 Fixed-point iterate unneccessary node removeal. 2006-01-05 20:55:13 +00:00
bringert
ededda152b Generate monolithic FAs by expanding an MFA. 2006-01-05 20:35:22 +00:00
bringert
e76e2e754a Added monolithic SLF builind back in. 2006-01-05 19:34:12 +00:00
bringert
795078eece Sort sub-networks topologically. HTK's HBuild seems to require this. 2006-01-05 19:03:31 +00:00
bringert
af905434a2 Remove unused sub-networks when generating multiple FAs. 2006-01-05 17:46:30 +00:00
bringert
6958b7bb7b Remove more unneccessary nodes in SLF networks. 2006-01-05 16:48:55 +00:00
bringert
0603e75a14 Refactored Graph module. Remove some unneccessary states in slf networks. 2006-01-05 16:35:04 +00:00
bringert
3360bd3e7b Print slf_graphviz with subgraphs. 2006-01-05 12:59:36 +00:00
bringert
718b6a5fd2 Build SLF networks with sublattices. 2006-01-04 21:41:12 +00:00
bringert
a9ae24fbc5 Finite state networks: more strictness. alternative (still unused) implementation of reachable. 2005-12-29 21:35:40 +00:00
bringert
79d771ab1d Fintie state networks: fixed stack overflow problem with strictness in Graph and FiniteState. Some clean-up and smaller performance fixes. 2005-12-29 20:24:34 +00:00
bringert
72c2289857 Finite state networks: replace some lookup tables with maps. Rewrite closure for speed. 2005-12-29 16:29:21 +00:00
bringert
999cb3bc07 Finite state minimization: improved performance by using Set State instead of [State] as DFA labels. 2005-12-29 15:55:48 +00:00
bringert
9981704c5f Finite state network generation: reimplemented getOutgoing using Data.Map to improve performance of minimize with large networks. 2005-12-29 13:33:58 +00:00
bringert
5c12a73dae Some performance improvements in the FA generation. 2005-12-22 23:16:15 +00:00
bringert
cb9769788e Some tracing and formatting stuff looking for the the stack overflow problem in the FA generation. 2005-12-22 18:04:05 +00:00
bringert
5d61388d77 Don't import toLower in PrSLF. 2005-12-20 15:17:43 +00:00
bringert
18a57aa56a Added semi-working speech_input command. 2005-12-13 21:03:56 +00:00
bringert
bb545d2faa Use tags in SLF generation to get out a parsable string. 2005-12-09 13:35:50 +00:00
bringert
a35dbbeeb8 SLF generation: make sure that there is only one final node, and that it is actually final. 2005-12-08 16:01:13 +00:00
bringert
f59a16876a Make words in SLF language models upper case. 2005-12-02 12:55:24 +00:00
bringert
09a705d192 Prepared for generation of finite automata in C. 2005-11-10 15:43:44 +00:00