bjorn
38e4e6ada5
Added satta_V and mkV2 : Str -> Prep -> V2 to Swedish resource grammar.
2010-06-22 12:59:04 +00:00
bjorn
e5871c7c1d
Changed gflib.js to handle linearization of literals. This duplicates some functionality from gfjseditor.js, but is required for the translator to be able to linearize literals. The editor should be fixed to remove the special code for literals, but it is a bit to much for me to understand right now.
2008-10-29 09:33:58 +00:00
bjorn
8857b7c11c
JS parser: remove empty tokens after lexing. This fixes a problem where a string with leading space couldn't be parsed.
2008-10-29 08:39:23 +00:00
bjorn
c2e0cc38d2
Added PredNP to demo grammars.
2008-10-17 13:00:17 +00:00
bjorn
f9cda70fda
Fixed German feather_N, it was just copy-paste from English.
2008-10-16 11:40:01 +00:00
bjorn
98d2106fbe
Convert StructuralCat.gf to ISO-8859-1, it was UTF-8 but without a coding flag (except "algú?").
2008-09-15 20:03:57 +00:00
bjorn
2064371ff2
Updated JS editor to the latest version from Moises.
2008-09-09 09:32:32 +00:00
bjorn
1fc8a8a378
Added missing space in Constructors.gf whose absence introduced an extra space in the library synopsis.
2008-08-29 08:41:38 +00:00
bjorn
af6df0b11f
Overload mkAdv in TrySwe.
2008-08-24 14:53:45 +00:00
bjorn
5d9a1bafb6
Added target to lib/resource/Makefile for building a tarball of the compiled resource library.
2008-08-22 07:06:07 +00:00
bjorn
a85b2eff8f
removed some dead code from gflib.js
2008-08-19 14:08:02 +00:00
bjorn
64c3524673
Fixed bug in russian regular compartives. Predef.tk/dp have *really* confusing names, I don't think I ever got it right on the first try.
2008-08-18 19:05:46 +00:00
bjorn
086b4fbf62
Cleaned up the Demo conrecte syntaxes now that they don't have to list the restricted inheritance. Added language codes.
2008-08-18 09:37:01 +00:00
bjorn
86e5d26e81
Removed spurious lin foo = bar in DemoEng.
2008-08-18 08:58:11 +00:00
bjorn
9732b47d7e
Added a basic stylesheet for the js and ajax translators.
2008-08-15 11:46:36 +00:00
bjorn
8a022d65b3
Change JS translation to replace existing output when a new translation is done.
2008-08-15 10:53:59 +00:00
bjorn
3b735511f8
Refactor js translator to be able to share some code with the ajax version.
2008-08-14 18:51:06 +00:00
bjorn
68e70b0f94
Print gf commands in Make.hs for debugging purposes.
2008-08-14 15:25:05 +00:00
bjorn
cb33f33d4d
Added startcat flag to Demo.gf
2008-08-14 08:07:24 +00:00
bjorn
cc227618bc
Added .PHONY to lib/resource/Makefile
2008-08-14 07:57:50 +00:00
bjorn
19755d9529
Remove superfluous DemoI.gf.
2008-08-14 07:56:41 +00:00
bjorn
1350ab1deb
Include concrete syntax flags in generated JS.
2008-08-13 12:08:11 +00:00
bjorn
31c29fd7f8
Added missing translator.js
2008-08-13 11:11:25 +00:00
bjorn
932c7484d6
Add language selectors to JavaScript translator.
2008-08-12 20:13:41 +00:00
bjorn
aec2c51d32
First working JavaScript translator.
2008-08-12 19:35:27 +00:00
bjorn
612633e975
Use Food grammar as the example grammar.js.
2008-08-12 19:35:05 +00:00
bjorn
34d6ae5535
russian: possesive pronouns don't get inital n after prepositions
2008-06-30 18:13:19 +00:00
bjorn
4fa7f664b5
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
ee3c86fa7e
russian added operation for adding n prefix to pronouns after prepositions.
2008-06-25 14:16:09 +00:00
bjorn
8a2e38e15d
russin: noun declesion 10: small animals
2008-06-25 13:54:18 +00:00
bjorn
acd973c887
russian: fix neutral adjective-declined nouns
2008-06-25 13:30:05 +00:00
bjorn
c189e22d2f
russian: no need to import Predef.
2008-06-24 23:16:01 +00:00
bjorn
2bdfc97842
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
dcbb2b8558
russian: more noun paradigm work
2008-06-24 21:22:47 +00:00
bjorn
ea05be46fa
Remove lots of ununsed noun stuff from MorphoRus.
2008-06-24 21:21:59 +00:00
bjorn
4d2a37bdbe
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
380392d882
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
24ba2a7540
Russian: some refactoring of verb conjugation.
2008-06-23 20:01:47 +00:00
bjorn
48c65800f4
Remove prepos2Pl argument to mkN. It is always identical to preposPl.
2008-06-23 18:37:50 +00:00
bjorn
e9a2355a6e
Russian: remove a big chunk of ParadigmsEng which was pasted into ParadigmsRus and commented out.
2008-06-23 18:32:51 +00:00
bjorn
e7e50f44aa
russian: implement pronMu and pronVu in terms of a common operation
2008-06-23 18:28:05 +00:00
bjorn
f27dfd8ac4
russian: removed preposition o from some prepositional cases. don't understand why it was there.
2008-06-23 18:27:37 +00:00
bjorn
e067326a76
russian: use pronOn to implement pronOno.
2008-06-23 18:06:23 +00:00
bjorn
365b16c7e3
russian: reimplement pronYa and pronTu in terms of a common operation.
2008-06-23 18:01:27 +00:00
bjorn
0496872bff
russin: implement -to pronouns in terms of the base ones.
2008-06-23 17:30:23 +00:00
bjorn
c04cf72bfb
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
b09e0f5ee0
Collapse some unnecessairly expanded cases in the russian morphology.
2008-06-23 13:27:51 +00:00
bjorn
73454ab9df
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
4411392d15
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
2f5cd7e07a
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
e0fb22390e
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
1450a8a433
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
76d7802db9
Use [Dig] instead of Digits in Time, to avoid commas in English.
2008-02-25 21:24:12 +00:00
bjorn
81eb7e6315
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
7ded0832df
Added makefile targets for time.
2008-02-21 17:25:47 +00:00
bjorn
11af46a745
Added some adverbials to Time.
2008-02-21 16:46:58 +00:00
bjorn
f65d63b8f7
Some additions to Time/TimeEng.gf
2008-02-21 16:29:47 +00:00
bjorn
fdbc8a765d
Started resurrecting the Time resource.
2008-02-21 15:42:41 +00:00
bjorn
b25f037f5f
Fixed syntax error in ExamplesRus.gf
2008-01-28 17:26:16 +00:00