Commit Graph

82 Commits

Author SHA1 Message Date
aarne 3b881e20b2 newlines and indentation in XML printing 2009-03-03 10:41:36 +00:00
krasimir 01fef5109c Perhaps -> Maybe refactoring and better error message for conflicts during module update 2009-02-23 12:42:44 +00:00
krasimir 0e1215a8f1 some dead code elimination in UseIO and ReadFiles 2009-01-31 20:36:41 +00:00
bjorn b8893fc0b5 Remove more unused stuff from GF.Data.Operations. 2008-12-01 21:33:53 +00:00
bjorn f50c4270ad Remove lots of old unused stuff from GF.Data.Operations. 2008-11-27 10:55:24 +00:00
bjorn 1145aefdbb More efficient implementation of topological sort.
Profiling the compilation of the OALD lexicon showed that 90-95% of the time was spent in topoSort. The old implementation was quadratic. Replaced this with O(E + V) implementation, in GF.Data.Relation. This gave a 10x speed-up (~ 25 sec instead of ~270 sec) for compiling ParseEng and OaldEng.
2008-11-27 10:29:29 +00:00
bjorn a4e731cc33 Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data. 2008-11-27 08:43:08 +00:00
bjorn 5dee98234e My profiling showed that the BinTree operations were responsible for about 60% of the CPU time when reading a large .gfo file. Replacing BinTree by Data.Map reduced this to about 6%, which meant about 50% reduction in total CPU time. 2008-11-26 15:44:22 +00:00
bjorn 52af19bd64 UTF8 encode all generated XML. 2008-08-22 09:47:42 +00:00
aarne e9e80fc389 changed names of resource-1.3; added a note on homepage on release 2008-06-25 16:54:35 +00:00
aarne b96b36f43d removed src for 2.9 2008-06-25 16:43:48 +00:00
bringert e4ffd51797 Moved Err definition to GF.Data.ErrM from GF.Data.Operations. This means the GF-embed does not have to include GF.Data.Operations. 2007-12-20 17:41:31 +00:00
bringert 5b01d912ce Replace all the different ErrM.hs modules with GF.Data.ErrM. 2007-12-20 17:34:12 +00:00
bringert 4ab0df67c5 Added newlines and ends of some files. This makes sed happy. 2007-12-20 17:07:56 +00:00
bringert 173d0ae876 Added Compos instance generation to the haskell_gadt printer. Added GF.Data.Compos module which is imported by the code generated by haskell_gadt. 2007-10-20 18:42:16 +00:00
aarne ed5b02d4aa checking name conflicts; some RGs don't work now 2007-06-17 21:56:27 +00:00
bringert 1fa928516c Added OPTIONS_GHC -fglasgow-exts to files that use GHC extensions. 2007-06-14 15:58:36 +00:00
bringert 169659c096 Get speechLanguage flag from both command-line and grammar. Reformat it to RFC3066 format (- instead of _) and use it in SRGS, VoiceXML and JSGF. 2007-01-21 16:33:44 +00:00
bringert 118468ce16 Added ETag constructor to GF.Data.XML.XML since not all tags can use the empty shorthand. 2007-01-07 23:57:29 +00:00
bringert 741dde5a2a Change input to the different SRG printers to be StateGrammar instead of CGrammar. This to allow looking at the types in SISR, and to reduce the number of argument passed from Custom. 2007-01-05 14:34:20 +00:00
bringert 0b7fef1a33 Use ebnf srg generation in PrSRGS. 2006-12-12 14:01:42 +00:00
bringert a4b0496378 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
aarne 13531a66a3 improved error reporting in .ebnf format parser 2006-11-24 17:09:40 +00:00
kr.angelov 4813788a9b tail call recursive implementation of BacktrackM 2006-06-21 19:17:25 +00:00
kr.angelov 98d0af8d73 add the chartAssocs function. It returns both the key and the item. 2006-06-08 21:19:40 +00:00
kr.angelov f7d8cdfc2e Add foldBM, foldSolutions and foldFinalStates functions 2006-06-01 10:12:38 +00:00
bringert b7e1e31909 Changes to make GF compile with GHC 6.5 from CVS: remove inlines use of !, change all latin-1 characters in haskell code to escapes. 2006-05-20 02:56:06 +00:00
peb 641fa54ddc inferred constants in profiles 2006-03-09 11:32:52 +00:00
aarne 3ff765620c distinguished uni and multi treebanks 2006-03-03 20:51:03 +00:00
bringert cbcdc01380 XML module: added CData support. Escape stuff that needs to be escaped in XML. 2006-03-03 10:38:49 +00:00
bringert 9bae44c37d Moved general XML stuff to GF.Data.XML. Started working on VoiceXML generation. 2006-02-03 18:43:06 +00:00
bringert bdf602b95c SRGS: add top-level rules for each GF category. 2006-02-01 19:00:48 +00:00
bringert fd0dfd7d4d First version of SRGS with semantic tags. 2006-02-01 16:23:14 +00:00
bringert 92f22c8f5c Use right start category names in si command. 2006-01-20 18:20:02 +00:00
bringert 5c0d9d52b3 Print slf_graphviz with subgraphs. 2006-01-05 12:59:36 +00:00
bringert e32472a9bb Some performance improvements in the FA generation. 2005-12-22 23:16:15 +00:00
aarne 524c4829f9 nondeterministic lexer, e.g. subseqs 2005-11-17 23:17:42 +00:00
bringert 1c4c17f1b6 More efficient implementations of mapPairsM and mapPairListM 2005-11-11 15:12:41 +00:00
bringert 928c84b36c Documented SRGS XML generation. Started working on support for probabilities in SRG generation. Added support for probabilities in for SRGS. 2005-11-01 19:09:04 +00:00
bringert f3bd409b1b Made removeIdenticalRules faster by using sortNubBy instead of nubBy. 2005-10-26 17:47:16 +00:00
bringert 9bb01bfc38 Generated finite state networks are now state minimal. 2005-09-22 15:56:05 +00:00
bringert eeb833ca43 Started wotking on NFA to DFA. 2005-09-14 17:00:19 +00:00
bringert a8bc5590af Added Graphviz module for graphviz stuff. Move a lot of utility functions to GF.Data.Utilities. 2005-09-14 14:17:29 +00:00
aarne e2cc1184d4 undo k and keep position in editor 2005-06-11 19:27:05 +00:00
aarne 5bf9a7fe70 BinTree vs. FiniteMap 2005-05-30 17:39:43 +00:00
peb 2b059b811d "Committed_by_peb" 2005-05-09 08:25:56 +00:00
bringert 5c9917ff8d Fixed module names and imports after giant file move. 2005-04-21 15:21:02 +00:00
peb 78108f7817 "Committed_by_peb" 2005-04-20 11:49:44 +00:00
peb fa6ba9a531 "Committed_by_peb" 2005-04-12 09:49:44 +00:00
peb ac00f77dad "Committed_by_peb" 2005-04-11 12:57:45 +00:00