Commit Graph

9929 Commits

Author SHA1 Message Date
kr.angelov 4cd5116514 fix self_N in DictionarySwe.gf 2015-02-11 09:16:45 +00:00
kr.angelov d053a84b82 add gloat_V in DictionaryBul.gf 2015-02-11 09:11:16 +00:00
hallgren ad8b6429ec Translating linearization functions to Haskell: support for variants
By adding the flag -haskell=variants to the command line, GF will now generate
linearization functions in Haskell that support variants. Variants are
represented as lists in Haskell.

Variants inside pre { ... } expressions are still ignored.

TODO: apply some monad laws to generate more compact code (using an
intermediate representation of the generated Haskell code, instead of
pretty printing directly from the GF code).
2015-02-09 16:24:33 +00:00
aarne d9032f8764 news on Summer School on the main page 2015-02-09 09:35:51 +00:00
aarne 0a97989935 started modules for printing dictionary contents for a database 2015-02-09 07:18:28 +00:00
aarne 292cada649 added ExtraSpa.UseComp_estar for uses of estar instead of copula 2015-02-05 07:55:20 +00:00
inari 9a4970fd7a fixes: carry_N, ripple*, begin* 2015-02-02 09:13:46 +00:00
kr.angelov ad4ef7c99e fixes in DictionaryBul 2015-02-01 13:49:25 +00:00
kr.angelov 43db38832d split spring_N into four senses 2015-02-01 13:48:49 +00:00
kr.angelov c1ec4f3217 merge afterward_Adv with afterwards_Adv 2015-01-30 13:28:48 +00:00
kr.angelov 1baba82fe5 added hasLinearization in the Haskell binding 2015-01-30 13:05:57 +00:00
kr.angelov ceb01afa90 merge rumor_N with rumour_N 2015-01-30 12:39:52 +00:00
kr.angelov 76c6d28e73 merge absinth_N with absinthe_N 2015-01-30 09:26:35 +00:00
kr.angelov 3128bd2f85 merge abridgement_N with abridgment_N 2015-01-30 09:19:06 +00:00
kr.angelov 7146b624dc a few fixes in DictionaryBul 2015-01-30 09:04:57 +00:00
kr.angelov 3f4d0aeb86 remove dimensions_N from the dictionaries 2015-01-28 11:23:16 +00:00
aarne 31c286f532 Phrasebook compiled for Japanese; weather_N in DictionaryGer 2015-01-27 13:18:44 +00:00
aarne 3c13e1abb0 added Japanese to Android app. Had to change target=android-20 to 21. 2015-01-21 22:20:25 +00:00
aarne 8e19e201d3 Liza's TopDictionary fixes transferred to DictionaryJpn 2015-01-21 20:54:09 +00:00
lizazim 5601913f8a Jpn21.01.15 2015-01-20 23:28:28 +00:00
hallgren 28803ba322 Wide Coverage Translation Demo: use App13.pgf, adding support for Japanese
Japanese uses the same lexer as Chinese, i.e. every character is a separate
token.
2015-01-21 16:02:37 +00:00
hallgren ed502c490c PGF2: fixes for named entity callback function 2015-01-21 13:54:48 +00:00
hallgren 614f9f8663 examples/phrasebook/Makefile: include Jpn in 'make forApp' 2015-01-21 12:16:57 +00:00
hallgren ec8b4fec93 PGF2 & PGFService: enable callbacks for named entities and chunks in the c-parse & c-translate web requests 2015-01-21 10:41:12 +00:00
kr.angelov 60cb95258b fix conflicts 2015-01-21 08:35:20 +00:00
kr.angelov 07eb8fec26 added functionType in the Haskell API to the C runtime 2015-01-20 14:45:02 +00:00
kr.angelov e0a0ca49e5 other fixes in DictionaryBul.gf 2015-01-20 16:15:56 +00:00
kr.angelov bca7042d33 remove best_A and than_A from the Dictionaries 2015-01-20 16:02:16 +00:00
kr.angelov 04d92c4b47 fix maiden_A in Bulgarian 2015-01-20 15:57:16 +00:00
hallgren 7577de236f PGF2 & PGFService: work in progress on callbacks for nerc & chunks 2015-01-20 14:57:52 +00:00
aarne 9207b45359 of_Prep in DictionaryJpn guessed as possessive 2015-01-20 13:38:08 +00:00
hallgren 4372b47d2a PGF2: introduced some type synonyms to make type signature more readable 2015-01-20 12:57:33 +00:00
aarne 60ebb2349f inheriting Extra in ExtraJpnAbs 2015-01-19 09:00:57 +00:00
hallgren 240ba80209 Translating linearization functions to Haskell: move a common record type to PGF.Haskell
Move the Haskell representation of the common linearization type {s:T} to the
shared module PGF.Haskell, so that the same overloaded projection function
proj_s can be used for all concrete syntaxes.
2015-01-19 12:43:32 +00:00
lizazim eab989c1d7 Jpn19.01.15 2015-01-19 09:51:31 +00:00
john.j.camilleri 993014699f Change minibar URL to cloud.gf.org in QuickStart page 2015-01-19 06:45:15 +00:00
aarne 34e19f423e added Swe mkDefDet to build determiners that take completely definite CN's 2015-01-18 18:02:11 +00:00
aarne 86d610bdd1 fixed position of adjective in Scand.UseComparA 2015-01-18 12:52:48 +00:00
inari aab410b937 fixes in DictionaryFin 2015-01-15 11:10:38 +00:00
aarne 7c9eff32a6 generated todo/TopDictionaryJpn.gf for frequency-based checking 2015-01-14 17:34:12 +00:00
aarne e443351330 AppJpn.gf and a Makefile entry for App13 which includes Japanese. Everything compiles now. But Japanese has no support for chunks, because ChunkFunctor does not typecheck for it due to its richer Utt type. 2015-01-14 17:22:47 +00:00
aarne 3afa54c465 added stubs for Jpn modules needed in TranslateJpn 2015-01-14 16:55:58 +00:00
hallgren fbed7c19d5 gf.cabal: include PGF.Haskell 2015-01-14 14:53:28 +00:00
hallgren 0b114195aa Translating linearization functions to Haskell: better treatment of special tokens
Common code has been lifted out from the generated Haskell modules to
an auxiliary module PGF.Haskell, which is currently included in the
regular PGF library, although it is independent of it and probably belongs
in a separate library.

The type Str used by linearization functions is now based on a token
type Tok, which is defined in PGF.Haskell.

PGF.Haskell.Tok is similar to the type GF.Data.Str.Tok, but it has
constructors for the special tokens BIND, SOFT_BIND and CAPIT, and there is
a function

	fromStr :: Str -> String

that computes the effects of these special tokens.
2015-01-14 14:35:39 +00:00
lizazim 560d0a4384 Jpn13-01-15 2015-01-13 16:08:05 +00:00
aarne 5e70b381bc some fixes in DictionarySwe ; in ParadigmsSwe, a compounding function mkN : Str -> N -> N 2015-01-10 17:50:54 +00:00
francis.tyers 45b475e9a2 change translation of 'youth_N' (was 'youth hostel') 2015-01-10 09:31:27 +00:00
hallgren 4348ae40d2 Translating linearization functions to Haskell: add support for pre {...}
STILL TODO:

	- variants
	- better treatment of special tokens BIND, SOFT_BIND & CAPIT.
2015-01-08 17:52:45 +00:00
aarne 0631a9aa04 DictionaryJpn bootstrapped from Wiktionary. Does not compile yet, because there are undefined paradigms such as mkVS 2015-01-08 14:08:35 +00:00
lizazim 2bff57faca patchJpn 2015-01-07 23:44:49 +00:00