Commit Graph
94 Commits
Author SHA1 Message Date
bjorn 475e1ea4d9 Inflect German Numeral pot01 ("ein") in gender and case. Needed to get phrases such as "eine grosse Pizza" correct when "eine" is a Numeral rather than indef art. 2008-06-25 17:30:50 +00:00
bjorn 4e5c83fa74 quote stirng in getDataDir as generated by make today 2008-06-25 17:20:16 +00:00
bjorn 408aa5b608 russian added operation for adding n prefix to pronouns after prepositions. 2008-06-25 14:16:09 +00:00
bjorn 7dd461ab15 russin: noun declesion 10: small animals 2008-06-25 13:54:18 +00:00
bjorn e6af6c2714 russian: fix neutral adjective-declined nouns 2008-06-25 13:30:05 +00:00
bjorn d87872f823 russian: no need to import Predef. 2008-06-24 23:16:01 +00:00
bjorn b14394afdc russian: new paradigms for adjectives, including overloaded smart paradigm. moved declension stuff to MorphoRus. changes LexiconRus to use new mkA. 2008-06-24 23:06:20 +00:00
bjorn 695fdca35a russian: more noun paradigm work 2008-06-24 21:22:47 +00:00
bjorn 0554bb1937 Remove lots of ununsed noun stuff from MorphoRus. 2008-06-24 21:21:59 +00:00
bjorn 26aba963e7 Russian: remove old noun paradigm type declarations. Overload mkN2. Move internal stuff so that it is not visible in the synopsis. 2008-06-24 20:35:51 +00:00
bjorn 0b881cb489 russian: new noun paradigms, including smart paradigm. Some things are still unhandled, notably vowel changes, -a plurals -u prepositions. I have changed the lexicon to use the new ones even though they are not finished, since it was in a pretty sorry state to begin with. 2008-06-24 18:44:41 +00:00
bjorn 984c5ecc48 Russian: some refactoring of verb conjugation. 2008-06-23 20:01:47 +00:00
bjorn 6762837d54 Remove prepos2Pl argument to mkN. It is always identical to preposPl. 2008-06-23 18:37:50 +00:00
bjorn b2fe0d881a Russian: remove a big chunk of ParadigmsEng which was pasted into ParadigmsRus and commented out. 2008-06-23 18:32:51 +00:00
bjorn 2ab39eb0ee russian: implement pronMu and pronVu in terms of a common operation 2008-06-23 18:28:05 +00:00
bjorn e668b6d466 russian: removed preposition o from some prepositional cases. don't understand why it was there. 2008-06-23 18:27:37 +00:00
bjorn a0da909916 russian: use pronOn to implement pronOno. 2008-06-23 18:06:23 +00:00
bjorn 1bcdd06409 russian: reimplement pronYa and pronTu in terms of a common operation. 2008-06-23 18:01:27 +00:00
bjorn fac2e5cf13 russin: implement -to pronouns in terms of the base ones. 2008-06-23 17:30:23 +00:00
bjorn a50c7e3a7c Russian: get rid of the Prepos2 case. Added an argument to Prepos instead to handle -y endings with the v and na prepositions. This saves us a few hundred lines of code. It's a bit pointless since the whole thing needs to be rewriten, but at least I'm getting familiar with the code. 2008-06-23 17:15:14 +00:00
bjorn 74715f4673 Collapse some unnecessairly expanded cases in the russian morphology. 2008-06-23 13:27:51 +00:00
bjorn 683a87ad59 SRG generation: start categories etc should be checked after category renaming. 2008-06-22 21:01:38 +00:00
bjorn 6ebf615655 Rename SRG categories after preprocessing, since pp may introduce illegal category names. 2008-06-22 20:28:39 +00:00
bjorn 8c71cc884b Added SLF, RegExp and Dot printing to exportPGF. 2008-06-22 12:01:29 +00:00
bjorn 3362b20647 Get GF.Speech.PrRegExp to compile. 2008-06-22 11:58:31 +00:00
bjorn 8c5a5298fe Added old GF.Speech.PrRegExp back in 2008-06-22 11:56:12 +00:00
bjorn d617a05a36 Get GF.Speech.SLF to compile in GF 3. 2008-06-22 11:51:53 +00:00
bjorn 0fb3221775 Added old GF.Speech.PrSLF back in 2008-06-22 11:31:06 +00:00
bjorn b2cb675317 Remove "srgs" output format name, use "srgs_xml" instead. 2008-06-17 12:30:19 +00:00
bjorn dacf248160 Refactor grammar export code. 2008-06-17 12:29:11 +00:00
bjorn fe6255bf2e Got GSL generation working. 2008-06-17 12:06:27 +00:00
bjorn 775761a885 Added old GF.Specch.PrGSL back in (still unchanged). 2008-06-17 11:58:51 +00:00
bjorn b043de5529 Handled undefined children in the gflib.js Fun.show() function.
This shouldn't really happen, but if it does, debugging is much easier.
2008-06-17 11:06:46 +00:00
bjorn a0d29773a6 Added all the syntax editor files from Moises.
This is the version that he sent to me on Fri, Apr 11, 2008 at 2:42 PM. I'm not sure if this is the latest version.
2008-06-16 17:42:20 +00:00
bjorn f117eb95c3 Handled renaming external SRG categories centrally. 2008-06-16 16:44:33 +00:00
bjorn c57218d9ba Added --sisr option for including SISR tags in generated SRGs. 2008-06-16 16:12:17 +00:00
bjorn 395dd70f58 Fix handling of external categories in SRG generation. 2008-06-16 15:49:17 +00:00
bjorn 6ba502589f Get JSGF generation to compile. Still untested. 2008-06-12 18:39:02 +00:00
bjorn a6b8857e09 Add GF.Speech.SRG.isExternalCat 2008-06-12 18:35:25 +00:00
bjorn f480dd3403 Rename GF.Speech.SRGS to GF.Speech.SRGS_XML 2008-06-12 18:24:26 +00:00
bjorn 3c2e1a15ba Added unmodified GF.Speech.PrJSGF back in. 2008-06-12 18:19:45 +00:00
bjorn f231a75b87 Exclude literal categories from generated VoiceXML. 2008-06-12 18:12:43 +00:00
bjorn 8d4dddfada Get VoiceXML generation working. 2008-06-03 20:05:52 +00:00
bjorn 783f5a0aec Added lookPrintName. 2008-06-03 19:56:51 +00:00
bjorn c334b15abf Added (still unchanged) GF.Speech.VoiceXML. 2008-06-03 19:34:08 +00:00
bjorn ea80441b08 Don't suffix start category name with _cat in SRGS XML printing. 2008-06-03 19:33:13 +00:00
bjorn 5dea982489 Added "bnf" output format for debugging. 2008-06-03 19:32:42 +00:00
bjorn c974ce4345 Added options to support SRG printing. 2008-06-03 19:20:18 +00:00
bjorn 30792a3fa3 Added speech recognition grammar generation code. There is no way yet to invoke the SRG printer, and only SRGS is included. 2008-06-03 18:53:53 +00:00
bjorn be2e8386a7 Add GF.Data.XML from old source. This is required by the SRGS printer. 2008-06-03 18:53:30 +00:00
bjorn b54c5ddb7c Fixed generated Haskell modules to use only the PGF module. 2008-06-02 15:47:56 +00:00
bjorn 1a14b51f51 Honor the --name flag when generating output files. Set module name in generated Haskell modules correctly. 2008-06-02 15:32:01 +00:00
bjorn 699cf456cb Changes lookConcrFlag to return Maybe. 2008-05-30 15:38:35 +00:00
bjorn aa010a84bd Refactor GFI to treat command line files and the i command uniformly. Disable CSE by default in GFI. 2008-05-30 15:20:28 +00:00
bjorn bec9d06fae Change setOptimization to produce Options, not a function over Options. 2008-05-30 15:20:09 +00:00
bjorn 7b52464a92 Added setOptimization function to GF.Infra.Options. I will need to do similar things for other options. 2008-05-30 13:56:50 +00:00
bjorn ea17e2678b Only print \n instead of CPU time in putPointE when printing the text message. This avoids printings lots of empty lines in silent mode. 2008-05-29 08:06:56 +00:00
bjorn 972df6996f Copy startcat flag to .gfo file. 2008-05-29 08:01:55 +00:00
bjorn 0a0412c036 Oops, inverted meaning of optBuildParser. 2008-05-28 19:56:12 +00:00
bjorn 22a165c266 Some printing / verbosity fixes. 2008-05-28 15:56:37 +00:00
bjorn a1944cd308 Added GF.Infra.GetOpt to GF.cabal 2008-05-28 15:56:25 +00:00
bjorn c7b016c07d Switch to new options handling.
This changes lots of stuff, let me know if it broke anything.

Comments:

- We use a local hacked version of GetOpt that allows long forms of commands to start with a single dash. This breaks other parts of GetOpt. For example, arguments to short options now require a =, and does not allo pace after the option character.

- The new command parsing is currently only used for the program command line, pragmas and the arguments for the 'i' shell command.

- I made a quick hack for the options for showTerm, which currently makes it impossible to use the print style flags for cc. This will be replaced by a facility for parsing command-specific options.

- The verbosity handling is broken in some places. I will fix that in a later patch.
2008-05-28 15:10:36 +00:00
bjorn 1408674411 Get rid of the 'f' type parameter to the module types.
This was only ever instantiated with Option, and made it diificult to change the options type.
2008-05-23 08:47:07 +00:00
bjorn 67b5eecba7 Set version number in configure.ac to "3.0-alpha". You need to rerun autoconf and configure to have this take effect. 2008-05-23 06:53:29 +00:00
bjorn 2c19600a17 Added GF.System.Readline and related modules back into src-3.0. 2008-05-23 06:31:52 +00:00
bjorn 747965ec22 Fix link to code.haskell.org account request page. 2008-05-13 18:26:46 +00:00
bjorn e9eeb9cfa4 Added short forms of adjectives to resource/russian. There is still no way to get at them through the resource API.
I'm not sure what the AI should be. Also, I think that some of the forms are wrong, but it's not clear to me exactly what classes of words each paradigm is for.
2008-05-09 19:16:56 +00:00
bjorn bfa013009c grammars/health/HealthRus.gf: comment out the linearizations of functions that are commented out in Health.gf. HealthRus now compiles (against resource-0.6). 2008-05-09 12:40:16 +00:00
bjorn 830358e5ca Added testexamples output files to darcs. This way, all you have to do to check for changes is to run testexamples, and then do "darcs what ." 2008-05-06 15:31:16 +00:00
bjorn d96d0f0a6e Added lib/resource/Examples/testexamples, a script which linearizes all the examples with all resource grammars, and saves the output to files. 2008-05-06 15:29:32 +00:00
bjorn 7cf94a854d Rename index.html to homepage.html. 2008-02-27 15:13:11 +00:00
bjorn 2332028191 Fix LatestCode link. 2008-02-27 15:12:54 +00:00
bjorn ff4aea8a1a Build gf-embed with -O2. 2008-02-26 17:22:38 +00:00
bjorn 4aff65964e Replace fromJust with fromMaybe + error message when looking up lintype in SimpleToFCFG. This makes problems easier to debug. 2008-02-26 14:00:15 +00:00
bjorn 9aa025007a Use [Dig] instead of Digits in Time, to avoid commas in English. 2008-02-25 21:24:12 +00:00
bjorn de23fe7483 Update darcs.html for the code.haskell.org repo. 2008-02-25 15:27:44 +00:00
bjorn ad613cdd67 Include adverb in infVP.
infVP, used by for example AdVVP, did not include the new adv field. This caused adverbs to be suppressed when used in infitive clauses, e.g.:


Union> l UttS (UseCl TPres ASimul PPos (PredVP (UsePN john_PN)(ComplVV want_VV (AdVVP always_AdV (UseV sleep_V)))))
john wants to sleep
2008-02-22 17:06:23 +00:00
bjorn 32b783ec85 Added makefile targets for time. 2008-02-21 17:25:47 +00:00
bjorn 2be8bf1814 Added some adverbials to Time. 2008-02-21 16:46:58 +00:00
bjorn f60e9a4824 Some additions to Time/TimeEng.gf 2008-02-21 16:29:47 +00:00
bjorn d123ce6b75 Started resurrecting the Time resource. 2008-02-21 15:42:41 +00:00
bjorn e494274c07 Treat pre tokens as variants in SimpleToFCFG. This should allow us to parse sentences with e.g. "an". 2008-02-19 22:09:56 +00:00
bjorn 70fae1e9fb Some work on gf3/gfc command-line options. 2008-02-19 20:59:01 +00:00
bjorn 17ede4013d Rename gfcats to startupcats in PGF. 2008-02-15 20:13:01 +00:00
bjorn 114f0d1ecc Use isAlpha instead of isLetter to compile with GHC 6.4. Reported by moises. 2008-02-08 09:20:32 +00:00
bjorn 08b9422cba Added PGF version numbers to GFCC file. 2008-02-07 13:48:41 +00:00
bjorn 6a739a7588 Include parser in JS produced by gf3. 2008-02-06 17:08:50 +00:00
bjorn ff9f224242 Expand higher-order abstract syntax in SimpleToFCFG. 2008-02-05 14:33:22 +00:00
bjorn 6bddc8df8a Standard format for floats and strings in GFCC. 2008-01-30 17:18:27 +00:00
bjorn ec1322afae Changed GFCC parser format to only include the FCFG rules and the GF cat -> FCFG cat mapping. The other information is very easy to build on the fly. 2008-01-30 16:39:44 +00:00
bjorn c4d89577f5 Merge AId and App forms in GFCCRaw. 2008-01-29 15:53:50 +00:00
bjorn 89371210eb UTF-8 encode in printGFCC. 2008-01-28 21:43:04 +00:00
bjorn 88e3894562 Fixed syntax error in ExamplesRus.gf 2008-01-28 17:26:16 +00:00
bjorn 6cc162e83c GFCCRaw printing: no space in App with no arguments. 2008-01-26 16:46:46 +00:00