1
0
forked from GitHub/gf-core
Commit Graph

10045 Commits

Author SHA1 Message Date
kr.angelov fdc6c9a3cd added mkApp to the Haskell binding 2014-12-19 08:47:00 +00:00
aarne 4f7d731d40 fixed typo in Dictionary Fin 2014-12-17 12:42:30 +00:00
aarne 089d0b6b37 added stack space to compile TranslateChi 2014-12-17 12:38:53 +00:00
aarne c8e54c66a4 adapted Translate grammar to work properly with Symb_Chunk 2014-12-17 12:34:56 +00:00
aarne 8822d9e7fd some preposition variants fixed in DictionaryFin, to avoid the problem with unpredictable variant ordering 2014-12-17 12:34:11 +00:00
kr.angelov 467a308335 fix in the Haskell binding 2014-12-16 10:35:56 +00:00
kr.angelov c192aed5ba forgot to export parseWithHeuristics from Haskell 2014-12-16 10:33:45 +00:00
kr.angelov 9b7e18c25e change in the API for literals
The API in the C runtime as well as in the Haskell, Python and Java binding
is changed. Now instead of adding the literal callbacks to the concrete syntax
you need to supply them every time when you need to parse. The main reason is:

- referentially transparent API for Haskell
- when we start using memory mapped files we will not be allowed to change
  anything in the grammar data structures. At that point the old API would
  be impossible to use.
2014-12-16 10:21:26 +00:00
hallgren 5da8b4b35e bin/build-binary-dist.sh: remove hardwired install path and version number
Also improved tolerance to paths containing white space.
2014-12-15 15:18:27 +00:00
hallgren 69e314eedc gf.cabal: include editor modes in the list of data files to install
Also add ghc-7.8.3 to the list of tested compiler versions
2014-12-15 15:16:50 +00:00
kr.angelov 48d494aa3b bump the version code in AndroidManifest.xml 2014-12-11 23:29:58 +00:00
kr.angelov cfa8639abd fix ConstructionBul.gf 2014-12-11 23:11:24 +00:00
kr.angelov 1c9eda6f7f fix the languages in ConstructionBul.gf 2014-12-11 21:55:55 +00:00
hallgren 80f814d1ab Setup.hs: compile Alltenses before Present
When mkPresent (or another preprocessor) is used, error messages from GF will
show the file name _gf_preproc.tmp instead of the name of the file where
the error occurred. By compiling Alltenses first, the real file name will
appear in error messages (unless the error only happens then mkPresent is
used).
2014-12-11 22:18:21 +00:00
kr.angelov 0f3f2b6039 update the nerc for the changes in the grammar 2014-12-11 21:54:34 +00:00
aarne 6c3eaa48f7 updates in app help file, e.g. the app name 2014-12-11 20:05:57 +00:00
aarne ff1790d584 ChunkBul.SSlash_Chunk: fixed type error, now the same as linref SSlash 2014-12-11 19:45:21 +00:00
aarne 04840f1a63 contraction in TranslateEng.QuestIComp as variant: where's the beef 2014-12-11 19:37:25 +00:00
aarne 5056e91cc2 hundreds of earlier prep and part verbs turned out to be bogus in DictionarySwe. Replaced by standard derived verbs. Still uncertain, but clearly better. 2014-12-11 19:11:14 +00:00
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