Commit Graph

8926 Commits

Author SHA1 Message Date
hallgren
dc3fd2c044 Work in progress on translating linearization functions to Haskell
The translation is currently good enough to translate all concrete syntaxes
of the Foods and Letter grammars, and some concrete syntaxes of the Phrasebook
grammar (e.g. PhrasebookEng & PhrasebookSpa works, but there are problems with
e.g. PhrasebookSwe and PhrasebookChi)

This functionality is enabled by running

	gf -make -output-format=haskell -haskell=concrete ...

TODO:
	- variants
	- pre { ... }
	- eta expansion of linearization functions
	- record subtyping can still cause type errors in the Haskell code
	  in some cases
	- reduce code large tables
2014-12-11 16:08:36 +00:00
hallgren
a15225ae1f GF.Grammar.Macros: generalize the type of collectOp
New type:

    collectOp :: Monoid m => (Term -> m) -> Term -> m
2014-12-11 16:05:42 +00:00
hallgren
903789ad03 GF.Server: remove some code duplication 2014-12-11 15:58:57 +00:00
kr.angelov
32dbb4409b back to familiar you in Hindi 2014-12-11 16:13:55 +00:00
kr.angelov
af0ee1fa72 update gf-translator.svg 2014-12-11 13:44:48 +00:00
kr.angelov
e7baf08ce0 added SSlash_Chunk in Bulgarian 2014-12-11 11:20:43 +00:00
kr.angelov
09418a1874 completed extensions for Bulgarian 2014-12-11 11:19:42 +00:00
kr.angelov
88ca5acc9c fix warning in DictionaryGer.gf 2014-12-11 11:02:22 +00:00
kr.angelov
1ba2f622ba GerundNP and InOrderToVP in Bulgarian 2014-12-11 10:54:41 +00:00
kr.angelov
b84e5301a4 more fixes in DictionaryBul.gf 2014-12-11 10:54:00 +00:00
kr.angelov
e7e8dba661 fix warnings in DictionaryBul 2014-12-11 10:33:29 +00:00
kr.angelov
7cd43feb29 remove some bogus adverbs 2014-12-11 10:18:28 +00:00
kr.angelov
a9e618a588 random fixes in DictionaryBul.gf 2014-12-11 10:11:54 +00:00
kr.angelov
0587071a60 in the documentation for adjectives in Bulgarian, show the adverb as well 2014-12-11 08:16:06 +00:00
kr.angelov
3649423f8a remove morePl_Det, moreSg_Det and whichever_A from DictionaryEng 2014-12-11 08:12:31 +00:00
kr.angelov
76c6d6bbe8 ByVP in Bulgarian 2014-12-10 23:20:47 +00:00
kr.angelov
af72b5001e PastPartAgentAP in Bulgarian 2014-12-10 23:09:40 +00:00
kr.angelov
353fc82c11 fixes in DictionaryBul.gf 2014-12-10 23:08:26 +00:00
kr.angelov
e90cc81907 added DirectComplVS, DirectComplVQ, FocusObjS in Bulgarian 2014-12-10 22:44:31 +00:00
kr.angelov
28d903f91c CompoundAP in Bulgarian 2014-12-10 21:23:51 +00:00
kr.angelov
489d744d95 fix dependent_A in Bulgarian 2014-12-10 21:23:17 +00:00
kr.angelov
94b69a4f7e AdAdV in Bulgarian 2014-12-10 21:06:17 +00:00
kr.angelov
cbf839d88f add GerundCN 2014-12-10 21:05:36 +00:00
kr.angelov
7bad06d08f PresPartAP and PastPartAP 2014-12-10 20:35:22 +00:00
kr.angelov
b0f29bc902 fix some adverbs in Bulgarian 2014-12-10 18:37:24 +00:00
aarne
a0a8b0e72c fix translate_V in Fre and Ger 2014-12-10 13:39:38 +00:00
aarne
615437dac2 quantifiers added to DictionaryCat 2014-12-10 13:39:02 +00:00
aarne
3d2581072f prepositional and particle verbs guessed in DictionaryBul. Particle verbs not yet properly rendered. 2014-12-10 13:37:53 +00:00
kr.angelov
ad9767ac3f edit the presentation image 2014-12-10 13:33:28 +00:00
kr.angelov
309119400f rename HLCompiler to GFTranslator 2014-12-10 13:21:18 +00:00
kr.angelov
33904b1956 added presentation image for the app 2014-12-10 13:14:11 +00:00
hallgren
23e7fe2bf4 DictionarySwe.gf: add activistMasc_N & dedicated_A 2014-12-10 13:10:59 +00:00
kr.angelov
e75d178151 make the GF logo fit precisely in a square 2014-12-10 10:29:27 +00:00
aarne
afa5a2515f prep and part verbs guessed for DictionaryDut 2014-12-09 15:30:44 +00:00
aarne
db9f1c43b0 prepositional and particle verbs added by script to all languages except Bul,Dut,Hin (Dut coming soon) 2014-12-09 15:01:31 +00:00
kr.angelov
9804458120 fix confetti in English and Bulgarian, and chapatti and brisket in Bulgarian 2014-12-09 12:43:32 +00:00
kr.angelov
f2a23c8924 make sure that the app doesn't crash even if nonExist is used somewhere in the grammars 2014-12-09 12:31:36 +00:00
kr.angelov
fa412e53d2 fix spaghetti/spaghettini in English and Bulgarian 2014-12-09 12:16:06 +00:00
kr.angelov
cfb688afce make sure that neither I nor I'm is recognized as name in English 2014-12-09 08:49:22 +00:00
kr.angelov
3ef92fc5cc bugfix for unknown words 2014-12-08 19:38:03 +00:00
hallgren
245903942e Haddock documentation: expose exportPGF, some other small improvements 2014-12-08 14:48:14 +00:00
kr.angelov
34f2ce6f5e restore the visualisation of abstract trees from the app 2014-12-08 16:17:42 +00:00
kr.angelov
ba9ccca0bd fix for the unknown words 2014-12-08 15:42:14 +00:00
kr.angelov
c07b2ad55c fix typo 2014-12-08 15:36:07 +00:00
kr.angelov
568c6bb542 register the callback for the Symb category 2014-12-08 15:22:33 +00:00
kr.angelov
fa53434bce added a callback for unknown words 2014-12-08 15:18:01 +00:00
aarne
025ce90634 ExtAdvVP added to some languages where it was missing 2014-12-08 13:21:28 +00:00
aarne
6067bc4932 some missing Chi functions 2014-12-08 13:14:47 +00:00
francis.tyers
307d5a78fb tipus does not change for number 2014-12-08 10:46:45 +00:00
aarne
b0f6e28294 probabilities for new chunk rules ; Symb as another literal in app Makefile 2014-12-08 10:20:06 +00:00