inari
bdf297d0b1
changes to pools in haskell bindings
2014-01-29 16:02:07 +00:00
john.j.camilleri
38d354c199
RGL browser: add recent modules list
2014-01-29 13:21:52 +00:00
john.j.camilleri
c6703f267f
Maybe.gf: add isJust function (synonym for exists)
2014-01-29 11:17:50 +00:00
john.j.camilleri
3b12abb42e
RGL browser: add ability to search for module name
2014-01-29 10:53:07 +00:00
aarne
0900ea04ed
restored the a.s field in infinitives in PredicationSwe, needed in linearization.
2014-01-29 08:02:44 +00:00
aarne
65cc186f13
PredicationSwe: suppress tense string in infinitives to change spurious ambiguity to a metavariable. Maybe a better solution, but to be seen.
2014-01-28 21:42:32 +00:00
hallgren
f1c4b353e3
Wide coverage translation web demo improvements
...
+ Add lexing/unlexing
+ Add a button to swap input and output
+ Minor layout adjustments
2014-01-28 16:51:21 +00:00
hallgren
4e6db5d621
PGFService.hs: fix a type ambiguity when compiling without C run-time support
2014-01-27 16:46:48 +00:00
hallgren
ca72fa94eb
PGFService.hs: add a cache for C run-time parse result and a start offset parameter
...
Cached parse results are discarded when they have been unused for 10 minutes.
2014-01-27 16:32:09 +00:00
hallgren
1d251b2395
gf -server: fix a redirection bug...
...
...that was introduced with the recent changes to the handling of the
current working directory
2014-01-27 16:30:03 +00:00
aarne
fbcb66fd19
Adv added to Cl instead of VP reduces ambiguity but needs some work to restore coverage.
2014-01-27 14:11:47 +00:00
aarne
1db9dfec8c
typos and name changes in PredicationSwe
2014-01-27 12:43:32 +00:00
aarne
1db4f8d456
commented PredicationSwe with todo's and made some abstractions to enable a functor
2014-01-27 07:53:05 +00:00
aarne
7c8807279e
Predication: participles of V's as AP's.
2014-01-26 22:06:39 +00:00
aarne
a7e80c218c
added passives to Predication - forms selected from tables as the first step of VP formation
2014-01-26 18:46:20 +00:00
aarne
a33e0da323
set of predication test examples; support for N-complement verbs such as "we were promoted to professors"
2014-01-26 11:27:56 +00:00
aarne
dc70c946f5
PredicationSwe: omission of auxiliary in compound tenses, subordinate and infinitive
2014-01-26 10:43:03 +00:00
aarne
11395b50f0
compound tenses in PredicationSwe
2014-01-25 17:35:24 +00:00
aarne
4a245c1253
completing all verb subcats and dealing with subject/object control; only fully implemented in PredicationSwe
2014-01-25 11:51:52 +00:00
aarne
42a28523c0
VP coordination, focus in QCl in Predication. Swe is close to correct but in Eng details with auxiliaries have to be fixed.
2014-01-24 13:57:44 +00:00
hallgren
39a0d9b668
gf -server: allow multiple PGF service requests to be handled in parallel
...
PGF service requests are stateless and can run in parallel, but some other
requests handled by the server are not and might even change the current
working directory temporarily, and this affects all threads, so it is
important that the PGF service requests access PGF files by absolute paths.
2014-01-24 13:49:02 +00:00
kr.angelov
fbc8bb6769
fix in the Haskell runtime
2014-01-24 08:34:55 +00:00
aarne
7d41ff0b9f
testing Predication with Swe
2014-01-23 21:20:52 +00:00
aarne
2c71e31a64
generalized some types in Predication so that the same fun's now cover slash propagation ("who does she force us to love") as well
2014-01-23 17:50:30 +00:00
hallgren
1189a13840
gf.cabal: bump version number to 3.5.12
2014-01-21 16:30:01 +00:00
aarne
8c1128c16c
experimental Predication with dependent types - promising, but far from finished
2014-01-23 16:12:28 +00:00
hallgren
caacaa9d8b
demos/translation: add preliminary online demo,
...
but it is not ready to be widely advertised yet, e.g. lexing and unlexing is
missing.
2014-01-23 14:56:52 +00:00
aarne
7111684795
removed obsolete DictEng??? grammars and marked Parse as obsolete in Makefile
2014-01-22 15:00:16 +00:00
aarne
1ca7e33ea6
working through translator/Extensions with some reorganization and generalizations
2014-01-22 14:44:56 +00:00
aarne
fca176cbbf
new copy of DictionaryBul with phrasetable extensions
2014-01-22 14:44:22 +00:00
hallgren
7cf6391ee1
simple translator: Replaced 'GF Robust Parser' with 'GF Wide Coverage Translation'
...
The interface to the wide coverage translation is in js/gftranslate.js
and it assumes that the grammar is installed on the cloud server
as /robust/Translate8.pgf.
The list of supported languages is hardwired in gftranslate.js, since
there is no support for obtaining this info from the C run-time system
at the moment.
2014-01-21 16:47:23 +00:00
kr.angelov
db67c180a5
approximately 3500 new Bulgarian words extracted from the phrasetables for EuroParl
2014-01-21 16:51:56 +00:00
aarne
8a5717d38c
notes in Extensions
2014-01-21 15:23:02 +00:00
aarne
9b986255bf
completed Translate grammars for all 8 languages; a Makefile entry for them; updated doc/translation.html. What remains to do is to make the new documentation facilities (GF-driven, in the Documentation modules) available in the Android app, so that the Parse* modules can be retired from translation tasks.
2014-01-21 08:20:46 +00:00
aarne
370296c0ba
added Translate modules for Hindi
2014-01-21 07:26:53 +00:00
aarne
c20f5c3cea
removed paths to english in Translate modules
2014-01-21 07:26:17 +00:00
aarne
355777e0ca
added refactored TranslateFin. Starting to get confident that the refactoring is on the right track.
2014-01-20 21:52:14 +00:00
aarne
68bee264a5
Translate grammar refactoring for Bul and Chi
2014-01-20 21:32:39 +00:00
aarne
f22647f73c
lib/src/translator: refactored wide-coverage translator grammar structured as described in lib/doc/translate.html. Implemented for Eng and Swe. To do: more languages, makefile entries (to be converted from entries for Parse), some internal refactoring in translator/Extensions.gf.
2014-01-20 20:59:26 +00:00
hallgren
b8f3914209
Optionally include C run-time support
...
If the C run-time library is compiled and installed on your system, you can now
do 'cabal configure -fc-runtime' to get the following extras:
+ The haskell binding to the C run-time library will be included in the
PGF library (so you can import it in Haskell applications).
Documentation on the new modules will be included when you run
'cabal haddock'.
+ The new command 'pgf-shell', implemented on top of haskell binding to
the C run-time system.
+ Three new commands in the web API: c-parse, c-linearize and
c-translate. Their interfaces are similar to the corresponding commands
without the "c-" prefix, but they should be considered preliminary.
2014-01-20 17:06:11 +00:00
hallgren
1631a46040
haskell-bind: add an export list to hide internal stuff
...
It also makes the generated haddock documentaiton more structured.
2014-01-20 14:40:38 +00:00
aarne
0f1826a868
subtitles in translation doc
2014-01-20 08:32:09 +00:00
aarne
65457e12e8
translation doc: principles distinguishing translation and resource grammars
2014-01-19 18:42:45 +00:00
aarne
43daeaf1b4
translation doc with a module diagram and as html
2014-01-19 18:28:36 +00:00
aarne
88af7ed93a
started a doc describing the use of RGL in translation, in order to gather relevant information in one place and to structure future developments
2014-01-19 10:50:48 +00:00
aarne
681020b371
Merry Christmas and other Dict updates
2014-01-17 14:42:22 +00:00
hallgren
29d1b58ff5
haskell-bind.cabal: relax overly restrictive version bounds and add cc-options
2014-01-17 14:18:20 +00:00
hallgren
4226be69e8
haskell-bind: add a cabal file and examples/pgf-shell.hs
...
* The haskell-bind.cabal file makes it easy to build the haskell binding and
use it in ghci.
* pgf-shell.hs is a simple example of how to use the haskell binding.
2014-01-17 14:02:35 +00:00
hallgren
33024f3130
haskell-bind: change the type of CRuntimeFFI.getConcr
...
Change the type of getConcr from
getConcr :: PGF -> Language -> Concr
to
getConcr :: PGF -> Language -> Maybe Concr
This is to prevent programs from crashing later if you try to select a
concrete syntax that is not present in a grammar.
2014-01-17 13:58:48 +00:00
hallgren
aea787aded
examples/Phasebook/Makefile2: Lativan is fixed, include it again
2014-01-13 14:18:32 +00:00