hallgren
f051dcc613
Final changes for the GF 3.8 release
...
News item on the home page
Put the download page and release notes in place.
Add an entry in debian/changelog.
Update the version number in gf.cabal.
2016-06-22 11:13:06 +00:00
hallgren
3bc4bb1228
A couple of more adjustments of the GF 3.8 release notes.
2016-06-22 10:38:51 +00:00
hallgren
102a5f4356
Some adjustments to the GF 3.8 release notes and download page
2016-06-22 08:23:37 +00:00
krasimir
2a3199c2a7
some more bullets in the release notes
2016-06-22 07:32:48 +00:00
hallgren
c28cac4e66
bin/build-binary-dist.sh: fixes for the Java and Python bindings.
...
* Just skip the Java binding if there were errors compiling it.
* Install the Python binding in the expected place on Mac OS X when creating
an OS X installer package. (i.e. under /Library/Python/2.7/site-packages)
Also updated the 3.8 download page and release notes to reflect the above.
2016-06-20 14:11:45 +00:00
hallgren
35e6508fe4
Remove lib/src/ancient_greek.tar.gz
2016-06-20 11:04:31 +00:00
krasimir
b55202a4aa
fixed yes/no_Interj in some languages
2016-06-17 19:18:06 +00:00
krasimir
282ce75b59
added UttInterj in Estonian, Thai and Russian
2016-06-17 15:36:23 +00:00
krasimir
85c9d11bd1
added several interjections from the phrasebook to the dictionaries
2016-06-17 14:11:45 +00:00
hallgren
2318ebb664
PGFService: fix a type ambiguity when compiling without C run-time support
...
The function listCaches returns an empty list instead of the contents
of the cached C run-time system PGFs when compiled without C-run-time support
This gave rise to an ambiguity in GF.Server.
2016-06-17 11:32:40 +00:00
hallgren
4c514b2fad
Documentation updates
...
Remove ghc-7.4 from the list of tested/recommended versions of GHC
(because of Hackage dependency problems).
Recommend version 7.10.3 of the Haskell Platform. (GHC 8.0.1 works too,
but I haven't tested the corresponding Haskell Platform packages.)
2016-06-17 10:09:25 +00:00
john.j.camilleri
6f2ffd59d2
Wide Coverage Translation Demo: switch to App16.pgf (adds Russian)
2016-06-17 10:19:46 +00:00
krasimir
ca7f3cfbc7
a lot of fixes in all dictionaries. Among other things now all words from the phrasebook are not corrected in the big dictionaries.
2016-06-16 21:37:45 +00:00
hallgren
373c95737a
A few documentation updates
...
gf.cabal: include more GHC versions in the Tested-Width field.
2016-06-16 15:09:45 +00:00
hallgren
9b1be2dd2c
debian: add txt2tags to Build-Depends and run 'make html' as part of the build
...
This is to make sure that gf-web-api.html gets included in the .deb package
and is available locally in the GF cloud when running gf -server.
2016-06-16 13:54:15 +00:00
hallgren
1df408b3d6
gf-web-api.t2t: document command=deptree (for word dependency diagrams)
...
Also add a few paragraphs listing undocumented commands and
briefly describing the commands that use the C run-time system.
2016-06-16 13:34:48 +00:00
krasimir
de925ea426
fix in the Android UI
2016-06-16 12:56:56 +00:00
hallgren
b247e99c7e
src/www/gf-web-api.t2t: Web API docs rescued from the Google Code graveyard
...
This is the GFWebServiceAPI.wiki rescued from the Google Code Archive,
converted to txt2tags format, with an updated introduction.
2016-06-16 12:11:06 +00:00
hallgren
008f69a6ca
GF home page: add new RGL languages to the list
...
Also a couple of fixes in release-next.t2t
2016-06-16 10:09:01 +00:00
hallgren
9ad38726fe
gf.cabal: don't build pgf-shell any more, it's been superceded by gf -cshell
2016-06-16 09:57:28 +00:00
aarne
c0ea695736
release note on new languages
2016-06-16 08:28:54 +00:00
stian
feb3519ea8
a fairly complete Nynorsk implementation added
2016-06-16 08:15:06 +00:00
krasimir
4a8a3c7f3d
pgf_generate_all now emits __mock_string__ instead of FOO for String literals.
2016-06-16 08:08:45 +00:00
krasimir
e95fa06133
bugfix in the load method in the Python binding. The file was never closed.
2016-06-16 08:02:06 +00:00
aarne
cfe0542ea6
Nor possessive: mit -> mitt etc
2016-06-16 07:26:14 +00:00
krasimir
c160ad0110
added AdAP in Slovenian
2016-06-15 11:11:18 +00:00
aarne
28c5fa7688
added a default value in dependency visualization for cases using maximum, to cover the case where the list of arcs is empty
2016-06-15 10:37:00 +00:00
hallgren
64bdd44175
GF cloud: more readable formatting of the GF version page
...
Factor out common CSS from gfse/editor.css into clouds.css.
2016-06-15 10:20:30 +00:00
krasimir
b6552c4bf7
UseComparA in Slovenian
2016-06-15 10:21:57 +00:00
krasimir
2a874fada8
add VQ and VV in Slovenian
2016-06-15 10:11:11 +00:00
krasimir
248a86ba01
added AdvAP in Slovenian
2016-06-15 09:17:50 +00:00
krasimir
345c2bbc8f
added and_Conj in StructuralSlv
2016-06-15 08:28:14 +00:00
krasimir
2f508cbd83
added ConjunctionSlv
2016-06-15 08:25:23 +00:00
hallgren
6025c59c55
release-next.t2t: notes about the vd and cc commands
2016-06-15 08:04:10 +00:00
aarne
69113d26ba
fixed some functions in IdiomGer where the discontinuous parts had been omitted
2016-06-14 06:53:58 +00:00
aarne
7a08aedab9
release notes on RGL
2016-06-10 11:27:24 +00:00
hallgren
223278284b
release-next.t2t: a few more notes
2016-06-10 09:14:19 +00:00
aarne
389d54836b
oops, forgot to rename the 2-place Conj functions in ResourceDemo. Now added to uddeps as well.
2016-06-09 15:14:06 +00:00
hallgren
172f2d12da
minibar: define grammar_list in config.js to restrict the grammar menu
...
minibar.html now reads config.js and if it defines grammar_list, only the
grammars listed there will show up in the grammar menu.
2016-06-09 14:20:24 +00:00
aarne
740cd9fdd0
added youPol_Pron to ResourceDemo
2016-06-09 14:17:51 +00:00
aarne
49fb720224
updated uddeps.labels with ResourceDemo-specific functions, added relative clauses to ResourceDemo
2016-06-09 14:14:39 +00:00
hallgren
674b14a832
PGF service & minibar: only show dependency diagrams if the labels are known
...
+ The PGF service now reads and caches dependency label configuration files.
+ The grammar info returned by command=grammar has a new boolean field
'hasDependencyLabels' to indicate if dependency labels were found for
the grammar. Also, command=deptree will now fail if no labels are present.
+ The minibar only shows word dependency trees if labels are present.
+ Also changed the type of getDepLabels from [String] -> Labels to
String -> Labels, since all uses were in the form "getDepLabels . lines".
2016-06-09 13:12:14 +00:00
krasimir
14f85ae06e
updated DocumentationRus.gf module
2016-06-09 12:33:35 +00:00
hallgren
e952e10f33
PGFService: eleminate warning "Defined but not used: ‘serverError’"
2016-06-09 11:27:57 +00:00
krasimir
52912d39e6
now a working API for complex queries in libsg
2016-06-09 10:01:43 +00:00
krasimir
5e1207bb4e
bugfix in libsg
2016-06-09 09:59:38 +00:00
hallgren
5e33b70d32
Minibar: show word dependecy diagrams
...
They are now included in the cycle of images shown when clicking on the
parse tree icon.
2016-06-08 19:11:49 +00:00
hallgren
7254d06011
PGF web service: switch to the new SVG rendering of word dependency trees
...
Also added the function outputText in CGIUtils.
2016-06-08 19:10:23 +00:00
hallgren
6eea348fd9
PGF.VisualizeTree: add white background in the SVG rendering of dependency trees
...
This makes them look the same as SVG produced by graphviz
2016-06-08 19:08:29 +00:00
hallgren
6071b4b9df
PGF.VisualizeTree: add SVG renderering of word dependency trees
...
This was done by introducing an intermediate representation for the LaTeX
pictures produced by the LaTeX renderer and providing a new backend that
outputs SVG instead of LaTeX.
2016-06-08 17:49:15 +00:00
aarne
371566eb3a
some AdVs in Dut and Ger
2016-06-07 15:51:00 +00:00
aarne
b528a5b4a9
reflexive possessives in Fin and Ger ; in Fin, it also makes a difference in the recognized strings, because it always involves pro-drop unlike ordinary possessives
2016-06-07 13:59:09 +00:00
aarne
9a83e683a3
reflexive NP in Scandinavian; things to fix to decide whether agreement comes from the subject or from the possessed noun
2016-06-07 12:35:28 +00:00
aarne
0340aebf06
conjunction of reflexive NPs in ExtraEng
2016-06-07 11:38:09 +00:00
aarne
7487abf770
started Extra.RNP for reflexive noun phrases, needed particularly in Scandinavian (possessive "sin") but also in other languages if reflexive semantics is needed in applications
2016-06-07 09:53:52 +00:00
hallgren
eeeae3d23f
Minibar: remove spaces for better Thai speech synthesis
2016-06-06 10:46:13 +00:00
aarne
180e73b130
some missing functions in wide-coverage Dut and Ger added
2016-06-05 21:15:39 +00:00
aarne
b6d187c9d8
updated absfuns.html
2016-06-05 17:50:07 +00:00
aarne
0c3268bbfd
added PassAgentV2 to App, and the specialized syntax functions to app.probs
2016-06-05 17:48:11 +00:00
aarne
99a2902da9
restored a suppressed ClSlash field in Scandinavian preposition stranding
2016-06-05 16:54:02 +00:00
aarne
264806fbbd
enabled emptyRP in Scandinavian by distinguishing between RNom and RAcc ; this also made it possible to use der as the Danish RNom form
2016-06-05 16:40:46 +00:00
hallgren
773b2d8e16
Minibar: detect the language for show speech synthesis buttons in more cases
...
This was done to obtain speech synthesis for more languages in the Numerals
grammar, which uses neither language flags nor the standard naming for
concrete syntax.
2016-06-05 12:21:56 +00:00
aarne
2320410d30
reflected preposition stranding default in TranslateSwe by adding pied piping as second variant
2016-06-05 11:16:54 +00:00
aarne
7a3f33a5fc
reflected the preposition stranding change in TranslateEng
2016-06-05 11:06:32 +00:00
aarne
228b675c3a
fixed the treatment of character encoding in synopsis, where it had been garbled in some language Paradigms after they had been converted to utf-8
2016-06-05 11:04:05 +00:00
aarne
db79a2e57a
preposition stranding default in Scandinavian, as in English. Pied piping in ExtraScand.
2016-06-05 11:02:23 +00:00
aarne
5053ace548
made preposition stranding default in LangEng (and SyntaxEng) questions and relatives, and that_RP in relatives; these are more natural in modern language and more often right; piped piping and which can be accessed via ExtraEng
2016-06-05 10:59:27 +00:00
aarne
44a7f34bda
missing parts in PhraseGer.UttCN added
2016-06-05 10:59:01 +00:00
aarne
d6c11c45e1
fixed the lost AdV in scandinavian after correction of negation/pronoun placement
2016-06-05 10:17:34 +00:00
aarne
77a1d57dae
merged lang.labels with uddeps.labels, just leaving the latter, but adding App functions to it. This file can now be used for documenting all syntactic functions in Lang, Translate, and App
2016-06-05 09:17:47 +00:00
krasimir
e2d7f1d5ae
more fixes in the dictionaries
2016-06-05 08:52:57 +00:00
krasimir
a82894c45f
more sense splits and other fixes in the dictionaries
2016-06-04 22:06:57 +00:00
aarne
70f3f39791
a new dependency configuration for lang, using UD
2016-06-04 19:34:35 +00:00
aarne
4f6c5cbacf
made App into a functor to make its body easier to modify; unfortunately, the import list must be copied however
2016-06-04 17:07:35 +00:00
krasimir
887f795308
fix the sense for crown_N
2016-06-04 11:57:06 +00:00
krasimir
2477a5c607
corrected/checked euro_N in all Languages
2016-06-04 11:50:03 +00:00
krasimir
d010685da1
fixes in DictionaryBul.gf
2016-06-03 13:55:18 +00:00
aarne
ea35fee48f
vd latex: some adjustments in heights and lengths
2016-06-03 16:06:22 +00:00
krasimir
c65d62a923
now the UI supports almost all phrases. there are still a few that cannot be shown
2016-06-03 11:30:53 +00:00
krasimir
0ac263e005
the Phrasebook UI now uses the green color
2016-06-03 11:30:21 +00:00
krasimir
8a3c86ac1d
added checkboxes in the Phrasebook UI
2016-06-03 11:09:39 +00:00
krasimir
eb6058b517
bugfix in the Phrasebook UI
2016-06-03 07:14:52 +00:00
krasimir
1a29ccd2ef
the list of alternatives in the translator is now sorted by probability
2016-06-02 07:38:18 +00:00
krasimir
0a07889649
bug fix in the translator app
2016-06-02 07:38:00 +00:00
aarne
d0e4edbb6c
vd: arc heights now depend on number of arcs below rather than word distance
2016-06-02 18:17:54 +00:00
hallgren
9fdcaed802
Enable compilation of Ancient Greek in Setup.hs
...
Also adjust the -path pragmas in a few places in lib/src/ancient_greek
2016-06-02 13:56:19 +00:00
hallgren
926d8db255
release-next.t2t: adding a few items
2016-06-02 13:06:04 +00:00
aarne
c41a4e8e9e
tokenized apertium text to test with ; RelV2 and QuestV2 in App (Eng and Swe for the moment) with 20% loss of parsing speed but improved quality
2016-06-02 06:29:35 +00:00
krasimir
5bd869a5fb
a few words checked in Swedish
2016-06-01 08:51:31 +00:00
krasimir
350365935a
bugfix in ParadigmsSlv.gf
2016-06-01 08:50:48 +00:00
krasimir
0838661a15
palm_2_N in Swedish should be "handsbredd" according to Google
2016-05-31 11:36:14 +00:00
krasimir
e3ee70aa8e
majour redesign of the Phrasebook UI to support recursive phrases
2016-05-30 23:24:17 +00:00
krasimir
3f61efcc77
split palm_N, gender_N and marrow_N
2016-05-30 18:12:23 +00:00
krasimir
3fe2347bfd
fix in the Haskell binding: functionType should throw error if the function is not defined
2016-05-30 17:15:09 +00:00
krasimir
dc67018ab7
added getFunctionProb in the Java and C API
2016-05-30 11:25:59 +00:00
krasimir
4350dd3e94
fixes in DictionaryBul.gf
2016-05-30 11:16:10 +00:00
krasimir
6410b88172
fix in DictionarySwe.gf
2016-05-30 10:01:51 +00:00
krasimir
f86037b538
split light_A and mass_1_N
2016-05-27 09:14:54 +00:00
krasimir
ac37aeb686
a number of fixes in DictionaryBul
2016-05-27 08:42:26 +00:00
hallgren
0c123969bc
download/{index,release}-next.t2t added, in preparation for the next release
...
Feel free to add things to the release notes in download/release-next.t2t.
2016-05-26 16:16:33 +00:00
hallgren
d3078600a0
PGFService.hs: fix compilation problem when C run-time support is omitted
2016-05-26 13:56:43 +00:00
hallgren
d651cd34d5
PGF web service: add command=deptree
...
This is the web interface to PGF.graphvizDependencyTree.
Accepted parameters: format=<output_format>, to=<lang>, tree=<tree>.
Accepted output formats: latex, conll, malt_tab, malt_input, png, gif, svg, gv
Also, label information is taken from <path>.labels if present, where
<path>.pgf is the path to the PGF file.
2016-05-26 13:39:48 +00:00
hallgren
ccdb79fd23
Add haddock documentation to PGF.graphvizDependencyTree and PGF.getDepLabels
...
They seemed very difficult to use without the documentation, since their
types are not particularly self documenting.
Also documented what the (Bool,Bool) argument to PGF.graphvizAbstractTree
is for.
2016-05-26 13:12:38 +00:00
hallgren
652aba5a76
Fix documentation typo on PGF.Haskell
2016-05-26 13:11:56 +00:00
krasimir
53e00e6d7f
add translations to play_X_VX in Russian
2016-05-26 14:57:19 +00:00
krasimir
9b23d37bce
split the senses of solution_N
2016-05-26 14:42:45 +00:00
krasimir
a45b6526b9
put the right translations for pipe_1_N and pipe_2_N in Russian
2016-05-26 14:41:45 +00:00
krasimir
451710b055
add "garmoshke" as a variant to accordion in Russian
2016-05-26 14:40:41 +00:00
krasimir
39c346a825
annotate play_X_V and play_X_V2 with their WordNet senses
2016-05-26 14:39:51 +00:00
krasimir
124128d8fd
added ChunkRus.gf
2016-05-26 13:38:57 +00:00
krasimir
277800b505
a third sense free_3_A with the meaning of "ledig"
2016-05-26 11:31:33 +00:00
krasimir
6ed92d5ad2
fix lunch_N in Russian
2016-05-26 11:13:33 +00:00
krasimir
c8b41b9c5f
preserve the order of the sentences in phrases.xml in the UI
2016-05-25 18:55:47 +00:00
krasimir
5646892be1
the phrasebook phrases are now ordered in the same way as in the Phrasomatic
2016-05-25 18:33:12 +00:00
leiss
d9d617be5d
partial implementation of Ancient Greek RGL
2016-05-25 12:35:37 +00:00
krasimir
e81b39a300
the Java API now also has access to the token's category while doing completion
2016-05-25 12:39:51 +00:00
krasimir
a3de37f3c7
fix the word completion in the C runtime
2016-05-25 12:19:26 +00:00
krasimir
2a1320071c
fix love_V2 in Russian
2016-05-25 11:01:34 +00:00
krasimir
497d9c7c7c
fix the compilation when debugging is switched off
2016-05-25 09:42:24 +00:00
krasimir
b20685c1c9
pgf_generate_all now works with literals as well
2016-05-25 09:36:05 +00:00
krasimir
59d3492b0d
when expressions with Float literals are printed, we should use the same format that is used by the linearizer
2016-05-25 09:34:40 +00:00
krasimir
dc734261f1
fix a warning in libsg
2016-05-25 07:18:01 +00:00
krasimir
a2fadbec18
three more words in Russian
2016-05-25 07:07:28 +00:00
krasimir
f79f42c3c6
real feminine pronouns in Russian
2016-05-25 06:04:06 +00:00
krasimir
756f542ae2
fixes in the dictionaries
2016-05-24 21:32:50 +00:00
krasimir
741ac8604b
missed have_V2 in Russian
2016-05-24 13:37:51 +00:00
krasimir
d4dd0af5af
fixes in Bulgarian and Russian and split senses for pipe_N
2016-05-24 11:14:56 +00:00
krasimir
0eb0c98621
fix in the Russian dictionary
2016-05-24 10:14:01 +00:00
krasimir
6994a3059c
added DictionaryRus.gf
2016-05-24 08:46:04 +00:00
krasimir
3a100dad00
completed DocumentationRus
2016-05-23 20:22:55 +00:00
aarne
9000f61905
made the word length proportionate in dependency visualization, instead of using the max length for every word
2016-05-23 19:16:06 +00:00
krasimir
a72dcdca14
added DocumentationRus.gf
2016-05-23 14:35:09 +00:00
krasimir
19bfb1d4b4
a few more morphological functions for verbs in Russian
2016-05-23 14:18:27 +00:00
krasimir
9766673329
split the senses of free_A and rock_N
2016-05-23 13:15:25 +00:00
krasimir
a8f50098d3
add the relevant code from Parlira to the GFTranslator
2016-05-23 09:54:27 +00:00
krasimir
67998b1d1a
fix water_ice_N and ice_V2 in Bulgarian
2016-05-23 08:03:07 +00:00
aarne
2a9153a2ee
included stranding variants to Rel and Quest in TranslateEng - strangely omitted before
2016-05-23 07:13:44 +00:00
krasimir
43f1878b8e
another fix for DictionaryBul.gf
2016-05-23 07:01:00 +00:00
krasimir
8ac7fc9bcc
add the sense id for list_of_N2
2016-05-23 07:00:36 +00:00
krasimir
4bc81136bc
fixes in DictionaryBul.gf
2016-05-23 05:48:37 +00:00
hallgren
0635f546f3
Changes for compatibility with GHC 8.0.1
2016-05-22 20:15:31 +00:00
krasimir
31efa4116e
fix the inflection for orange_1_N in Swedish
2016-05-22 12:14:29 +00:00
krasimir
425dc03d5c
a few more fixes in the sense ids and rename subject_A2 to subject_to_A2
2016-05-22 12:13:50 +00:00
krasimir
d3e1f1500e
add the sense id of familiar_with_A2
2016-05-22 11:34:17 +00:00
krasimir
b11f6a137a
split bank_N into two sense + a few related fixes in Bulgarian
2016-05-22 11:24:59 +00:00
krasimir
d26fb001eb
fix the Estonian language code in the App
2016-05-22 11:20:14 +00:00
krasimir
eb47b52e16
bugfix in libsg
2016-05-22 09:19:54 +00:00
krasimir
db65ebb584
fix in the examples for abasement_N and abjection_N
2016-05-20 21:57:26 +00:00
krasimir
3b7fcd6ca9
now all dictionary entries are annotated with the corresponding most frequent WordNet sense (NOTE: a big patch)
2016-05-20 21:26:13 +00:00
krasimir
1f76dd0d3b
merge armor_N/armory_N with armour_N/armoury_N
2016-05-20 21:16:22 +00:00
krasimir
ef99a3cd12
merge armorer_N with armourer_N
2016-05-20 21:08:27 +00:00
krasimir
547a963584
merge apanage_N with appanage_N
2016-05-20 21:00:49 +00:00
krasimir
9002cfb835
merge analyse_V2 with analyze_V2
2016-05-20 20:51:44 +00:00
krasimir
efab215846
merge amok_Adv with amuck_Adv
2016-05-20 20:44:41 +00:00
krasimir
8e3dce6728
merge ambiance_N with ambience_N
2016-05-20 20:33:19 +00:00
krasimir
75a2d4b56f
merge acknowledgment_N and acknowledgement_N
2016-05-20 20:07:56 +00:00
krasimir
51907edd34
fix color_A and color_N in English
2016-05-20 18:37:53 +00:00
aarne
e87adc42a4
better treatment of variant relative pronouns in Eng, based on suggestions by DrBean in gf-dev
2016-05-20 17:13:06 +00:00
krasimir
694cdffa72
change the API for literals in Java and Python. The input sentence is no longer a parameter to the callbacks.
2016-05-20 15:20:02 +00:00
krasimir
f6b67e1550
fix in DictionaryEng and DictionaryBul for gitano/gitana
2016-05-20 11:11:52 +00:00
krasimir
56b800fd5a
in case of null argument it is more intuitive to report the argument index by counting from 1.
2016-05-19 20:48:47 +00:00
krasimir
dff49cbe10
the constructor for expressions in the Java runtime now checks for null arguments. This means that a potential problem is detected earlier before we jump into the JNI code.
2016-05-19 20:41:09 +00:00
krasimir
c691b6e828
fix in the Android App after the introduction of sqlite3Btree.c
2016-05-19 15:26:59 +00:00
hallgren
7bd7e22e6f
Wide Coverage Translation Demo: improvements relating to application grammars
...
* Automatically update the translations when the set of selected
application grammars is changed.
* Skip application grammars that do not support the currently selected
source & target languages.
2016-05-19 09:36:40 +00:00
krasimir
5539d8a088
fix the compilation of sqlite3 on MacOS
2016-05-18 09:01:47 +00:00
hallgren
77d8758a46
Wide Coverage Translation Demo: a couple of small fixes
...
Add missing initalization after a new application grammar has been selected.
Add an "X" close button in the upper left corner of the grammar selection popup.
2016-05-16 14:43:51 +00:00
hallgren
ed9715dd92
Wide Coverage Translation Demo: you can now reorder the application grammars
...
When selecting which application grammars to use for translation, after
pressing the "Grammars..." button, it is now possible to change the order
of the selected grammars by dragging them up and down in the list.
2016-05-16 14:14:55 +00:00
hallgren
717876cb69
gfse/sort.js: enable dragging on touch screens
2016-05-16 12:57:01 +00:00
aarne
1e0aada9c5
started Greenlandic numbers; no full inflection yet
2016-05-15 10:18:08 +00:00
aarne
06517e62ac
enabling V3 and V2V in AppFre
2016-05-14 08:55:47 +00:00
aarne
8be1030e03
commented out the import of Phrasebook in App with --P; the idea is that application grammar parsing is done in a separate phase, which is faster and more flexible. Also re-enabled ComplV3 and ComplV2V, after testing that they don't reduce the parsing speed too much.
2016-05-14 08:30:49 +00:00
aarne
8d93386b52
light_A in DictionaryFin, it_Pron in DictionarySwe
2016-05-14 08:17:58 +00:00
hallgren
99adb7a3ed
Add a few missing languages in js/langcode.js. Use it also in gfse/editor.js.
...
gfse/editor.js had its own list with 34 languages, while js/langcode.js
only had 30 languages. The missing languages have been added to
js/langcode.js and all apps now use that list.
2016-05-13 13:03:28 +00:00
hallgren
4ddf95b89c
Wide Coverage Translation Demo: select application grammars to use from a list
...
There is now a new button "Grammars..." which show a list where users can
select which application grammars to use for translation, in addition to
the wide coverage grammar. Application grammars can give higher quality
translations in the domain they cover.
TODO: make it possible control the order of the selected application grammars.
2016-05-12 17:53:56 +00:00
hallgren
5421df527f
langcode.js: add Afrikaans
2016-05-12 15:28:11 +00:00
hallgren
b1d20cfe04
translator.css: factor out div.overlay styles to a separate file overlay.css
2016-05-12 14:21:30 +00:00
krasimir
36e10e33f4
bugfix in the Russian RGL
2016-05-12 09:44:38 +00:00
aarne
18287165e0
a fix in Fin verb paradigms
2016-05-12 08:06:27 +00:00
aarne
ff677f663d
experimenting with arrows and nodes in Globes
2016-05-11 12:52:20 +00:00
aarne
97609c9a64
a script for drawing language globes
2016-05-11 12:02:50 +00:00
krasimir
2941e2364f
skeletal version of AppRus.gf
2016-05-11 11:24:31 +00:00
krasimir
4ce95de1bc
the Literals API in Haskell no longer offers the sentence as an argument to the callbacks. It is just as easy to save the sentence in a closure and by doing that we save the repeated round about from C to Haskell strings
2016-05-11 11:10:22 +00:00
krasimir
ff11f2f963
many of the uses of peekCString and withCString in the Haskell binding were incorrect since they encode the string in the system locale while the C runtime is always using UTF8
2016-05-11 07:11:45 +00:00
aarne
350316829e
corrected some inflections in DictSwe ; not sure where the wrong inflections came from, since this should be a SALDO dump (although and old one)
2016-05-10 20:32:05 +00:00
aarne
49924883f9
place verb particle after negation in Scandinavian
2016-05-10 17:49:14 +00:00
krasimir
82a0634103
fix the offset for oracles in Haskell
2016-05-10 19:41:44 +00:00
krasimir
7cb772ffdb
an API for oracles in the GF parser
2016-05-10 17:11:39 +00:00
krasimir
c3cb14e741
a version of mkV2 in Slovenian which allows a custom case for the object
2016-05-06 19:39:13 +00:00
krasimir
c49c92149e
added ConstructionSlv with the week/month names
2016-05-06 09:44:48 +00:00
krasimir
ae20d6454a
skeleton for questions in Slovenian
2016-05-06 09:14:27 +00:00
krasimir
73c76ec927
PossPron, DetNP and PrepNP in Slovenian
2016-05-06 09:02:21 +00:00
krasimir
309d7c5cad
UttVP in Slovenian
2016-05-06 08:35:33 +00:00
krasimir
ead812e2b0
imperatives in Slovenian
2016-05-06 08:29:25 +00:00
krasimir
ca3f218122
fix the tenses in slovenian
2016-05-06 08:13:35 +00:00
krasimir
33bb74ab7e
forgotten NumeralsSlv.gf
2016-05-04 07:43:25 +00:00
krasimir
c42d31bc45
transitive verbs in Slovenian
2016-05-03 13:47:14 +00:00
krasimir
a9d257a31c
a few more words in StructuralSlv.gf
2016-05-03 13:15:03 +00:00
krasimir
9bb33b7610
cardinal numbers in Slovenian
2016-05-03 08:56:50 +00:00
aarne
8a2d41d89f
fixed Fin determiners that put CN into the partitive (paljon maitoa); works for the singular ones now
2016-05-03 07:20:40 +00:00
krasimir
b065d77a08
UsePron in Slovenian
2016-05-02 20:38:02 +00:00
krasimir
11c5687e98
bits of sentence syntax in Slovenian
2016-05-02 20:35:38 +00:00
krasimir
9fe7d9b697
UttAP and UttInterj in Slovenian
2016-05-02 20:04:51 +00:00
krasimir
618007e1ae
forgot the file PhraseSlv.gf
2016-05-02 20:00:01 +00:00
krasimir
d97b1a5841
added PhraseSlv.gf
2016-05-02 19:56:24 +00:00
aarne
5a05f75107
much_Det = viel without inflection in StructuralGer
2016-05-02 17:47:52 +00:00
krasimir
b450bb7db3
AdvCN in Slovenian
2016-05-02 16:41:28 +00:00
krasimir
8c50f0545a
forgotten StructuralSlv.gf
2016-05-02 07:11:22 +00:00
krasimir
44d7ccf6de
a prototype for complex queries over expressions in libsg
2016-04-29 14:06:24 +00:00
krasimir
652cd2d297
added methods for accessing the last element of a buffer in libgu
2016-04-29 14:05:42 +00:00
krasimir
6cf80c0769
a version of sqlite3.c which is prunned to one third of the original size and now it contains only the database storage engine withough the SQL compiler and interpreter
2016-04-28 14:14:04 +00:00
aarne
6267f9f71f
added a project for Portuguese as a copy of Spanish
2016-04-25 19:58:18 +00:00
hallgren
1c2ab94ec5
Fix a problem building the Java binding when creating binary packages
...
Pass -I and -L flags to gcc so that the C run-time system can be found.
Also added a line in src/runtime/java/Makefile to install jpgf.jar.
2016-04-25 14:21:04 +00:00
aarne
f48585151f
added ExtraFin.AdjAsCN
2016-04-24 08:44:29 +00:00
krasimir
83e66e151c
add mkAdV in Slovenian
2016-04-19 08:46:30 +00:00
aarne
0ccad993d0
started a Greenlandic project (Kal = Kalaallisut)
2016-04-17 12:43:37 +00:00
krasimir
f626472527
more fixes for GNU Lightning for ARM
2016-04-14 13:47:56 +00:00
krasimir
3188e603db
fix in evaluator.c
2016-04-14 13:47:29 +00:00
krasimir
727a94329c
added PGF.inferExpr and Type.toString in the Java binding
2016-04-14 13:12:22 +00:00
krasimir
75d808ab1f
bugfix in GNU Lightning for ARM
2016-04-14 08:26:07 +00:00
krasimir
46d83b2132
bugfix in the JIT compiler for 64bit machines
2016-04-13 14:58:12 +00:00
hallgren
8905fb19db
debian/control: dependency change from libtool to libtool-bin
...
It seems that nowadays the libtool executable is not included in the package
named libtool, instead it is in the libtool-bin package.
2016-04-13 14:39:33 +00:00
krasimir
a1fe57d69b
locale independent printing for doubles when they are part of an abstract expression
2016-04-13 14:30:40 +00:00
krasimir
e74a008296
fix for reading PgfExpr with a double literal
2016-04-13 14:08:49 +00:00
hallgren
1ca5e51707
Minibar: don't show dependency information in parse trees.
...
This was fixed by adding "&nodep=true" in the minibar when it requests a
parse tree from the server. The reason dependency information got included
in the first place was that all rendering options are on by default in
command=parsetree requests in PGF service API.
2016-04-13 13:18:18 +00:00
krasimir
6f0159e08e
added PGF.compute in the Java binding
2016-04-13 12:57:06 +00:00
krasimir
289957db74
added getFunctionsByCat
2016-04-13 12:49:08 +00:00
krasimir
18a5548b2b
added getCategories() and getFunctions() in the Java binding
2016-04-13 12:02:42 +00:00
krasimir
0bdba1a8d4
fix in FoodsMkd.gf
2016-04-08 15:25:12 +00:00
hallgren
7b6cf8e854
Changes to include the Java binding in binary distribution packages
...
This means that you now need to have a Java SDK installed to build
a Debian package.
The bin/build-binary-dist.sh (which builds bintar packages and OS X installer
packages) now skips the Python binding if python is not installed. Likewise
it skips the Java binding if a Java SDK is not installed.
2016-04-12 15:01:11 +00:00
hallgren
ee78d566e2
debian/rules: workaround for a problem on Ubuntu 15.10 and 16.04
...
dh_shlibdeps has a problem finding which package some of the Haskell
libraries come from, even though dpkg-query -S has no problem finding them.
But the gf executable is statically linked against the Haskell libraries, so
it will work even if these shared libraries aren't installed. But there will
be a problem if other shared libraries are missing (.e.g. libtinfo, libgmp),
so we need a better solution than simply ignoring all dependency problems...
See also http://stackoverflow.com/questions/11238134/dpkg-shlibdeps-error-no-dependency-information-found-for
2016-04-12 13:25:17 +00:00
Herbert Lange
72a39f69cc
Latin grammar: clean up and update
...
This patch removes all superfluous files from the directory, especially the
binary files in the doc folder. They are still available in the git
repository http://github.com/daherb/GF-latin which is still the main
repository for the development of the latin grammar.
The GF files are updated to a state close to the one at the end of the GF
Summer School 2015 where they were extended to support the MUSTE grammar.
2016-04-11 14:37:32 +00:00
aarne
46649e05cd
minimal template files for extending the Translate grammar with e.g. new words
2016-04-11 14:24:53 +00:00
hallgren
ca97f6d217
GF.Command.Commands2: adapt gf -cshell to the changes in the previous patch
2016-04-07 14:55:13 +00:00
hallgren
58cd043fa8
GF shell: fix a parsing problem with the cc command
...
This patch fixes a problem introduced last year when the GF shell was
refactored to allow more commands to be treated uniformly and be part
of pipes. The cc command was one of those commands, but unfortunately this
introduced a parsing problem, e.g.
> cc "last"
constant not found: last
> cc "last"++"year"
command not parsed: cc "last"++"year"
This happened because the generic command line parser in
GF.Command.{Abstract,Parse} assumes that all commands have an argument of
type PGF.Expr. Commands that expect other types of arguments have to
use PGF.showExpr combined with other conversion to the argument type they
expect. The cc command excpets a GF.Grammar.Term, and unfortunately not
all terms survice the roundtrip through PGF.Expr, in part because of
an additional hack to allow strings to be roundtripped through PGF.Expr
without adding superfluous double quotes.
To solve the problem, this patch
+ makes room for arguments of type Term in the Argument type in
GF.Command.Abstract.
+ makes a special case for the cc command in GF.Command.Parse, by
calling the partial parser 'runPartial pTerm' recently added in
GF.Grammar.Lexer and GF.Grammar.Parser. Care was taken so that
that "|" and ";" can be used both inside terms and as separators between
commands in the shell, e.g. things like the following now work:
> cc ("a"|"b") | ps -lexcode
variants { "a" ; "b" }
+ introduces a type CommandArgument that replaces [Expr] as the
type of values passed between commands in pipes. It has room for
values of type [Expr], [String] and Term, thus eliminating the need
to roundtrip through the Expr type all the time.
The hack to avoid adding superfluous quotes when strings are
roundtripped through Expr has been left in place for now,
but can probably be removed.
2016-04-07 13:40:05 +00:00
hallgren
6d5ecf7c3f
Lexer.x & Parser.y: add a partial parser for terms
...
Lexer.x: Change the parser monad type P to allow the remaining input to
be returned after a partial parse. Add function
runPartial :: P t -> String -> Either (Posn, String) (String, t)
Parser.y: Add a partial parser pTerm for nonterminal Exp1.
Re-export runPartial.
2016-04-07 13:32:14 +00:00
krasimir
6c28dc2699
fixed Foods grammar for Macedonian
2016-04-07 10:49:35 +00:00
hallgren
c4ea470eb1
Lexer.x: fix cyclic Functor instance
...
It looks like I introduced this cyclic definition in August 2014, but since
it isn't used, it hasn't been a problem...
2016-04-06 13:46:48 +00:00
hallgren
bd8c96efb3
src/tools: update GFDoc.hs and Htmls.hs for compatibility with current libraries and add gf-tools.cabal to compile them
2016-04-05 13:29:56 +00:00
krasimir
74fecc2cfc
Foods grammar for Macedonian. Probably not quite correct
2016-04-05 15:33:44 +00:00
hallgren
4b103f248e
GFSE: add Latvian to the list of RGL languages
2016-04-03 17:29:10 +00:00
aarne
fc9202a6cb
worked with Scandinavian VP to get the word order with neg+pron right: jag älskar inte din mamma vs. jag älskar dig inte vs. jag har inte älskat dig
2016-03-30 18:47:14 +00:00
hallgren
9f7593734a
src/runtime/c/INSTALL: add automake to the list of needed packages on Linux
...
The automake package contains aclocal, which is needed when running
autoreconf -i.
I never needed to install automake explicitly on Linux, presumably because it
got installed anyway because of some other dependency, but apparently you
can't take this for granted.
2016-03-30 11:43:16 +00:00
aarne
e929080bb6
a new Extra function for AP without CN, e.g. "a green one"
2016-03-29 18:50:34 +00:00
krasimir
6028bf7679
interjections, MassNP and simple VP phrases in Slovenian
2016-03-28 21:03:00 +00:00
krasimir
9807837342
pronouns in Slovenian. Slovenian has more personal pronouns and not all are currently covered in the RGL
2016-03-27 07:03:19 +00:00
krasimir
b9b7984cfc
a few more words in LexiconSlv for testing
2016-03-25 06:24:31 +00:00
krasimir
7a45959d9e
simple NP phrases in Slovenian
2016-03-25 06:23:54 +00:00
krasimir
39c7865e67
fix in PositA in Slovenian
2016-03-25 06:23:23 +00:00
krasimir
ec6758d0e4
mkAdv in Slovenian
2016-03-24 20:48:47 +00:00
krasimir
7ed94e8cc7
forgot LangSlv.gf
2016-03-24 20:37:48 +00:00
krasimir
bf0f5bcd9a
some fragments of adjectives and nouns in Slovenian
2016-03-24 20:35:51 +00:00
krasimir
5e586c247a
prepositions in Slovenian
2016-03-24 19:48:06 +00:00
krasimir
3e8ec361d8
fix the handling of separators in BNFC which are not nonempty
2016-03-22 13:13:35 +00:00
krasimir
4fb187b49c
CFGtoPGF is now extended to support context-free grammars with primitive parameters
2016-03-22 10:28:15 +00:00
krasimir
9780b38469
added missing module GF.Grammar.BNFC
2016-03-21 20:03:28 +00:00
krasimir
2bd4f2ef04
fix comment in GF.Grammar.CFG
2016-03-21 19:33:14 +00:00
krasimir
8cd59c6d98
initial support for BNFC syntax in context-free grammars for GF. Not all features are supported yet. Based on contribution from Gleb Lobanov
2016-03-21 13:27:44 +00:00
krasimir
651eab05d8
bugfix: GF.Compile.CFGtoPGF now supports literal categories
2016-03-21 13:26:32 +00:00
krasimir
27313fb336
more progress on the typechecker
2016-03-15 14:16:17 +00:00
krasimir
f4cf7493e3
current state of the experimental typechecker
2016-03-07 20:20:47 +00:00
krasimir
bd337427eb
add missing cases in vapply in the partial evaluator
2016-03-03 06:59:50 +00:00
krasimir
cbdbd1dd8e
Predef.Ints is of type PType not Type
2016-03-02 22:31:52 +00:00
krasimir
c6218d768a
fix in the typechecker
2016-03-02 21:28:54 +00:00
hallgren
d86c0848e6
gf.cabal: Remove GF.Compile.Compute.ConcreteNew1
2016-03-02 16:29:13 +00:00
krasimir
9d71727545
a better interface between the type checker and the partial evaluator
2016-03-02 16:22:56 +00:00
krasimir
e51ad77836
the experimental type checker in GF.Compile.TypeCheck.ConcreteNew is now rewriten to use the complete evaluator in GF.Compile.Compute.ConcreteNew. The old sketchy implementation in GF.Compile.Compute.ConcreteNew1 is now removed.
2016-03-02 13:38:02 +00:00
aarne
1a7370fff8
API examples as linearizable trees; duplicates for ambiguous examples
2016-03-01 14:29:22 +00:00
aarne
f980281cf7
regenerated synopsis with more far-reaching partial evaluation to complete some of the examples (also recent RGL fixes included)
2016-03-01 12:59:38 +00:00
leiss
bcb237793e
add forgotten file src/runtime/haskell/PGF/LexingAGreek.hs
2016-02-23 17:32:19 +00:00
leiss
398212bd65
add lexer and unlexer for Ancient Greek accent normalization
2016-02-23 16:30:39 +00:00
aarne
a2460d6fde
bogus words in DictFin and DictionaryChi removed
2015-12-07 16:50:34 +00:00
krasimir
8acbc6ba45
Now we even test in two different places for the JNI headers. Once for Linux and once for Mac OS. This is still not ideal since different Linux distributions might use different locations.
2016-02-17 14:52:48 +00:00
krasimir
6a50ccb48b
typo in the new Makefile
2016-02-17 14:40:46 +00:00
krasimir
be9a8f5a1f
a version of the Makefile for the Java binding which should work on Linux and Mac OS
2016-02-17 14:37:55 +00:00
krasimir
ad716539d4
add a skeletal morphology for Slovenian and a script for importing the SLOLEKS lexicon to GF
2016-02-10 18:12:48 +00:00
krasimir
453ad134b5
some progress on complex queries in libsg
2016-02-09 10:59:18 +00:00
hallgren
25bb254fd1
demos/index.html: a couple of fixes
2016-02-08 16:41:50 +00:00
krasimir
4d0b813b40
fix MkLang.hs to work with contemporary GHC versions. Haskell 98 doesn't seem to be supported anymore
2016-02-05 08:37:51 +00:00
krasimir
db523ff200
fix a rather intricate bug where coercions in the PMCFG grammar didn't interact properly with the lazy parser
2016-01-26 14:29:06 +00:00
hallgren
a0f6cd1f74
GFSE: add Afrikaans to the list of available RGL languages.
2016-01-19 13:59:17 +00:00
krasimir
b77a0d6801
javadoc comments in the Java binding
2016-01-14 19:03:13 +00:00
inari
a11b52b1b6
add link to irc channel
2016-01-14 05:59:49 +00:00
krasimir
9483ad219b
added API for reading a list of tuples in the SG module
2015-12-22 13:50:01 +00:00
krasimir
e584be964c
pgf_read should close the input file.
2015-12-22 09:29:14 +00:00
krasimir
6bf691c3af
added a primitive full-text search index in libsg. This can be use for finding an abstract tree whose linearization matches given keywords
2015-12-20 14:04:52 +00:00
krasimir
c6763c23e7
a fix that should solve the segmentation fault on MacOS with the exhaustive generator
2015-12-19 17:30:41 +00:00
krasimir
14769484a5
fix in the Python binding. The input sentence to the parser needs to be copied since otherwise the Python string may be discarded the garbage collector
2015-12-18 19:46:59 +00:00
aarne
4619cb69ac
commented out DictionaryChi.unfit_A which is just the negation word and causes bad parses
2015-12-11 14:05:15 +00:00
aarne
6cbeea93da
a couple more fixes in Chi
2015-12-11 13:42:26 +00:00
aarne
0b338f158b
fix in QuestionChi, suppressing the verb in some cases and making a negative sentence interpreted as a reduplicative question
2015-12-11 13:29:00 +00:00
hallgren
f060ea7ea0
feedback.cgi: exclude empty submission when showing the feedback list
2015-12-11 13:08:46 +00:00
aarne
bfe49e5fe1
tweaking Chi language codes to get both speech input and output in Android ; one fix in DictionaryChi
2015-12-11 10:56:07 +00:00
hallgren
d0fc643951
Wide Coveage Translation Demo: sort parse results by probability
...
Because of the "heurisitc factor", the results returned by the parser might
not be in strict probability order. To compensate, a sorting pass has been
added to find and show the translation with the highest probability among the
10 first translations.
However, this means that the translation demo now immediately has to ask for
10 translations of every segment. Before, it initially asked for only one
translation of every segment, and then 9 more translations for a segment
when/if the user clicked on it. This change can slow down translation
noticeably (e.g. from 15s 30s to load an example with fiction in English).
2015-12-10 14:27:15 +00:00
hallgren
b7e2ea30f5
Simple Translation Tool: bug fix
...
"File/Open In Wide Coverage Translation Demo" stopped working when support
for using different grammars in the Wide Coverage Translation Demo was added
On September 2.
2015-12-10 14:23:19 +00:00
krasimir
2242910b33
fixes in DictionaryBul.gf
2015-12-10 13:49:46 +00:00
aarne
8920268aec
grandparents in Chi,Fin,Swe
2015-12-09 15:25:43 +00:00
krasimir
252f3e8b4e
fix in the App
2015-12-09 09:02:19 +00:00
krasimir
99db978df6
fix microphage_N in Bulgarian
2015-12-08 15:40:37 +00:00
krasimir
b648dec410
more spelling variantions in English are merged
2015-12-08 15:37:17 +00:00
aarne
ed43431da0
just_because_Subj with Swedish variant bafatt: an example of the agility of our translator
2015-12-07 12:10:09 +00:00
krasimir
96c1a520f2
some revisions in the list of topics
2015-12-03 21:46:12 +00:00
krasimir
dcaf75d75e
fix in the app
2015-12-03 09:03:59 +00:00
krasimir
5047596d94
bugfixes in the app
2015-12-02 21:53:41 +00:00
krasimir
01008a0162
now this is a working version of the app with topic disambiguation but it is still not optimal
2015-12-02 20:47:54 +00:00
hallgren
a6c2ef97ff
GF shell, cc command: try to compute pre{...} tokens in token sequences
...
This is implemented as a simple post-processing step after partial evaluation
to try compute pre{...} tokens in token sequences. Nothing is done to deal
with intervening free variants.
This was done in response to a query from René T on the gf-dev mailing list.
2015-12-02 16:41:18 +00:00
hallgren
d5d4f11684
GF.Data.Str: change matchPrefix to agree with the GF book and the run-time system
...
The matchPrefix function is used in str2strings and the partial evaluator to
compute pre{...} tokens. But unlike the description in the GF book and
the implementation in the run-time system, matchPrefix looked at
the concatenation(!) of all following tokens and not just the next token
when deciding how to compute a pre{...} token.
This is a backwards incompatible change, but it is subtle and probably won't
cause any problems. In particular, the example grammars are unaffected.
2015-12-01 15:14:27 +00:00
hallgren
6d51e7f790
GF.Data.Str: unexport & comment out unused functions
2015-12-01 14:32:24 +00:00
francis.tyers
5c05f4c6f3
fumar
2015-11-30 10:28:35 +00:00
krasimir
07b381ee63
change in the Documentation module to accomodate topics visualization
2015-11-29 08:01:07 +00:00
krasimir
59ae8b0aaa
visualization for topics in the Android app
2015-11-28 23:15:58 +00:00
krasimir
7eef3fd08a
added some more topics
2015-11-28 12:24:01 +00:00
krasimir
57a5d01374
merge color with colour in the dictionaries
2015-11-27 20:36:33 +00:00
krasimir
8ddf367277
fix in the Java binding: the Expr class should also ensure that libjpgf.so is loaded to avoid failures if Expr is the first class that is used.
2015-11-27 15:35:53 +00:00
hallgren
d0b60f5458
Wide coverage translation demo: updated to use App15.pgf
2015-11-27 09:56:49 +00:00
krasimir
5dcdf46b90
added Expr.equals method in the Java binding
2015-11-26 15:38:12 +00:00
krasimir
67615d0638
added list of topics in the assets folder for Android app
2015-11-26 15:19:48 +00:00
krasimir
63261ad94a
added readTriple in libsg and its Haskell binding
2015-11-25 10:37:13 +00:00
krasimir
420793f8ec
the semantic graph view in the app now shows the real number of senses
2015-11-24 20:22:01 +00:00
krasimir
49f50a28f2
modify glosses.hs to merge several examples into one
2015-11-24 19:30:19 +00:00
krasimir
b0a85118e5
some fixes in the definitions
2015-11-23 13:22:45 +00:00
krasimir
3574794fae
about 2000 new definitions and examples in the dictionary
2015-11-23 13:16:16 +00:00
aarne
d1ac9b1d0f
vd -conll2latex now converts conll to latex. Without going through GF trees, but as a service to the dependency parser community.
2015-11-23 10:43:03 +00:00
aarne
e1daf59d41
AppEst.pgf_c added to the ios project (generated file via xcode)
2015-11-19 22:25:18 +00:00
krasimir
4888b65881
added mkInt and mkFloat in the Haskell binding to make it easy to create literal expressions
2015-11-19 13:18:19 +00:00
andrea.christina.unger
fc008c9631
fix Dutch mkVP : CN -> VP
2015-11-18 16:07:44 +00:00
krasimir
fd0bed8859
added a number of multi-word adverbs from WordNet. Fixed irregular forms of adjectivial adverbs in Swedish. Added a few new senses for some adverbs
2015-11-18 15:12:52 +00:00
krasimir
43011ebdb1
some more conversion patterns for Susanne
2015-11-18 10:16:55 +00:00
krasimir
ee1d19555a
we now support irregAdv in Swedish
2015-11-18 10:13:32 +00:00
aarne
4f1632d04d
reduced label size and optimized arc length in vd -output=latex
2015-11-18 08:12:26 +00:00
aarne
bb416aa524
latex visualization of dep trees: explained the program better and eliminated most magic numbers
2015-11-17 18:08:32 +00:00
aarne
c43a650c00
added -output=latex to visialize_dependencies. This generates more familiar-looking output than the default graphviz, which can moreover be pasted into LaTeX documents. Some more work is needed to make long sentences look nice and fit on a page; a constant word length is now used to simplify computing the coordinates.
2015-11-17 09:11:10 +00:00
krasimir
fe003097e1
bugfix in Translator.java
2015-11-16 20:03:40 +00:00
krasimir
e7b75332a0
abaft_Adv in Bulgarian
2015-11-16 20:03:15 +00:00
krasimir
7f5ab530ba
a minimal implementation for DocumentationTha and DocumentationJpn which is enough for showing the lexical definitions
2015-11-16 20:02:11 +00:00
krasimir
7c0e91c3a5
bugfix in the Documentation module for German. Before Adverbs were documented as Prepositions.
2015-11-16 14:59:56 +00:00
krasimir
80ccd0493d
now the Documentation module contains a category Definition which is used to generate definitions and examples for words in the App.
2015-11-16 14:57:32 +00:00
krasimir
fae5cba926
bugfix in the Makefile for the Java binding for creating .jar files
2015-11-16 14:39:52 +00:00
krasimir
76b5b5a4d5
remove the double definition of definition_N in the French dictionary
2015-11-16 14:37:36 +00:00
krasimir
51b6fade63
changed three words in DictionaryBul.gf
2015-11-16 14:36:53 +00:00
krasimir
611dd68b30
add a few popup characters on the qwerty and the nordic keyboards
2015-11-16 13:21:43 +00:00
krasimir
cfaa7fa069
a few more fixes in the abstract syntax of the dictionary
2015-11-13 22:49:57 +00:00
kaljurand
0553e7f6aa
corrections in TerminologyEst
2015-11-14 21:47:45 +00:00
krasimir
6810a9abae
update glosses.hs to split definitions from examples in separate triples
2015-11-13 22:41:20 +00:00
krasimir
efa275c874
prune missplaced examples from the abstract syntax of the Dictionary
2015-11-13 22:37:59 +00:00
krasimir
e7afafda3a
now by default the app shows glosses for the words for which we have something. this requires one more step in the App compilation which is described in the README
2015-11-13 17:28:11 +00:00
krasimir
25906435f0
bugfix in the SG binding for Java
2015-11-13 17:21:27 +00:00
krasimir
ac78824c56
fix abampere_N in Bulgarian
2015-11-13 15:36:31 +00:00
krasimir
1963e5aaaf
added Java API for insertion of triples in the semantic graph
2015-11-13 14:34:24 +00:00
krasimir
efe380a072
changes in the ParseEng grammar to bring it closer to the Translate grammar
2015-11-13 13:26:29 +00:00
krasimir
28cb6b4465
fixed the plurals of a few words in the English dictionary
2015-11-13 13:12:33 +00:00
krasimir
ce249c1dc8
a new version of the conversion script for the Susanne corpus which covers a bit less than half of the data
2015-11-13 13:05:21 +00:00
tobn2701
2a0edb2148
Chi fixes from René Tobner
2015-11-12 15:45:10 +00:00
aarne
47db5b9f03
ios fix: spaces should be removed from Chi but not from Cat
2015-11-11 15:43:48 +00:00
aarne
f859deb895
src/ui/ios/GF-Offline-Translator tested to work in XCode with the current GF runtime and grammars. However, AppEst crashes the app - remains to find out why
2015-11-11 14:19:17 +00:00
cenny
e25a141bff
iOS app sources copied from https://github.com/cennydavidsson/GF . Not yet tested with current GF.
2015-11-11 13:30:21 +00:00
aarne
29faf9c10e
moved old ios-swift files to the subdirectory src/ui/ios/old-swift
2015-11-11 10:56:22 +00:00
aarne
31bfb96353
AppEst was missing from darcs, oops
2015-11-11 09:40:35 +00:00
aarne
f12b93c7db
removed bogus CompatibilityEng file
2015-11-11 09:39:20 +00:00
aarne
24cf29622d
merged core rgl words with new DictionaryEst words
2015-11-11 09:27:42 +00:00
kaljurand
e65bbe8415
improved DictionaryEst from github
2015-11-11 09:11:16 +00:00
aarne
b1d4ccfb13
FromCoreRgl.gf: a concrete syntax of Dictionary with all words that can be inherited from core RGL Structural and Lexicon. This should be the best source for those words that are there, since they have been carefully checked.
2015-11-11 08:59:44 +00:00
kaljurand
fa6323e06b
fixes in monolingual DictEst (imported from github)
2015-11-11 07:42:05 +00:00
aarne
147e5e1aeb
added Estonian to the Android app
2015-11-09 13:32:57 +00:00
aarne
236a4b2550
small fixes in Est translation and app.probs
2015-11-09 12:44:19 +00:00
kaljurand
f456f4841f
better Estonian Phrasebook modules from https://github.com/GF-Estonian/GF-Estonian
2015-11-09 12:43:29 +00:00
aarne
d8d8b36f1c
last fixes to make AppEst compile
2015-11-09 11:02:09 +00:00
aarne
1876e92d2c
Estonian in wide-coverage translation. ChunkEst to revise, ExtensionsEst to complete
2015-11-09 10:44:53 +00:00
aarne
6147c1211c
started Estonian phrasebook modules to test AppEst
2015-11-09 10:43:24 +00:00
aarne
e1ca534f70
the visualization commands (aw,vd,vp,vt) can now show multiple trees. Previously they only showed one tree even if there were for instance after ambiguous parsing. The reason was that dot (graphviz) ignored all graphs but the first one. Now the graphs are put into separate files. The 'convert' command from ImageMagick package is used to combine them to one pdf. If this is a problem, the old behaviour can be restored by the -number=1 option to the tree-generating command, which cuts away all trees but the one and doesn't require ImageMagick.
2015-11-05 16:47:41 +00:00
aarne
456119e7e2
vp -showdep: as default label for the first (incl. only) argument, don't use dep#0 but assume it is the head
2015-11-05 08:30:13 +00:00
aarne
72004a98f6
improved documentation of vp -showdep
2015-11-05 08:23:33 +00:00
aarne
176c208343
dependency labels in parse trees now with the -deps flag, -file=labels_file for configuration. With -nocat option this shows reasonable dep trees, more familiar looking than the vd command. With -showfun flag, the tree gives a rather complete picture of the analysis of the sentence.
2015-11-04 20:36:47 +00:00
aarne
1b7d61ea2e
prepared visualize_parse for showing dependency labels
2015-11-04 17:28:09 +00:00
hallgren
2ace6089e3
Fix bug in gf -server mode with /gfshell requests not updating the state of the shell
...
The test for the quit command had the wrong polarity.
The problem was reported by Fahime Ghasemi on gf-dev mailing list.
2015-10-28 15:03:19 +00:00
aarne
90a5c3fe85
added documentation of list constructors to abstract/ files to improve the absfun document
2015-10-19 13:21:33 +00:00
krasimir
0c229c9108
three fixes in DictionaryEng.gf
2015-10-19 07:37:16 +00:00
krasimir
84340a8c0d
fix the compilation of DictionaryGer.gf
2015-10-19 07:36:41 +00:00
aarne
a0b56e0563
rebuilt absfuns.html with some Constructions and by giving lists of deps for non-local rules
2015-10-15 15:09:22 +00:00
aarne
92b99935f3
German V3 default without preposition is now Dat+Acc, not Acc+Dat - in conformance with ditransitives in other languages
2015-10-15 15:08:25 +00:00
aarne
a3bc2c4cf0
revised comments in Construction so that some functions can be shown in absfun doc
2015-10-15 15:01:38 +00:00
aarne
38c6bbc71b
made Lexicon.give_V3 ditransitive in a number of languages; corrected the default order for V3 in Romance (was accusative dative, now the other way around as it should be)
2015-10-15 14:43:20 +00:00
aarne
bb289d9297
improved absfuns.html generation, added links, improved comments in source files to give better documentation
2015-10-14 09:05:37 +00:00
aarne
d277fe88e1
added a copy of uddeps.labels; script for generating a table of abstract RGL functions and information on them; an instance of running the script, absfuns.html, to be used as documentation
2015-10-14 08:04:09 +00:00
krasimir
8e469675df
SlashV2a in English should set gapInMiddle = False to get the correct syntax for examples like "he absorbed himself into his work"
2015-10-14 07:40:26 +00:00
krasimir
36f2e7dc9a
bugfix for lookupMorpho in the C runtime
2015-10-14 07:36:46 +00:00
aarne
f5e56ebd50
noticed an issue with the placement of verb particle in Swedish; not yet fixed
2015-10-13 13:06:06 +00:00
aarne
33f1d0c583
corrections in DictionarySwe,Fin to deal with UD examples
2015-10-13 13:05:26 +00:00
krasimir
0753b22915
about 250 more variants in English
2015-10-09 12:08:10 +00:00
krasimir
4b3397cd1e
spelling variations for all forgotten transitive verbs
2015-10-08 23:35:39 +00:00
krasimir
09bba4b653
a more systematic addition of variants in English
2015-10-08 21:40:01 +00:00
krasimir
72dd127488
more spelling variants in English from WordNet
2015-10-08 10:21:00 +00:00
hallgren
ea540c118c
gf.cabal: require base>=4.5 (ghc>=7.4)
...
There are some low-level dependencies in GF.Text.Coding that break
compatibility with older versions of GHC and some other known problems.
2015-10-07 14:57:01 +00:00
krasimir
dad76d2cfe
bugfix ExtraEng.PartVP must also add the particle if there is one
2015-10-07 14:05:32 +00:00
krasimir
3d6aaa0fd3
more fixes in DictionaryEng spotted from WordNet
2015-10-07 09:39:15 +00:00
krasimir
5a7ff3c8ca
alternative spelling of kidnapper_N with single "p"
2015-10-06 22:45:08 +00:00
krasimir
931c4faf53
merge all *ally_Adv with the adverb in *_A, e.g. academically with academicly
2015-10-06 22:01:56 +00:00
hallgren
ec31efccc6
Update PGF API documentation link on home page, bump version number in gf.cabal to 3.7.1-darcs
2015-10-05 12:38:23 +00:00
Sergei Trofimovich
f550545494
Tweak for HTF-0.13, fix runTest name clash.
2015-10-03 12:47:38 +00:00
hallgren
5469706080
Setup.hs: fix off-by-one error the change count in the version info
...
The difference between "One change" and "No changes" is very noticeable.
2015-10-02 11:46:29 +00:00
hallgren
74d8e9c6cf
Bump version number to 3.7.1 and finalize documentation
...
Updated version number in gf.cabal and update debian/changelog
News item on home page (index.html)
Some last minute edits on the download page
Move the new release notes and download page in place.
2015-10-02 10:15:02 +00:00
hallgren
1e88cf380a
GF.Interactive2: extension FlexibleContexts is needed for GHC 7.10 compatibility
2015-10-02 09:59:55 +00:00
hallgren
a6d95d6272
Minor edit of GF 3.7.1 release notes
2015-10-02 09:34:20 +00:00
hallgren
33e4f4eefc
Some work on the release notes and download page for GF 3.7.1.
2015-10-01 12:57:31 +00:00
hallgren
0a7e8e7b5d
bin/build-binary-dist.sh: fix hardcoded /usr install path for .pkg packages.
2015-10-01 12:49:55 +00:00
hallgren
d0d1bc6be4
Makefile: make pkg: change install location from /usr to /usr/local
...
...for compatibility with OS X 10.11 El Capitan (which was released yesterday)
2015-10-01 08:39:35 +00:00
hallgren
f122e2d351
cc -trace: don't try to show the bodies of lambda abstractions
...
This triggers evaluation of terms with free variables, which the partial
evaluator isn't equipped to handle.
Reported by Aarne.
2015-09-30 10:30:19 +00:00
krasimir
a335785f19
added bracketedLinearizeAll in Python
2015-09-30 08:35:09 +00:00
hallgren
050c63f31e
download/release-next.t2t: preliminary release notes for GF 3.7.1
...
To be released as soon as possible...
2015-09-29 20:15:51 +00:00
hallgren
11c08b9167
GF source lexer: allow numeric character escapes in string literals
...
This makes the output from PGF.showExpr (and other Haskell code that uses
the Prelude.show function to show strings) parsable as GF source code in
more cases.
This is a workaround for the problem that GHC's implementation of the show
function uses numeric escapes for printable non-ASCII characters, e.g.
show "dålig" = "d\229lig"...
2015-09-29 12:18:35 +00:00
hallgren
af70a134f5
Preliminary new shell feature: cc -trace.
...
You can now do things like
cc -trace mkV "debug"
to see a trace of all opers with their arguments and results during the
computation of mkV "debug".
2015-09-28 22:23:56 +00:00
aarne
dcd634f92e
fixes in Dut Ita Spa numeral "one"
2015-09-18 06:15:31 +00:00
aarne
f4197a374f
fixes in Dut infinitive/extraposed word order. Not quite clear yet.
2015-09-17 19:44:35 +00:00
aarne
bbc679c6d6
additions and corrections to Dut,Fre,Ita needed for a dialogue system grammar
2015-09-17 09:50:52 +00:00
aarne
78766d3cd8
corrected IrregGer.sein_V to match with ResGer.sein_V
2015-09-15 18:03:47 +00:00
aarne
3b1bba0f11
some fixes in DictionaryGer
2015-09-16 09:57:43 +00:00
hallgren
cf959444a2
haskell-bind/SG.hsc: fix unsafePerformIO import problem with ghc>=7.8
2015-09-14 11:42:42 +00:00
hallgren
b717031cbf
doc/gf-developers.t2t: script name for installing the C run-time was wrong, should be setup.sh
2015-09-14 11:19:29 +00:00
hallgren
a3dcc2ff0e
doc/gf-developers.t2t: some updates
2015-09-14 09:24:10 +00:00
hallgren
03d1066a1c
WebSetup.hs: always enable parallel compilation of the RGL and the example grammars
...
This should work nicely now that GF itself can detect the number of processors
in the system.
Previously there was some code in WebSetup.hs that relied on Cabal to do this,
but it was commented out because it requires Cabal>=1.20, which is fairly new
and it would complicate the installation instructions if it was required to
compile GF...
2015-09-11 15:15:53 +00:00
hallgren
6aa4a7b737
Remove debug output introduced in previous patch
...
Oops.
2015-09-11 14:46:31 +00:00
hallgren
264fd05444
Parallel compilation: "gf -make -j" and "gf -make -j=n" now work as expected
...
* "gf -make -j=n" uses n parallel threads.
* "gf -make -j" adapts to the number of processors in the system.
This mimics how "cabal build -j" and "ghc --make -j" works.
Support for this is implemented in the new module GF.System.Concurrency and
it depends on the function Control.Concurrent.setNumCapabilities, which is
only available in GHC>=7.6 (base>=4.6). GF can still be compiled with
GHC<7.6, but then you have to use +RTS -N -RTS to take advantage of
multicore processors.
To detect the number of processors in the system, the code depends on a
foreign import of a C function in the GHC run-time system.
2015-09-11 14:18:01 +00:00
krasimir
21078c8bfe
fix the debug mode in the tree generator in the C runtime
2015-09-11 09:26:17 +00:00
hallgren
a976a49cef
PGF2.Expr: a fix for ghc-7.6
...
Apparently Foreign.unsafePerformIO is not just a re-export of
System.IO.Unsafe.unsafePerformIO (or vise versa), it is a different function,
so you get an ambiguity if you import both.
2015-09-10 15:07:48 +00:00
hallgren
6b285d215c
example/foods/FoodsIce.gf: converted from Latin-1 to UTF-8 encoding
2015-09-10 12:37:12 +00:00
krasimir
1196b48b5e
add readTriple in the Haskell binding
2015-09-08 13:04:31 +00:00
krasimir
af3c514e18
bugfix in the parser
2015-09-08 09:42:42 +00:00
krasimir
30dfd35e59
fix the metadata for sg databases
2015-09-04 16:34:40 +00:00
aarne
ae94991571
removed bogus "om" from Dut infinitives; fixed "wrong" in Chi
2015-09-04 15:38:49 +00:00
krasimir
ab086e7cb3
storage for literals in libsg
2015-09-04 14:45:18 +00:00
thomas
395e16a737
src/pgf-binary: reimplementation of GF's customized Data.Binary on top of the standard binary packages
...
This reduces the amount of duplicated code from 2400 to 490. No code from
data-binary-ieee754 is duplicated.
The module is called PGF.Data.Binary instead of Data.Binary. It is not
in use yet.
2015-09-04 12:58:29 +00:00
krasimir
2cfb0a41c8
libsg is now accessible on android
2015-09-04 11:18:21 +00:00
krasimir
73274da145
API for triple queries from Java
2015-09-04 11:03:46 +00:00
krasimir
9f37d11107
the Haskell binding now covers everything in the libsg API
2015-09-04 10:02:42 +00:00
krasimir
05f7150759
the new triples API in libsg now always works with expressions
2015-09-04 10:01:19 +00:00
hallgren
81a99fc8ed
GF shell: write_file now writes one tree per line
...
This compensates for other changes that removed line breaks.
Maybe it should have a -lines options like ps and rf?
2015-09-03 20:42:38 +00:00
hallgren
dab749a956
PGF2.Expr fixes
...
It needs to be listed in gf.cabal
unsafePerformIO is only exported from System.IO.Unsafe, starting with ghc-7.8
2015-09-03 20:41:00 +00:00
krasimir
5bcc2741fe
Java API for opening/closing SG databases
2015-09-03 13:52:32 +00:00
krasimir
2be83cae2d
bugfixes in libsg
2015-09-03 13:24:13 +00:00
krasimir
40f7948276
the Eclipse project for the Java binding is now replaced with a simple Makefile
2015-09-03 10:27:50 +00:00
krasimir
4b1d958730
silence compilation warnings in the Java binding
2015-09-03 10:11:23 +00:00
krasimir
1551cec993
fix hop_N in Swedish
2015-09-02 14:24:29 +00:00
krasimir
442bb77b74
API for transactions in libsg
2015-09-02 13:01:23 +00:00
krasimir
2ae4468738
added the minimal Haskell API for storing expressions/triples in the semantic graph
2015-09-02 07:12:36 +00:00
krasimir
e0c5b1d0b5
bugfix in libsg
2015-09-02 06:55:39 +00:00
hallgren
cc1ec66e2e
Wide coverage translation demo: make it easier to use with different grammars
2015-09-02 14:44:30 +00:00
francis.tyers
b8dc522813
typo
2015-09-02 10:31:45 +00:00
aarne
898f59bb7d
commented out PConj_Chunk, which created lots of bogus parses because of NoPConj. All real PConj chunks can be parsed as Conj chunks anyway.
2015-09-01 08:46:55 +00:00
aarne
fc371e64bd
added ConstructionTha and implemented parts of it
2015-09-01 08:29:48 +00:00
aarne
c6b36b99c7
removed obsolete flags from LangEng.gf
2015-09-01 08:29:10 +00:00
krasimir
7693d3d33c
a few more words in Bulgarian
2015-09-01 08:46:16 +00:00
krasimir
2ffdda9fb0
added code for visualization of the sematic graph in the app. The code is there but the menu item for activating it is not there yet since the functionality is not complete
2015-09-01 08:00:56 +00:00
hallgren
e76fb3d9a1
GF.Infra.SIO: The SIO monad now supports putStr in addition to putStrLn
...
Also included some unrelated minor changes.
2015-08-31 12:22:13 +00:00
krasimir
5cd0175051
about 40 multiword units in Bulgarian
2015-08-31 09:13:23 +00:00
krasimir
f5387c429b
still partial implementation for complex queries in libsg, and added sg.h which I had forgotten to include in darcs
2015-08-31 07:15:20 +00:00
krasimir
cd8017923e
fix sweetie_N/sweetheart_N in Swedish and Bulgarian
2015-08-29 18:01:19 +00:00
krasimir
8c1d321969
crossfire_N in the Bulgarian dictionary
2015-08-28 20:55:48 +00:00
hallgren
f62edb3e1e
Comment out some dead code found with -fwarn-unused-binds
...
Also fixed some warnings and tightened some imports
2015-08-28 13:59:43 +00:00
krasimir
68ff5ff371
query for triples and cleaner API
2015-08-27 15:18:51 +00:00
hallgren
38ce5826a8
GF shell: change parse & linearize to obtain useful results from p|l and l|p in more cases
...
These changes are inspired by the gf -cshell implementation of these commands.
The output of the linearize command has been changed to remove superfluous
blank lines and commas, and deliver the result as a list of strings instead of
a single multi-line string. This makes it possible to use -all and pipe the
results to the parse command. This also means that with -treebank -all,
the language tag will be repeated for each result from the same language.
The parse command, when trying to parse with more than one language, would
"forget" other results after a failed parse, and thus not send all
successful parses through the pipe. For example, if English is not the first
language in the grammar,
p "hello" | l
would output nothing, instead of translations of "hello" to all languages,
forcing the user to write
p -lang=Eng "hello" | l
instead, to get the expected result. The cause of this behaviour was in the
function fromParse, which was rather messy, so I assume it is not intentional,
but the result of a programming mistake at some point.
The fromParse function has now been refactored from a big recursive function
into
fromParse opts = foldr (joinPiped . fromParse1 opts) void
where the helper functions fromParse1 deals with a single parse result and
joinPiped combines multiple parse results.
2015-08-26 13:56:23 +00:00
hallgren
72459b5158
lib/src/*/Numeral*.gf: fix inconsistent inheritance form Cat
...
While the abstract Numeral inherits only Cat[Numeral,Digits], some of the
concrete NumeralNNN of Numeral inherited everything from CatNNN.
Normally the compiler outputs a warning message when a concrete syntax
contains superflous lincats, but apparently not when they get included
through inheritance...
This does not seem to cause problems in the Haskell run-time system, but the
C run-time system fails to load PGFs with superflous lincats.
This problems shows up when creating application grammars that inherit Numeral.
The Phrasebook is an example of such a grammar.
2015-08-26 11:53:16 +00:00
krasimir
4d39c2623b
added libsg in the C runtime
2015-08-24 09:36:51 +00:00
krasimir
f9250c610c
retrieval of a triple
2015-08-21 16:31:43 +00:00
krasimir
b66276fda5
API for storing triples in the semantic graph
2015-08-21 16:13:03 +00:00
hallgren
09f3937da1
GF shell bug fix: visualize_parse didn't accept the -lang flag
...
Even though the -lang flag was handled in the implementation, it was not
documented, and GF.Command.Interpreter rejects undocumented flags:
option not interpreted: lang
This must be a fairly old bug, so it suggests that the vp command isn't used
much...
2015-08-21 12:20:40 +00:00
hallgren
672d83f41f
GF -cshell: implement visualize_parse
...
Supported options and flags: -lang -format -view
None of the rendering options available in the Haskell run-time are supported.
2015-08-21 12:14:47 +00:00
krasimir
51640c4478
add a type signature in GF.Interactive2 to make ghc-7.6.3 happy
2015-08-21 11:58:32 +00:00
hallgren
bf0d75002a
gf -cshell: implement visualize_tree
...
But the following options are not supported: -mk -nocats -nofuns
2015-08-21 10:14:46 +00:00
hallgren
9efa45b80b
gf -cshell: implement a subset of print_grammar and abstract_info
...
pg supports only the -funs, -cats and -langs output modes.
ai IDENTIFIER shows info about a category or a function. ai can not type check
and refine metavariables in expressions.
2015-08-20 16:06:10 +00:00
hallgren
d2217c0715
PGF2: export BindType(..) and two new functions: showType & categories
...
showType :: Type -> String
categories :: PGF -> [Cat]
But both are implemented as quick hacks: categories is implemented by listing
all functions and taking the target categories from their types. showType uses
ppType copied & modified from PGF.Type, and needs a ppExpr, which is currently
implemented by wrapping showExpr...
TODO: need something correpsonding to PGF.categoryContext.
2015-08-20 15:55:24 +00:00
krasimir
c7c47fbded
add the initial sketches of the semantic graph storage
2015-08-20 13:31:43 +00:00
hallgren
5f3417ec5e
gf -cshell: linearize: implement options -all -list -treebank
...
Options -all and -list use PGF2.linearizeAll, which lists all variants, but
not all forms...
Also, there is no attempt to be compatible with the output from the Haskell
run-rime shell, which produces superfluous blank lines (-all) or
commas (-list), and mixes tagged and untagged lines (-treebank -all).
2015-08-18 16:05:45 +00:00
hallgren
d1cf9d734e
GF shell: restore the eh command to working order and document it
...
Also, when the command line parser fails, append the problematic command line
to the error message "command not parsed".
2015-08-18 13:13:31 +00:00
krasimir
ee5e103653
remove "heter" as a translation for call_V2 in Swedish
2015-08-18 11:20:45 +00:00
hallgren
d039147261
GF shell: add the start options to GFEnv, turn "reload" into an ordinary command
2015-08-17 15:56:39 +00:00
francis.tyers
4dce393a90
det_låter_bra
2015-08-17 11:50:55 +00:00
hallgren
a3db215f5b
GF Shell: "ph | wf -file=foo.gfs" now works as advertised
...
The print_history command was among the commands implemented in an ad-hoc
way instead of being handled by the command line interpreter, which means
it could not be used in a pipe, as in the example in the help info.
The refactoring in the previous patch made this old bug easy to fix.
Also fixed a bug in the "empty" command, introduced when moving the PGF from
CommandEnv to GFEnv.
TODO: fix the undocumented eh command. A comment in the help info for
print_history, and some commented out old code, suggest that eh means
"execute_history", but at present it does nothing...
2015-08-13 15:30:23 +00:00
hallgren
5339c1e6b5
GF Shell: refactoring for improved modularity and reusability:
...
+ Generalize the CommandInfo type by parameterizing it on the monad
instead of just the environment.
+ Generalize the commands defined in
GF.Command.{Commands,Commands2,CommonCommands,SourceCommands,HelpCommand}
to work in any monad that supports the needed operations.
+ Liberate GF.Command.Interpreter from the IO monad.
Also, move the current PGF from CommandEnv to GFEnv in
GF.Interactive, making the command interpreter even more generic.
+ Use a state monad to maintain the state of the interpreter in
GF.{Interactive,Interactive2}.
2015-08-13 10:49:50 +00:00
hallgren
5c6adb1927
GF Shell: turn set_encoding into a common command
...
Implemented in GF.Command.CommonCommands instead of GF.Interactive &
GF.Interactive2.
2015-08-12 15:00:03 +00:00
hallgren
2f3b6779c6
GF.Interactive2: cleanup
2015-08-12 12:33:36 +00:00
krasimir
8e6ae8fb86
Bugfix in the android app for Chinese which was causing the first character in the translation to disappear
2015-08-12 18:44:45 +00:00
hallgren
721f653e99
GF shell: source commands (cc, sd, so, ss & dg) can now be used in pipes
...
These commands are now implemented as regular commands (i.e. using the
CommandInfo data type) in the new module GF.Command.SourceCommands.
The list of commands exported from GF.Command.Commmands now called pgfCommands
instead of allCommands.
The list allCommands of all commands is now assembled
from sourceCommands, pgfCommands, commonCommands and helpCommand in
GF.Interactive.
2015-08-12 11:05:08 +00:00
hallgren
ba9c057650
Move welcome message from GF.Interactive & GF.Interactive2 to GF.Command.Messages
...
...to avoid the duplication.
2015-08-12 11:01:45 +00:00
hallgren
07fd298700
GF shell: make environment types abstract, comment out some dead code
2015-08-11 16:14:38 +00:00
krasimir
db07275527
pickling/unpickling for types
2015-08-12 10:11:00 +00:00
krasimir
d21b9e52d8
support for transparent pickling/unpickling of abstract expressions in Python
2015-08-12 09:21:23 +00:00
hallgren
624de05fe3
gf -cshell: improved help for the 'import' command
2015-08-10 16:39:31 +00:00
hallgren
6e5d8cebe0
Forgot to include gf.cabal in previous patch
2015-08-10 16:38:28 +00:00
hallgren
f371a020f9
Factor out common code from GF.Command.Commands and GF.Command.Commands2
...
Created module GF.Command.CommonCommands with ~250 lines of code for commands
that do not depend on the type of PGF in the environemnt, either because they
don't use the PGF or because they are just documented here and implemented
elsewhere.
TODO: further refactoring so that documentation and implementation of
*all* commands can be kept together.
2015-08-10 16:30:17 +00:00
hallgren
230d9780b7
gf -cshell: preliminary support for the C run-time system in the GF shell
...
Some C run-time functionality is now available in the GF shell, by starting
GF with 'gf -cshell' or 'gf -crun'. Only limited functionality is available
when running the shell in these modes:
- You can only import .pgf files, not source files.
- The -retain flag can not be used and the commands that require it to work
are not available.
- Only 18 of the 40 commands available in the usual shell have been
implemented. The 'linearize' and 'parse' commands are the only ones
that call the C run-time system, and they support only a limited set of
options and flags. Use the 'help' commmands for details.
- A new command 'generate_all', that calls PGF2.generateAll, has been added.
Unfortuntaly, using it causes 'segmentation fault'.
This is implemented by adding two new modules: GF.Command.Commands2 and
GF.Interactive2. They are copied and modified versions of GF.Command.Commands
and GF.Interactive, respectively. Code for unimplemented commands and other
code that has not been adapted to the C run-time system has been left in
place, but commented out, pending further work.
2015-08-10 14:12:51 +00:00
hallgren
97c6ffd462
Refactor GF shell modules to improve modularity and reusability
...
+ Move type CommandInfo from GF.Command.Commands to a new module
GF.Commands.CommandInfo and make it independent of the PGF type.
+ Make the module GF.Command.Interpreter independent of the PGF type and
eliminate the import of GF.Command.Commands.
+ Move the implementation of the "help" command to its own module
GF.Command.Help
2015-08-10 13:01:02 +00:00
krasimir
4866931df6
more changes in the dictionary
2015-08-10 08:35:23 +00:00
krasimir
c0ecbc26a4
bump the version number for the Android app
2015-08-10 08:34:29 +00:00
krasimir
99bcbe0a05
more changes in the Bulgarian dictionary
2015-08-07 08:27:47 +00:00
krasimir
0c064a8e8e
a few changes in the Bulgarian dictionary
2015-08-06 18:07:23 +00:00
krasimir
4fc67beb42
now the app shows the correct abstract syntax names for unknown words while it still produces the right TTS
2015-08-06 14:19:13 +00:00
krasimir
89e4df680e
another fix in the Thai keyboard
2015-08-06 14:18:49 +00:00
hallgren
1dcad033b7
GF Home Page: Updated the link to the Haskell API, and a couple of other links
2015-08-06 14:07:18 +00:00
krasimir
0fc59b8e50
disable the visualization of glosses in the App until we have a complete database
2015-08-06 13:02:27 +00:00
krasimir
365ddfb5a5
set the optimization levels for the JNI code to release level
2015-08-06 13:01:07 +00:00
krasimir
e9a8e083a0
bugfix for the word prediction in the App
2015-08-06 12:51:42 +00:00
krasimir
13ca43806c
a better layout for the Thai keyboard
2015-08-06 12:23:27 +00:00
krasimir
a982a4d15f
bugfix in lookup_morpho in the C runtime
2015-08-06 11:51:23 +00:00
krasimir
764a5ba90b
fix the inflection of tea and the translation of tee in Bulgarian
2015-08-06 09:34:19 +00:00
krasimir
af46844b05
a big patch with a number of changes in the dictionaries to harmonize them with WordNet
2015-08-05 17:33:52 +00:00
hallgren
a7945644e8
Update doc/gf-help-full.txt (GF shell reference manual)
2015-08-04 11:49:17 +00:00
hallgren
e5046b7e6d
FoodsTur.gf: use Predef.BIND instead of "&+"
...
...for better results when used with the C run-time system.
2015-07-28 10:58:00 +00:00
aarne
6a9083bc9e
discontinuous Ger AP part in UttAP
2015-07-27 09:18:14 +00:00
aarne
6519a3b72e
restoring the discontinuous Ger NP parts in some linearizations
2015-07-27 09:14:10 +00:00
aarne
0941e98a00
new synopsis, with the recent RGL fixes
2015-07-27 09:13:39 +00:00
aarne
6c8bb0575b
rewrote an mkPN application in WordsGer to work around a problem that might be a type checker bug
2015-07-23 16:16:38 +00:00
aarne
3fd7cf4e87
restored one-arg mkPN
2015-07-23 16:03:18 +00:00
scharolta_siencnik
0d35bb1c03
Ger wide-coverage changes due to RGL changes
2015-07-23 15:52:55 +00:00
scharolta_siencnik
ba14a8a7e5
German resource grammar: major changes.
2015-07-23 15:50:05 +00:00
scharolta_siencnik
7b26356d35
gender of Language in ConstructionGer
2015-07-23 15:21:37 +00:00
inari
1041456fc1
fix bug in stemmed/StemFin: essive case appeared twice, now only once
2015-07-22 15:02:45 +00:00
hallgren
495f64db21
Setup.hs: ignore .* instead of . and .. when compiling/copying all files in a directory
...
This avoids problems with .DS_Store files created by the Finder on OS X.
2015-07-22 14:34:02 +00:00
aarne
9c364bbae9
pinyin version of ConstructionChi
2015-07-21 15:38:16 +00:00
aarne
4b5ff2edf8
Ger Rel changes in ExtensionsGer
2015-07-21 15:06:05 +00:00
aarne
e366ca76fd
German relative "was" in RelS
2015-07-21 15:00:35 +00:00
hallgren
b0a4dfeddd
translator/DictionarySwe.gf: change fetch_V2 from "dra ut" to "hämta"
2015-07-21 15:06:04 +00:00
hallgren
2fe31eca17
PGF web service: option to leave &+ uninterpreted in linearized output
...
By adding unlexer=none (or unlexer=id) in requests that output linearizations
(e.g. command=linearize, command=translate), you can leave &+ uninterpreted
instead of gluing the adjacent tokens. This means that the output is left in
a format that can be parsed in a subsequent request.
To implement this consistently, the function linearizeAndBind was replaced
with the function linearizedAndUnlex (but there are a couple of requests
that do not call this function...)
Note that this applies to the Haskell run-time requests only. The C run-time
request (c-linearize, c-translate) always applies the &+ token and the
c-parse request can parse input containing glued tokens.
2015-07-21 14:21:49 +00:00
aarne
26074f7669
some Dictionary fixes in Swe,Cat
2015-07-21 13:16:36 +00:00
andrea.christina.unger
b70f55ed2e
fixed problems with position of Dutch negation
2015-07-21 12:48:09 +00:00
aarne
3d22d05bdc
added PassV2 to App; PassVPSlash did not work as VPSlash was disabled for speed reasons
2015-07-21 13:01:29 +00:00
hallgren
e4525d1565
translator/DictionarySwe.gf: film_V and shock_V2.
2015-07-20 14:45:58 +00:00
aarne
6c92c1e414
removed the obsolete examples/translator directory, which caused confusion
2015-07-20 14:32:50 +00:00
hallgren
47f7cf640d
translator/DictionarySwe.gf: 38 new words
...
Also added wince_V in Dictionary.gf and DictionaryEng.gf
2015-07-20 14:23:46 +00:00
hallgren
0695fecad6
Setup.hs: correctly parse output from 'darcs changes' for newer versions of darcs
...
It worked with darcs-2.8 before, now it also works with darcs-2.10.
2015-07-20 13:02:49 +00:00
aarne
53c477d2a2
copula in romance: ser/estar for Cat,Spa, just essere/etre in Ita,Fra. Controlled by the param type CopulaType in DiffRomance.
2015-07-20 13:41:01 +00:00
francis.tyers
42d5efbe08
noun for stop_N
2015-07-20 09:50:10 +00:00
andrea.christina.unger
ff3f9d59a2
fixed problems with Dutch infinitives
2015-07-19 08:26:50 +00:00
aarne
b3acc4d4c3
constants for Chi negation words to support Pinyin
2015-07-19 09:40:59 +00:00
aarne
2c61609344
Pinyin files using diacritics instead of numbers
2015-07-19 09:11:45 +00:00
aarne
a68fae0f84
file with noun classifiers extracted from DictionaryChi"
2015-07-19 08:15:59 +00:00
krasimir
5d02378300
some other fixes in Bulgarian
2015-07-17 06:42:54 +00:00
krasimir
bc59edb45a
some_Det in Bulgarian
2015-07-17 06:22:40 +00:00
krasimir
a976d7e44b
make the virtual machine instructions more uniform
2015-07-16 15:43:18 +00:00
krasimir
806a33ef98
refine the GNU lightning patch to avoid generating unnecessary code
2015-07-16 15:29:14 +00:00
krasimir
2b52a1a2ea
bugfixes in the JIT compiler for x86_64. One of the fixes is actually in GNU lightning
2015-07-16 15:21:09 +00:00
aarne
05146d567d
Pinyin with accents in additions to tone numbers
2015-07-16 13:58:58 +00:00
hallgren
6e93b3bd34
translator/DictionarySwe.gf: 26 new words and fixes
2015-07-16 13:11:15 +00:00
aarne
a5e3a845d7
MkTour.hs fixed to work with current ghc
2015-07-16 12:37:01 +00:00
aarne
eb8714fd77
added a space after the tag in word alignment to work around a graphviz bug shown with Chinese characters
2015-07-16 08:36:14 +00:00
aarne
6717481bfe
fixes in Chinese
2015-07-15 16:12:56 +00:00
hallgren
c14ca1eba4
Wide Coverage Demo: avoid errors if d3 or d3Tree can't be loaded
2015-07-15 14:07:26 +00:00
inari
25fff39f79
initial version, only nouns
2015-07-15 14:01:45 +00:00
krasimir
270ba6887f
add the Python API tutorial to the GF home page
2015-07-15 12:12:50 +00:00
krasimir
b0cd525889
fixes in Bulgarian
2015-07-15 06:49:04 +00:00
aarne
6af8c90ad2
fixes in Chi suggested by Mary
2015-07-14 15:11:33 +00:00
aarne
dbd4e04af3
subordinate sentence order and two intransitive verbs in Chi
2015-07-14 12:40:29 +00:00
krasimir
bda0505f98
variants of "a la carte" and "a la mode" with standard orthography in English
2015-07-13 09:19:52 +00:00
krasimir
a9a7556c24
remove maharajah_N from Dictionary.gf
2015-07-12 23:35:05 +00:00
krasimir
8b3d6059c6
fixed missing do in the Haskell binding
2015-07-12 15:37:45 +00:00
krasimir
99a0b5a1d8
the reasoner's states are now closures just like the code for the def rules. This means more compact JIT compiled code and uniformity with the code for def rules
2015-07-04 15:06:34 +00:00
krasimir
85e6e017af
merge the states for reasoning and evaluation into a single structure
2015-07-03 11:53:52 +00:00
krasimir
03e94a4fdd
added glosses to about half of the words in the dictionary
2015-07-02 13:19:03 +00:00
krasimir
40f759a111
more fixes in the dictionaries
2015-07-02 13:18:09 +00:00
krasimir
451dd8bca4
more changes in the dictionaries
2015-07-01 18:38:18 +00:00
krasimir
dc38eec14b
fix the confusion between canon_N and cannon_N
2015-07-01 16:56:25 +00:00
krasimir
612e324470
fixes in Bulgarian and Swedish
2015-07-01 16:32:12 +00:00
krasimir
8021d53521
merge harbor_N and harbour_N
2015-07-01 16:31:32 +00:00
krasimir
2e8d5b3d16
use bind for the numerals in German and Greek
2015-07-01 16:30:20 +00:00
krasimir
9fc5907628
merge brassiere_1_N/brassiere_2_N and aborigine_N/aboriginal_N
2015-07-01 11:14:48 +00:00
krasimir
2c9c72c88d
forgot to add the DBManager
2015-07-01 09:51:01 +00:00
krasimir
f716974e89
the Android app now can show Glosses from WordNet
2015-07-01 09:44:56 +00:00
hallgren
47dbfdb831
translator/DictionarySwe.gf: called_A, injured_A, shocked_A & shoddy_N
2015-07-01 08:23:10 +00:00
krasimir
950155e24d
specify strict APP_PLATFORM to avoid crashes on devices with older android version
2015-06-30 22:14:12 +00:00
krasimir
02fd379649
add function 'functions' in the Haskell binding to the C runtime
2015-06-30 20:42:19 +00:00
krasimir
2c6017ab59
some more comments in the help page
2015-06-30 17:01:56 +00:00
krasimir
f622a6250f
bugfix in the Android keyboard
2015-06-30 16:51:22 +00:00
krasimir
27b4fa7453
better layout for the Thai keyboard
2015-06-30 15:54:14 +00:00
krasimir
ca4c7fdc41
a few more changes in DictionaryBul
2015-06-30 15:25:38 +00:00
krasimir
5f9a40098b
fix catch_N in Bulgarian
2015-06-30 15:11:49 +00:00
krasimir
10e48563e2
increase the version number for the app
2015-06-30 13:53:57 +00:00
krasimir
3419cf9337
added ant.properties in the App folder to make it easier to prepare releases
2015-06-30 13:53:09 +00:00
krasimir
974e152ac3
bugfix in the parser for lexical lookup
2015-06-30 12:54:19 +00:00
hallgren
6fc3114e3e
translator/DictionarySwe.gf: combined_A, combining_N & sleek_A
2015-06-29 14:01:47 +00:00
inari
42d47143c1
add ../prelude to path in LangGer
2015-06-28 16:10:19 +00:00
hallgren
03d3814501
Remove left over [...] from release notes, bump version number in gf.cabal to 3.7-darcs
2015-06-25 14:56:15 +00:00
hallgren
f77fba354e
Update home page, download page & release notes for GF 3.7. Bump version number in gf.cabal
2015-06-25 12:22:06 +00:00
hallgren
4e9e7c2bdd
Documentation updates for the release of GF 3.7
2015-06-25 12:10:47 +00:00
krasimir
149815bde7
fixes in DictionaryBul.gf
2015-06-25 09:56:27 +00:00
krasimir
51c13f7aac
bugfix in the bottom-up prediction for the parser
2015-06-25 09:46:43 +00:00
krasimir
b912b12143
replace who_N with who_PN, i.e. World Health Organization. For reference check WordNet.
2015-06-25 07:20:54 +00:00
aarne
7f74e5a709
smart paradigm of Swe compound form: more rules for words ending "e", "tet"
2015-06-25 05:24:46 +00:00
hallgren
71c037b4df
runtime/c/pf/jit.c: silence warning about alloca on MINGW32
2015-06-23 15:49:31 +00:00
hallgren
5390f6a862
Bump version of .gfo and .pgf files, improve error messages on version mismatch
...
Becacuse of the new special tokens added to the Symbol type, .gfo and .pgf
files produced with the current version of GF can not always be used with
older versions of GF and the PGF run-time system.
The PGF version number was increased from (2,0) to (2,1). GF can still
read version (2,0) and (1,0), so old PGF files continue to work.
The GFO version was increased from "GF03" to "GF04".
2015-06-23 12:58:14 +00:00
hallgren
3e4e6d5337
WebSetup.hs: a note about parallel builds
2015-06-23 10:22:35 +00:00
hallgren
287be6ff2d
doc/gf-developers.t2t: add a note about parallel builds
...
Also added a note that partial builds (cabal build rgl-none, etc) doesn't work
with newer versions of cabal.
2015-06-23 10:20:04 +00:00
aarne
f0b5b7d5c1
commented out who_N, which creates bizarre translators; if the name of WHO, should not be an N anyway
2015-06-23 08:48:03 +00:00
hallgren
dbe00ecfac
Remove the automatically generated doc/gf-developers.html
2015-06-22 15:10:37 +00:00
krasimir
23ef2a060e
three more points in the release notes
2015-06-17 13:08:03 +00:00
krasimir
1d5043bde2
forgot changes in the serialization in the Haskell runtime
2015-06-17 12:58:46 +00:00
krasimir
e71db5f803
two more words in Bulgarian
2015-06-15 09:12:41 +00:00
krasimir
3646214075
fixes in DictionaryBul
2015-06-15 09:00:42 +00:00
krasimir
24c7ee8bdb
another fix in Bulgarian
2015-06-12 18:15:50 +00:00
krasimir
343609af58
fix castor oil, cod-liver oil and oil in Bulgarian
2015-06-12 17:37:21 +00:00
krasimir
324cdffc26
the orthographic tokens were broken when they appear inside a dictionary entry. Now this is fixed by treating those as syntactic rules
2015-06-12 13:03:19 +00:00
krasimir
701ad4fee2
change the compound form for apple in Swedish to äpple|äppel
2015-06-12 13:02:04 +00:00
krasimir
343457094f
add office in Bulgarian
2015-06-12 07:41:15 +00:00
hallgren
a5cbc648e9
Adding download/release-next.t2t (to be renamed) with preliminary release notes for the next release
...
You can use 'darcs changes --from-tag=RELEASE-3.6' to get a list of changes
since the previous release and extract noteworthy changes from there.
2015-06-11 13:55:18 +00:00
krasimir
3c2740c079
use BIND in IIDig for all languages in the library
2015-06-11 12:00:57 +00:00
krasimir
0804f386ff
fixed typo in the Haskell runtime
2015-06-11 07:41:28 +00:00
aarne
694d871410
marked in Translate.gf which new functions are needed in Penn treebank but left their imports commented out for the time being
2015-06-10 09:46:54 +00:00
aarne
c3583458a4
Eng and Fre Numeral: from - to BIND - BIND
2015-06-09 12:56:42 +00:00
aarne
9510870d2d
updated Android helpfile
2015-06-09 09:32:11 +00:00
aarne
09566f9680
note on official vs development version of the Android app
2015-06-09 09:28:39 +00:00
aarne
7491a8da83
updated demos/app.html
2015-06-09 09:22:59 +00:00
aarne
e912a0e358
geneated a file with split senses and their explanatory comments
2015-06-09 08:59:17 +00:00
aarne
d09da96bbc
some Fin and Ita Dictionary fixes
2015-06-08 11:42:18 +00:00
aarne
4d7a4a2f59
split sense baselines in Dictionaries except Bul,Eng,Hin
2015-06-08 09:28:47 +00:00
aarne
19707b3efd
file SenseSplits.hs to create baseline linearizations for split senses by just using the old unsplit functions; this is better than failure at runtime. Applied to DictionarySwe.
2015-06-08 08:47:32 +00:00
aarne
a128373dce
enabled VPI functions in ExtraDut
2015-06-07 21:00:19 +00:00
aarne
350a333b3f
need_V2 in Ita and Fre
2015-06-07 17:50:28 +00:00
krasimir
aa87b0d272
print error message for missing abstract categories in the C runtime
2015-06-05 07:41:59 +00:00
krasimir
4928636d81
a few words checked in Bulgarian
2015-06-02 14:50:37 +00:00
krasimir
8584008155
merge ameba_N with amoeba_N
2015-06-02 14:49:39 +00:00
aarne
dba8385bb3
AppFre.pgf added to repo by mistake, now removed
2015-06-02 13:21:55 +00:00
aarne
f737fba187
typo in DictionaryChi
2015-06-02 13:21:16 +00:00
aarne
2529f87942
copied examples/app to examples/slowApp; the new app is a bit scaled down but much faster
2015-06-02 12:59:29 +00:00
krasimir
d723babc2c
some more color related changes in DictionarySwe
2015-06-02 12:18:20 +00:00
krasimir
8f365636b8
merge grey and gray in the Dictionaries
2015-06-02 09:51:37 +00:00
aarne
f939bc2524
French input grammar FreInput separated from Fre
2015-06-02 09:45:44 +00:00
aarne
e80c5779cb
an input grammar for French - 40 times faster, makes all the difference in the app!
2015-06-02 09:13:15 +00:00
krasimir
70ad776361
change amber_A from gul to bärnstensgul in Swedish
2015-06-02 09:14:47 +00:00
aarne
26dd5afe3e
Dictionary fixes in Swe, Fin, Fre
2015-06-02 08:51:27 +00:00
krasimir
8ef979378a
fix in the Chinese dictionary
2015-05-30 11:07:38 +00:00
aarne
31b79c3d6b
added ListVPS and ListVPI related functions to import lists of Translate grammars - they had been missing. This can improve translation also in the app.
2015-05-29 16:08:55 +00:00
aarne
1664f8365f
corrections in check-dictionary document
2015-05-28 12:03:44 +00:00
aarne
6adc5db14b
started DictionaryMlt and TopDictionaryMlt by copying LexiconMlt and StructuralMlt
2015-05-28 11:32:26 +00:00
aarne
6335a44f9b
some fixes in DictionaryDut, mostly with particle verbs
2015-05-28 11:07:23 +00:00
aarne
f7d9d5bfa1
some fixes in Ger and Swe Dictionary
2015-05-28 10:56:39 +00:00
andrea.christina.unger
b2cef847b2
added auxV2V (parallel to auxVV)
2015-05-27 14:47:35 +00:00
hallgren
a1c5cfb55f
translator/DictionarySwe.gf: fix brush_V2
2015-05-27 16:02:47 +00:00
hallgren
7c9e860d87
Wide Coverage Translation Demo: add buttons for speech output
...
Also fixed a problem with showing inflections for words containing underscores
(e.g. race_2_N).
2015-05-27 13:29:41 +00:00
hallgren
d64bb8b83d
minibar: moved 2 reusable functions from minibar_translations.js to minibar_support.js
2015-05-27 13:28:40 +00:00
aarne
fa7a2f601a
restored ExtensionsGer.CompoundN so that it compiles with the current RGL
2015-05-22 12:27:35 +00:00
aarne
b57e5dcc12
fixed the word order of Scand discontious conjunctions: antinger jag vinner eller... -> antingen vinner jag eller...
2015-05-22 11:31:57 +00:00
hallgren
fc7c285e52
examples/phrasebook/Makefile2: include Jpn and Snd in the build
2015-05-21 15:01:27 +00:00
hallgren
941d6ea0ea
Omit -optimize-pgf when compiling small example grammars
...
The minibar lets the user choose any category as the start category, but this
can lead to run-time errors for grammars compiled with -optimize-pgf.
The problem can also be observed in the GF shell. For example,
"linearize Fish" (which means that the start category is Kind) fails for
some languages when Foods.pgf is compiled with -optimize-pgf.
2015-05-21 14:44:20 +00:00
krasimir
ee03e46a63
fix in DictionarySwe: guy_N -> kille. Spotted by Markus
2015-05-21 13:48:15 +00:00
hallgren
602b6fffae
Fixed a problem with minibar when invoked from gfse or the syntax editor
...
Minibar needs js/langcode.js now, so need to include it in gfse/index.html
and syntax-exitor/editor.html too.
2015-05-21 08:00:49 +00:00
krasimir
d4a3cc8228
clean up junk from Italian and Thai
2015-05-20 14:01:39 +00:00
leiss
953d65ceab
a dictionary with over 6000 German verbs with subcategorizations
2015-05-20 09:45:38 +00:00
hallgren
1173ebc230
minibar: cosmetic fix for the "To:" menu
2015-05-19 14:26:39 +00:00
hallgren
4211511dfb
minibar: more work on speech output
2015-05-19 13:38:42 +00:00
krasimir
121fe53968
added callback in C for unknown words
2015-05-19 09:15:48 +00:00
krasimir
4347ce727a
the NERC in C is now fully up-to-date with the other NERCs. In addition the NERC in Haskell and Java now refuses to recognize names that match words in the lexicon. The latest is useful for German
2015-05-19 07:26:56 +00:00
krasimir
36741cbbf2
a few words checked in Bulgarian
2015-05-18 19:33:29 +00:00
krasimir
7677430165
merge airdrome_N with aerodrome_N
2015-05-18 19:30:23 +00:00
hallgren
975b39716a
minibar: speech output (experimental) (in browsers that support it)
2015-05-18 15:58:57 +00:00
hallgren
a73af40230
minibar: use SVG instead of PNG for trees and alignment diagrams if supported by the browser
2015-05-18 14:54:29 +00:00
krasimir
815d1f441f
bugfix in the NERC in C
2015-05-18 15:02:44 +00:00
krasimir
3ebadcbc3b
the callbacks in C now take the concrete syntax as a parameter
2015-05-18 14:41:33 +00:00
krasimir
8cfd46b9bb
pgf_lookup_morpho and pgf_lookup_word_prefix are now also case insensitive if case_sensitive=off
2015-05-18 14:20:35 +00:00
krasimir
87b8118db1
fix raft in Bulgarian
2015-05-18 13:43:38 +00:00
krasimir
aa4fc45766
fix prayer_N in Bulgarian
2015-05-18 13:41:28 +00:00
krasimir
891b9b7561
a few more words marked as checked in Bulgarian
2015-05-18 13:40:55 +00:00
krasimir
c12e458a27
split trainee_N and practitioner_N
2015-05-18 13:37:11 +00:00
krasimir
3bc5c4ab85
clean up in the dictionaries
2015-05-18 12:54:35 +00:00
hallgren
512fbb49e6
GF cloud: updated lists of supported RGL languages and some minor style updates
2015-05-18 13:16:45 +00:00
krasimir
8fbe2178f5
split torch_N into three senses
2015-05-18 11:31:46 +00:00
krasimir
45f9a60786
fix playground_N and remove the erroneous translation of playgroup_N in Swedish
2015-05-13 12:52:10 +00:00
krasimir
472a95a844
"flags case_sensitive=off" makes the parser case insensitive
2015-05-11 14:11:42 +00:00
krasimir
3d502a76b3
added all orthographic primitives
2015-05-11 13:01:39 +00:00
krasimir
27724cb2c9
fix in translate.probs
2015-05-11 12:53:59 +00:00
krasimir
949310ef1b
implemented CAPIT in parsing
2015-05-08 18:54:50 +00:00
krasimir
7ee9edd080
fix in the dictionary lookup
2015-05-08 18:12:24 +00:00
krasimir
b87ed432a5
a new nice and elegant algorithm for dictionary lookup in the parser
2015-05-08 14:38:24 +00:00
krasimir
e600eb764a
the parser is now fully Unicode compatible
2015-05-08 09:23:29 +00:00
krasimir
5b60c3a00e
fix gu_ucs_is_space in libgu
2015-05-07 15:50:55 +00:00
krasimir
6eb15eb585
fix the NERC in C to work for PN as literal
2015-05-07 15:16:55 +00:00
krasimir
4ae661e19e
fix pgf-translate to use the NERC again
2015-05-07 14:49:30 +00:00
hallgren
c1c58f9919
translator/DictionarySwe.gf: fixes for landslide_N, mudslide_N and race_2_N
2015-05-07 13:48:51 +00:00
krasimir
77f14f3cc8
fix the UTF8 implementation in libgu
2015-05-06 15:51:12 +00:00
hallgren
dfd42bade2
GF.Haskell: small pretty printing improvement
2015-05-05 14:06:20 +00:00
hallgren
c13f5a0d68
GF.CompileOne: use random numbers to avoid temporary file name clashes
...
When using make -j to compile examples/app or examples/phrasebook, since
the dependencies are not completely specified in the Makefiles, it can
happen that the same file is compiled at the same by more than one process,
resulting in an error when they try to write the same .gfo.tmp file. Adding a
random number to the temporary file name avoids this problem.
2015-05-05 13:51:35 +00:00
krasimir
bb3559ae98
merge passer_by_N and passerby_N with passer_N
2015-05-04 16:33:34 +00:00
krasimir
0b58be2fbc
fixes in DictionaryBul
2015-05-04 16:16:31 +00:00
krasimir
e83d2b590b
use a temporary pool for linearizeAll in Haskell too
2015-04-27 19:39:16 +00:00
krasimir
be8302febe
fix a memory management error in linearizeAll in the python binding. a new temporary pool is used on every iteration to keep memory allocation to constant
2015-04-27 19:27:11 +00:00
krasimir
b115b97718
fix warning in the Python binding
2015-04-27 18:33:18 +00:00
krasimir
add8c83d93
mark two more functions as static in the Python binding
2015-04-27 18:24:21 +00:00
krasimir
57704a1b51
make linearizeAll in the Haskell binding lazy
2015-04-27 16:28:45 +00:00
prasanth.kolachina
93ab6c79d4
K translations in pipeline
2015-04-27 15:59:49 +00:00
prasanth.kolachina
fd566e123a
K Linearizations
2015-04-27 15:59:25 +00:00
prasanth.kolachina
a82d8c9ea6
Python linearizeAll with lazyness
...
linearizeAll function will take an expression and an optional
n keyword argument and return an iterator to the n-variant
linearizations of the expression.
2015-04-27 15:47:57 +00:00
prasant.kolachina
e9474e2a3f
remove parsing for long sentences, to stop pipeline from crashing/hanging
2015-04-27 13:05:14 +00:00
krasimir
605959fe16
clean some garbadge from DictionaryDut.gf
2015-04-27 09:51:10 +00:00
prasant.kolachina
beedd6dbb7
bug fix in python examples
2015-04-26 11:00:17 +00:00
prasant.kolachina
20a234521e
bug fix python examples
2015-04-26 10:18:21 +00:00
prasant.kolachina
db2d012fe5
Bug fix python examples
2015-04-26 10:16:23 +00:00
prasanth.kolachina
c43af4d991
Changes in lexer
2015-04-26 07:44:18 +00:00
prasanth.kolachina
c921136a9b
Bug fix in gf_utils
2015-04-24 18:46:03 +00:00
prasanth.kolachina
98bfbd8d60
No debug messages
2015-04-22 18:51:55 +00:00
prasanth.kolachina
a57b9b9275
Minor bug in pgf parse and kparse
2015-04-22 18:49:49 +00:00
prasanth.kolachina
b18669992d
README for Python translation pipeline
2015-04-22 13:14:26 +00:00
prasanth.kolachina
6ad6763a7f
Cleaned up Python Translation pipeline
2015-04-22 11:30:26 +00:00
aarne
9a79889511
some probabilities of structural words used as nouns lowered
2015-04-22 07:37:14 +00:00
prasanth.kolachina
4c103be4de
Examples for using Python bindings
...
The examples directory contains two modules for using Python bindings in GF.
The gf_utils module provides various Python functions to perform parsing
and linearization using the C runtime. Additionally, the translation_pipeline
module is an replica of the current pipeline used in the Wide-coverage
Web translation pipeline.
2015-04-22 07:04:21 +00:00
aarne
8a720913c1
Finnish geonames in Dictionary
2015-04-22 06:58:13 +00:00
aarne
ecdc44c572
some new words in Dictionary ; fixed many more words in DictionaryFin
2015-04-21 16:01:54 +00:00
aarne
f0f1748360
some translate.probs decreased ; fine-tuning in pgf-hsbind-trans
2015-04-21 14:13:13 +00:00
krasimir
4cbe4403f2
forgot to update gf.cabal
2015-04-20 12:25:52 +00:00
krasimir
61e37c9e5e
drop the dependency to FST
2015-04-20 11:56:13 +00:00
krasimir
79b710a6b7
added getpagesize() definition for Windows
2015-04-20 09:57:28 +00:00
krasimir
bfc2df3d04
fix in the Haskell binding for Windows
2015-04-20 09:55:15 +00:00
aarne
bf6613cefb
python binding examples directory
2015-04-20 07:42:11 +00:00
aarne
ab5d911141
new words in DictionaryFin and rules in ExtensionsFin ; some fun's in Dictionary commented out with ----*
2015-04-17 15:48:01 +00:00
aarne
168e6a04d8
pgf-hsbind-trans now with linearizeAll
2015-04-17 14:33:28 +00:00
hallgren
54b69e25ea
pgf-shell.hs: remove call to performGC and document the 'i' command
2015-04-17 13:34:41 +00:00
hallgren
409f7ab3e3
gf -server: include grammar modification time in the info returned by /version
2015-04-17 13:21:20 +00:00
hallgren
69a192308b
PGF web service: add command c-linearizeAll to obtain all variants
...
Implemented by calling the recently added function PGF2.linearizeAll.
2015-04-17 12:59:03 +00:00
krasimir
a76ea1a99b
added linearizeAll in the Haskell bindings
2015-04-17 12:33:22 +00:00
hallgren
8c27daca37
translator/DictionarySwe.gf: fix hug_V2
2015-04-17 11:33:28 +00:00
aarne
e12e2f78c8
adjusted translate.probs
2015-04-17 07:08:14 +00:00
krasimir
5754848626
bugfix in the java binding
2015-04-16 13:53:03 +00:00
aarne
3ddbc44789
simplified the example translator and renamed it to pgf-hsbind-trans
2015-04-16 13:51:18 +00:00
hallgren
9495fc309f
Wide Coverage Translation Demo: length limit test uses # of source chars now
...
The length limit test previously used the URL-encoded UTF-8 representation
of the source sentense. This was needed because of a fixed size buffer in C.
Now that the server is in Haskell, the only reason the length is limited
is to avoid excessive time and space use in the parser, so it is better to
count source characters. This also avoids being too restrictive with
non-European languages.
2015-04-16 12:21:32 +00:00
krasimir
f5e14f1a46
fix today_N in Swedish
2015-04-16 12:01:38 +00:00
aarne
a54c8b2bd2
lower probability for chunked phrases
2015-04-16 11:39:28 +00:00
aarne
14ad792ce7
two-place Dut.mkA to deal with unpredictable attributive form
2015-04-16 07:03:29 +00:00
aarne
2bd5bba87c
Dutch mkA morpheme -en added to those not duplicating end consonant
2015-04-16 06:52:59 +00:00
aarne
538784e6dc
restored Cantonese as app Chi speech output: nothing else seems to work
2015-04-16 06:52:09 +00:00
aarne
295f4afd54
corrected Dut.mkA for -ig ; ferris wheel in a few Dictionaries
2015-04-15 20:43:43 +00:00
aarne
23992d412d
extended pgf-shell functionalities: batch translation with many trees, and intervening context-dependent tree manipulation
2015-04-15 15:53:44 +00:00
hallgren
3aaeaf1325
Translating linearization functions to Haskell: move Haskell AST and pretty printer to GF.Haskell
...
For further separation of pretty printing concerns from conversion concerns,
the Haskell AST and pretty printer has been moved to its own module,
GF.Haskell, also allowing it to be reused in other places where Haskell
code is generated.
2015-04-14 12:44:14 +00:00
aarne
ca2ef47a47
updated app help file ; added backslash to ? in Thai keyboard xml to make it compile
2015-04-13 09:45:05 +00:00
hallgren
29712a43ac
Wide coverage translation demo: show an informative error message for sentences that exceed the length limit
2015-04-09 10:18:41 +00:00
hallgren
e2e943eabc
GF.Compile.ConcreteToHaskell: some documentation
2015-04-07 14:51:52 +00:00
hallgren
33442e6b4f
GF.CompileInParallel: get rid of the cryptic 'thread blocked indefinitely in an MVar operation' message after compilation errors
...
Instead show a message saying how many modules were affected by the compilation
errors.
2015-03-31 13:26:51 +00:00
hallgren
bab4e7f872
translator/DictionarySwe.gf: nordic_A, washing_N
2015-03-31 12:24:54 +00:00
krasimir
37c9cbe0b4
fix in the dictionaries
2015-03-30 12:09:33 +00:00
hallgren
4a195c1915
translator/DictionaryTha.gf: fix a syntax error
2015-03-25 14:32:37 +00:00
hallgren
d1bca8f4de
Wide Coverage Translation Demo: zoomable panable collapsible syntax trees
...
This is an experimental solution using JavaScript code from
https://github.com/christos-c/tree-viewer , d3js.org and jquery.com.
2015-03-24 18:03:10 +00:00
hallgren
40c431ec6c
PGF Service: add an option to return syntax trees in JSON format
...
The parse/translate/c-parse/c-translate commands now recognize the option
jsontree=true to augment the returned JSON structure with a field called
"jsontree" next to the field "tree", or "jsontrees" next to "trees",
containing the the returned syntax tree in JSON format (the same format
returned by the abstrjson command, similar to the format returned in the
"brackets" field).
2015-03-24 17:37:43 +00:00
hallgren
a3183b07b0
translator/DictionarySwe.gf: add eclipse_N and eclipse_V2
2015-03-23 11:52:06 +00:00
krasimir
1a959be153
merge a number of spelling variants in the dictionaries
2015-03-23 11:02:50 +00:00
hallgren
fbd7e498cd
Wide Coverage Translation Demo: add a way to obtain inflection tables
...
Too see inflection tables, click on a translated sentense, then click on a
blue function name in the textual representation of the abstract syntax tree.
2015-03-22 22:54:05 +00:00
krasimir
4d8a86c1c2
fix in DictionaryBul
2015-03-22 07:03:41 +00:00
krasimir
4c8a9e7ac6
merge mold_N with mould_N
2015-03-22 06:37:48 +00:00
krasimir
7e9eec86c0
merge cantaloup_N with cantaloupe_N
2015-03-21 20:42:37 +00:00
krasimir
217d503f30
~5000 more words in DictionarySwe from Google
2015-03-21 17:18:52 +00:00
krasimir
8b88fa6bb5
~5000 new nouns in Swedish from Google
2015-03-21 13:34:48 +00:00
krasimir
82ab195d28
merge tranquility with tranquillity in the different dictionaries
2015-03-21 13:22:56 +00:00
krasimir
f33d69aa9d
random fixes in DictionarySwe.gf
2015-03-21 13:09:06 +00:00
krasimir
c270d01cd4
small fixes in DictionaryBul.gf
2015-03-21 13:08:30 +00:00
krasimir
1357f58c1f
fixes in DictionarySwe
2015-03-21 06:29:24 +00:00
krasimir
0338d1070c
a number of country adjectives and nouns in Swedish.
2015-03-20 09:36:20 +00:00
krasimir
3f69eee279
causal_A/causality_N in Swedish
2015-03-19 21:01:46 +00:00
hallgren
de1437d3c4
Wide Coverage Translation Demo: draw abstract trees and parse trees
...
You can now click on a tree to toggle between the abstract syntax tree and
the parse tree.
Also, the implementation now uses the new C run-time requests, e.g.
App14.pgf?command=c-abstrtree&tree=...
so no need to install AppEng.pgf on the server any more.
2015-03-19 15:26:18 +00:00
hallgren
374da1f0b0
PGF service: add commands c-abstrtree and c-parsetree
...
These are the C runtime variants of the absttree and parsetree commands. They
work in the same way, but support fewer rendering options.
2015-03-19 14:17:45 +00:00
hallgren
fac915e783
haskell-bind: add bindings to graphviz rendering functions for abstract&parse trees
2015-03-19 14:14:30 +00:00
krasimir
7c24ce9758
fix the compilation of gu/mem.c on Windows. For now memory mapped pools on Windows are just not supported.
2015-03-19 09:28:31 +00:00
hallgren
e92583ca8c
Wide Coverage Translation Demo: draw syntax trees
...
The trees are drawn by using the Haskell run-time request
AppEng.pgf?command=abstrtree&tree=...
Thus AppEng.pgf has to be installed on the server and in sync with App14.pgf.
This is to avoid loading the huge App14.pgf in the Haskell run-time system, and
is enough since we only need the abstract syntax.
2015-03-18 16:23:04 +00:00
aarne
9af20d5c8b
generalized mkPrep in ParadigmsSpa by Daniel Vidal
2015-03-17 17:41:43 +00:00
hallgren
9ce7b36024
translator/DictionarySwe.gf: some fixes and new words, e.g. neither7nor_DConj
2015-03-17 15:49:56 +00:00
aarne
73976ec803
started finnish/tagged/ as a variant of the RGL that uses external morphological analysis
2015-03-17 15:04:28 +00:00
hallgren
dcf941d2be
translation/DictionarySwe.gf: three new words
...
Ignoring suspicious entries latest_N, times_N and pend_V.
2015-03-16 15:22:03 +00:00
aarne
845687462f
refactored Thai so that it can now be compiled producing BIND tokens instead of spaces, by just changing the definition of ResTha.bIND. This is not to be exploited yet, because it produces consecutive BIND tokens, which are not supported at runtime.
2015-03-16 14:53:53 +00:00
hallgren
ae97390cf5
translator/DictionarySwe.gf: three new words and a gender correction
2015-03-16 14:14:14 +00:00
aarne
963d3af1e9
Mongolian in ResourceDemo
2015-03-13 15:27:55 +00:00
aarne
4c8984638c
Mongolian on index page
2015-03-13 15:24:10 +00:00
aarne
9e0012af3e
updated RGL synopsis with Mongolian
2015-03-13 15:21:49 +00:00
aarne
3625c1ea25
fixed path in TryNep
2015-03-13 15:11:18 +00:00
aarne
f7f8225103
added Nepali to Setup: it had been missing
2015-03-13 15:10:16 +00:00
aarne
b456f921cf
added Afrikaans to Setup: it had been missing for a while
2015-03-13 15:08:03 +00:00
aarne
93ead18b24
fixed path in TryAfr
2015-03-13 15:07:48 +00:00
aarne
309f94ca56
updated Setup and RGL status.html with Mongolian: now it compiles by default
2015-03-13 14:51:01 +00:00
hallgren
7c1be91839
Fix -path directives for Mongolian
...
+ Remove references to alltenses.
+ Remove references to ../../prelude
+ Add missing reference to ../common in mongolian/SymbolMon.gf
2015-03-13 14:41:30 +00:00
aarne
10d43a6e11
added a dummy SymbolMon to enable compilation of RGL
2015-03-13 14:11:01 +00:00
hallgren
3502750052
GF.CompileInParallel: fix a Win32 problem
...
Recognize \ in addition to / when extracting path components.
2015-03-13 13:48:14 +00:00
nyamaakaa
053f2377b2
complete RGL implementation for Mongolian by Nyamsuren Erdenebadrakh
2015-03-13 13:40:22 +00:00
hallgren
4ff30e6771
Wide Coverage Translation Demo: improved performance
...
For improved performance, request only one translation from the server
initially. When the user clicks on a translated sentense, request 9 more
translations.
2015-03-11 17:53:25 +00:00
hallgren
9efbe0e47a
GF.Server: request logging: increase length limit from 100 500 chars per field
2015-03-11 15:56:06 +00:00
aarne
02ed9cea8b
DictionarySwe: kick_V2, mouse_N
2015-03-11 08:08:38 +00:00
aarne
3d49f98288
prepositional verbs added to DictionaryTha by a baseline heuristic
2015-03-10 15:21:09 +00:00
aarne
00e2f69853
generated TopDict for Thai
2015-03-10 15:13:39 +00:00
aarne
3ed8eb16ea
some ChunkTha items ; subcat verbs in DictionaryTha guessed
2015-03-10 14:54:15 +00:00
krasimir
35c4b5f3eb
remove the meta_item variable from the parse state
2015-03-06 15:18:50 +00:00
hallgren
82763282bb
Simple Translation tool: add File menu command 'Open in Wide Coverage Translation Demo'
...
Just as a quick way to test different documents in the Wide Coverage
Translation Demo.
2015-03-06 12:04:17 +00:00
hallgren
bc7500bd26
gf.cabal: increase idle time before full GC to 5 seconds
...
The builtin GHC RTS default is 0.3 seconds, which results in very bad
interactive behaviour when working with a large grammar in the GF shell.
2015-03-05 15:30:41 +00:00
krasimir
d408c7df9f
remove some more old code
2015-03-05 14:47:36 +00:00
krasimir
9d85f53002
removed some operations in GeneratePMCFG. They didn't work well with variants and are now obsolete with the new partial evaluator
2015-03-05 13:58:18 +00:00
hallgren
0ea372f230
GF.Compile.Compute.ConcreteNew: add dynamic table conversion
...
If the enumaration of table parameter values fails during the static
traversal phase, try again in the dynamic computation phase, when the values
of bound variables are known.
This is necessary to properly deal with generic table construction in opers,
like the ones found in prelude/Coordination.gf, e.g.
consTable : (P : PType) -> ... = \P ... -> {s1 = table P {...} ; ... }
2015-03-04 18:20:16 +00:00
hallgren
31f6cbe9e0
GF.Compile.Compute.ConcreteNew: some refactoring for readability
2015-03-04 13:30:11 +00:00
hallgren
cc014e659f
Fix to avoid "error (no reason given) OCCURRED IN optimizing <cat>"
...
GF.Compile.Optimize.mkLinReference can fail and cause this error because
the helper function inside it applies msum to a list that might be empty
(if there is a record type that does not contain a field of type Str).
This means that it can return mzero::Err, i.e.
Bad "error (no reason given)"
which can slip through the top level test that only catches Bad "no string".
2015-03-02 14:27:36 +00:00
hallgren
801582d27f
GF shell: fixed problems with previous change of the -retain flag
...
Because the prompt included the name of the abstract syntax, the loading
of the PGF was forced even if -retain was used. Even worse,
if an error occured while loading the PGF, it was repeated and caught
every time the prompt was printed, creating an infite loop. The solution
is to not print the name of the abstract syntax when the grammar is
imported with -retain, which is the way things were before anyway.
2015-02-27 16:42:09 +00:00
krasimir
9448f048bf
some fixes in DictionaryBul.gf
2015-02-27 15:46:27 +00:00
krasimir
d7afcd34cf
Trinidadian in DictionaryEng was written with Cyrillic T by mistake
2015-02-27 15:35:23 +00:00
aarne
de8d88b4d0
corrections to German verbs by Hans Leiss
2015-02-27 15:34:03 +00:00
aarne
6819d67943
fixed the problem found by Hans Leiss with Ger passives leaving out arguments and producing metavariables in parsing
2015-02-27 14:02:38 +00:00
hallgren
d809c5db1e
GF shell: create a PGF also when the -retain flag is used
...
The commands available in the shell after import -retain are now a superset
of the commands available after import without -retain.
The PGF is created lazily, so there should be no performance penalty if
the PGF isn't needed. If there are errors, they won't be reported until a
command that uses the PGF is entered.
2015-02-27 13:49:13 +00:00
krasimir
04e6fabfd6
remove later_A from the dictionaries and fix late_A/later_Adv in Bulgarian
2015-02-27 13:01:01 +00:00
hallgren
eea4dfd2fa
gf.cabal: adjust version constrains on the network, cgi and httpd-shed packages
2015-02-25 18:41:57 +00:00
hallgren
5cf0ab4110
PGFService: make the restriction on parallelism more effective
...
Restrict the entire request handler instead of just the call to the C parser.
2015-02-25 16:08:21 +00:00
krasimir
0764d518c7
fix some out-of-date code for the PGF_RESULT_DEBUG mode in the parser
2015-02-26 13:31:26 +00:00
krasimir
42908bd95f
use the same trick for comparison of doubles in cmp_expr_state
2015-02-26 13:10:01 +00:00
krasimir
dfd69d5d4b
bugfix in the parser which caused some items to be poped in the wrong order if their probability differ with less that 0.5
2015-02-26 12:17:59 +00:00
hallgren
83c5269a84
Wide Coverage Translation Demo: better resizing behavior on startup and when pasting text
2015-02-25 15:36:25 +00:00
hallgren
2d979aea4d
translator/DictionarySwe.gf: 15 new words and a few fixes
2015-02-24 15:10:24 +00:00
hallgren
7631527395
PGFService.hs: text lexer: slightly smarter decapitalization of the first word of a sentence
...
Keep the first letter in upper case if it is followed by more upper case
letters.
(Also remove some left over debugging output.)
2015-02-24 15:04:06 +00:00
krasimir
79a7ae6553
remove three more uses of meta productions that were left in debugging mode
2015-02-24 10:59:18 +00:00
krasimir
8664dd80ed
implemented escape characters when reading/printing an abstract expression with string literals
2015-02-24 09:35:12 +00:00
hallgren
3dc44ef8cf
translator/DictionarySwe.gf: add oriented_A and simplify_V2
2015-02-23 16:39:54 +00:00
aarne
1bce002fdb
changed default for Fin.mkN with endings ain/uin/äin: no strong grade, so that we get avain - avaimen instead of avain - avakimen
2015-02-22 19:07:56 +00:00
krasimir
d71d59cdc0
fix in thai_page2.xml
2015-02-20 15:31:32 +00:00
hallgren
08840a0afe
translator/Dictionary.gf: remove video_A
2015-02-20 14:37:41 +00:00
hallgren
8d0bb75121
gftransate.js: increase sentence length limit for "fast" language to 500
...
Currently Bul, Chi, Eng and Swe are marked as "fast" in the documentation.
2015-02-20 14:34:37 +00:00
hallgren
25eeb7bb9c
translator/Dictionary*.gf: remove video_A
2015-02-20 14:31:23 +00:00
hallgren
9dce1473d1
translator/DictionarySwe.gf: 6 new words
...
Found when translating a few paragraphs from a new article
2015-02-20 14:29:35 +00:00
krasimir
205403be76
set the keyboard pages for Thai in Translator.java
2015-02-20 14:26:30 +00:00
krasimir
cefd6440fe
experimental Thai keyboard (still not tested)
2015-02-20 14:08:12 +00:00
joel.hinz
186cc84d37
translation app for iOS, replicating some of the functionality of the Android app. Compiles and works on iPad retina but may crash and has known issues.
2015-02-20 07:47:43 +00:00
krasimir
3ee931f905
added option -plus-as-bind which treats (+) as a bind when used with runtime variables
2015-02-20 13:26:12 +00:00
krasimir
9c6c6b6346
remove the meta prob flags
2015-02-20 13:00:51 +00:00
hallgren
913e56081a
gftranslate.js: reduce sentense length limit to 200 (URL encoded) characters
...
This limit might still be to high to avoid excessive time/space use in the
parser for certain languages in the wide coverage translation grammar.
2015-02-20 12:31:41 +00:00
hallgren
b72b8dcef8
PGF Service: limit the number of parallel calls to the C run-time parse function to 4 by default
...
The limit can be changed with the -j flag
2015-02-20 12:29:44 +00:00
krasimir
87c0368281
silence some warnings in GNU Lightning for i386_64
2015-02-19 12:53:52 +00:00
krasimir
2f35aadc6f
parsing with meta rules is now removed since we don't use them anymore and I would gladly remove some code.
2015-02-19 11:59:51 +00:00
krasimir
4ff6728993
fix the missmatch between Int and CInt in the Haskell binding to the word alignment API. This was causing problems on 64-bit machines
2015-02-18 17:05:35 +00:00
krasimir
f3f47c7761
fix the callback for unknown words as well
2015-02-18 16:47:33 +00:00
krasimir
4ed41214e5
fix in the callback for names in the Haskell binding
2015-02-18 16:41:13 +00:00
krasimir
27a12ca9fb
fix in the parser for callbacks in the middle of a word
2015-02-18 16:14:29 +00:00
hallgren
4bd568d8bf
Wide Coverage Translation Demo: use App14.pgf, remove spaces from Chi, Jpn and Tha output
2015-02-18 13:58:49 +00:00
aarne
36b1c421a6
removing spaces from App output of Chi,Jpn,Tha to get nicer speech output (and of course follow the target lang conventions)
2015-02-17 18:11:20 +00:00
aarne
98cbd993ac
App14 with Tha up and running!
2015-02-17 17:18:51 +00:00
aarne
7b933211d1
TranslateTha compiles with 39+ k words
2015-02-17 15:23:11 +00:00
aarne
1a39a54f7f
DictionaryTha with 39k entries from panlex; needs clean-up to compile
2015-02-17 15:13:37 +00:00
aarne
5fd4d5ede1
stub for TranslateTha, with Dictionary from Lexicon and Structural
2015-02-17 14:38:54 +00:00
hallgren
1dbe588497
Restore compatibility with ghc-7.4
...
With ghc-7.4 'import M hiding (x)' causes an error if M does not export x...
2015-02-16 15:41:38 +00:00
hallgren
2ce3e954fd
Changes for compatibility with ghc-7.10-rc2
...
2 modules: Name clashes caused by Applicative-Monad change in Prelude
2 modules: Ambiguities caused by Foldable/Traversable in Prelude
2 modules: Backwards incompatible changes in time-1.5 for defaultTimeLocale
9 modules: {-# LANGUAGE FlexibleContexts #-} (because GHC checks inferred types
now, in addition to explicitly given type signatures)
Also silenced warnings about tab characters in source files.
2015-02-16 15:05:06 +00:00
andrea.christina.unger
d21d4f442a
ß -> ss (according to new spelling)
2015-02-11 16:40:58 +00:00
hallgren
0058a79a8f
PGF.Haskell: adding operators for selections from tables
2015-02-12 16:09:33 +00:00
hallgren
43a873b53f
Translating linearization functions to Haskell: more simplifications
...
+ Some additional simplifying rewrites.
+ Use an intermediate representation for Haskell types, for separation of
concerns and cleaner code.
+ Pretty printer layout tuning
+ Code cleanup.
2015-02-12 16:05:48 +00:00
hallgren
686f570660
Translating linearization functions to Haskell: simplify the generated Haskell code
...
Introduced an intermediate representation for the generated Haskell expressions.
This allows pretty printing concerns to be separated from conversion concerns,
and makes it easy to apply some simplifying rewrites to the generated
expressions, e.g.
[x] ++ [y] ==> [x,y]
pure f <*> x ==> f <$> x
f <$> pure x ==> pure (f x)
join (pure x) ==> x
2015-02-11 23:50:19 +00:00
kr.angelov
f527579c46
different words in Bulgarian for egoist/egotist and related
2015-02-11 13:19:03 +00:00
kr.angelov
e6f51d7ec6
fix in the JIT compiler that would hopefully make it work on iOS
2015-02-11 13:07:06 +00:00
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
hallgren
6db2845375
Translating linearization functions to Haskell: use qualified names to avoid name clashes
...
All languages in the Phasebook can now be converted to compilable Haskell
code.
STILL TODO:
- variants
- pre { ... }
2015-01-07 16:13:28 +00:00
hallgren
51a233b2f1
Translating linearization functions to Haskell: significant code size reductions
...
+ Instead of including lists of parameter values generated by GF, generate
code to enumerate parameter values (in the same order as GF). This seems
to give a factor of 2-3 code size reduction in the Phrasebook (e.g.
from 84MB to 25MB for Hin, from 338MB to 154MB for Fre).
+ Deduplicate table entries, i.e. convert "table [..,E,..,E,..,E,..]" into
"let x = E in table [..,x,..,x,..,x,..]". This gives even more significant
code size reduction in some cases, e.g. from 569MB to 15MB for
PhrasebookFin.
All phrasebook languages can now be converted to compilable Haskell code,
except PhrasebookPes, which still has the name clash problem.
2015-01-06 19:57:24 +00:00
hallgren
1f60646f41
More work on translating linearization functions to Haskell
...
Many Phrasebook languages can now be converted to compilable Haskell code.
Some languages (Fre, Hin, Snd, Urd) generate too much Haskell code to be
practically useful (e.g. 338MB for Fre). One language (Fin) took too long
to convert to Haskell. One language (Pes) has problems with name clashes in
the generated Haskell code.
STILL TODO:
- variants
- pre { ... }
- reduce code duplication for large tables
- generate qualified names to avoid name clashes
2015-01-06 16:48:03 +00:00
kr.angelov
6acf100ab1
fix the reference counting for callbacks in Python
2015-01-05 11:24:00 +00:00
kr.angelov
34e2a1b82d
more words checked in Bulgarian
2014-12-30 10:24:57 +00:00
kr.angelov
c50afedec4
alternative plural form for tibia_N in English
2014-12-30 10:23:52 +00:00
kr.angelov
aa9cd64bb1
split correction_N into two senses. remove corrections_N
2014-12-30 10:21:54 +00:00
kr.angelov
08e2d9b968
typo in Dictionary.gf
2014-12-30 10:20:39 +00:00
kr.angelov
05819d824e
random fixes and checked words in the dictionaries
2014-12-30 09:45:04 +00:00
kr.angelov
7598faed6c
add tambourica_N in the dictionaries
2014-12-30 09:44:06 +00:00
kr.angelov
21f7ce30c2
split tambour_N into two senses
2014-12-30 09:42:27 +00:00
kr.angelov
8718562846
fixes in DictionarySwe
2014-12-29 14:31:05 +00:00
kr.angelov
d1ab21e513
split tectonic_A in two senses
2014-12-29 14:28:57 +00:00
kr.angelov
0f459462e0
fix in DictionaryBul.gf
2014-12-29 14:24:38 +00:00
kr.angelov
39b09f6f41
some words in DictionaryBul
2014-12-29 12:45:47 +00:00
kr.angelov
328d4df660
API for word alignment in the C runtime and in the Haskell binding
2014-12-29 10:59:20 +00:00
kr.angelov
d551c879ba
merge orang_outan_N, orang_outang_N and orang_utan_N with orangutan_N
2014-12-28 13:10:04 +00:00
kr.angelov
34d70a5984
fix in DictionarySwe
2014-12-27 10:08:44 +00:00
kr.angelov
1a1b511e2a
fixes in DictionaryBul
2014-12-27 10:08:14 +00:00
kr.angelov
4b066bde92
more compact implementation for GuStringBuf
2014-12-24 14:20:30 +00:00
kr.angelov
d9c2925806
remove the fake orange_N in Swedish
2014-12-26 14:21:42 +00:00
kr.angelov
716a90455b
change orange_1_N to apelsin in Swedish. orange_2_N is still the colour
2014-12-25 20:58:37 +00:00
aarne
fca0070ca5
the standard variant for potato_N in DictionaryFre
2014-12-22 16:44:03 +00:00
kr.angelov
33264a5f43
potato_N in French
2014-12-22 09:19:26 +00:00
kr.angelov
cb9b9c8b2f
the adjectivial form of spud_N in Bulgarian
2014-12-22 09:18:46 +00:00
kr.angelov
ef23205148
an alternative form for here_Adv in Bulgarian
2014-12-22 09:17:30 +00:00
aarne
42b66d7277
genitive variant of PossNP in TranslateSwe; overgenerating just like in Eng, because it generates a CN and can hence take determiners
2014-12-22 09:03:28 +00:00
aarne
d5799284b4
variants of PossNP in TranslateEng: the goal of the project | the project's goal
2014-12-19 15:38:13 +00:00
kr.angelov
848c2e5aca
simple fixes in DictionaryBul.gf
2014-12-19 15:34:33 +00:00
kr.angelov
327ed5836a
in English addGenitiveS should use the BIND token
2014-12-19 15:33:54 +00:00
aarne
b5269b262b
lowered Symb_Chunk probability; fixed translator Makefile
2014-12-19 15:17:38 +00:00
kr.angelov
adb9e29dc4
bugfix and tiny optimization for callbacks from Haskell
2014-12-19 10:14:41 +00:00
kr.angelov
705ffaa33d
haddock comments for parseWithHeuristics
2014-12-19 09:05:51 +00:00
kr.angelov
022849482d
added mkStr to the Haskell binding
2014-12-19 08:58:02 +00:00
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
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
aarne
91e00cf827
missing syntax functions in Chi and some other languages
2014-12-08 10:19:38 +00:00
aarne
77ecefafbb
more coverage of Chunk grammar, including a general fallback rule Symb_Chunk
2014-12-08 10:18:57 +00:00
kr.angelov
2b3b2282f5
fix lightning_N and thunder_N in Bulgarian
2014-12-07 19:20:25 +00:00
aarne
fdec3e6f84
some edits in app help file
2014-12-07 17:42:47 +00:00
aarne
98558d85e7
prepositional verbs bootstrapped for DictionaryFin
2014-12-07 17:26:16 +00:00
aarne
34e3431c32
merged Prasanth's UWN additions to Dictionary in Fre,Ita,Spa. Unsound verbs and adjectives left out, although manual checking could find valid variants from them. Verbs not always compared with Irreg lists, which means that they can get erroneous regular inflections.
2014-12-07 16:51:44 +00:00
aarne
98856af352
"junk verbs" in DictionaryGer converted to something meaningful (but correctness to be checked)
2014-12-07 15:19:09 +00:00
aarne
8451d35ecf
unsound verbs corrected in DictionaryFre
2014-12-07 13:45:38 +00:00
aarne
4ef0a64fba
DictionaryIta checked for unsound verb entries
2014-12-07 13:35:03 +00:00
aarne
a080258582
soundness checks in Romance smart V paradigms to eliminate non-verbs
2014-12-07 13:07:07 +00:00
aarne
122230cdc0
corrected or commented out clearly non-verb Spanish V entries with the new CheckInflection script
2014-12-07 13:06:13 +00:00
aarne
e67a7dcdba
applied prep verb generation to DictionarySwe. New entries commented with guess-p-verb
2014-12-07 11:55:51 +00:00
aarne
d42f12bd09
script PrepVerb.hs to create rules for prepositional and particle verbs ; modified MergeDict.hs to add them only in cases where the old dict does not have them
2014-12-07 11:53:58 +00:00
kr.angelov
78d1acccab
fix in LexiconBul.gf
2014-12-06 21:31:09 +00:00
kr.angelov
6faf58570f
merge center with centre
2014-12-06 20:08:15 +00:00
kr.angelov
508b53a8f7
merge theater and theatre
2014-12-06 19:31:58 +00:00
aarne
0e0221d2d0
restored Dictionary.get_V2 which had been omitted. It is a very common verb, although sense splits will certainly be needed.
2014-12-06 11:36:54 +00:00
aarne
c3c1334bc3
alternative placement of adverb in TranslateEng.AdvVP: before object. Should increase coverage. After object still the first variant.
2014-12-06 11:35:33 +00:00
aarne
87c62e0d70
MissApp.hs: a function for preparing a list of lin rules for missing words
2014-12-06 08:39:25 +00:00
aarne
50dd1eb0e9
DictionaryFin: added 58 missing Prep and other structural words
2014-12-06 08:38:25 +00:00
aarne
68ea3fd4df
quite a few prepositions in DictionarySwe, in particular multiwords
2014-12-05 18:36:42 +00:00
aarne
d3c26a077d
missing structural words in DictionarySwe
2014-12-05 18:12:40 +00:00
aarne
e795632ee5
commented out whichever_A from Dictionary
2014-12-05 18:12:18 +00:00
aarne
145fca17fd
mkQuant added to ParadigmsFin ; added missing Quants to DictionaryFin
2014-12-05 17:02:56 +00:00
aarne
655c3d8c53
a script for analysing missing functions, e.g. "which functions of type Quant are missing in each language"
2014-12-05 17:01:58 +00:00
aarne
01b03f56e2
removed morePl_Det and moreSg_Det from Dictionary, because more_Quant covers them
2014-12-05 16:49:47 +00:00
aarne
6553bee08c
optional pro drop in DictionaryCat ; some missing Prons in Cat,Hin,Ita,Spa
2014-12-05 15:55:21 +00:00
francis.tyers
ccc04ae65c
add sing_V2
2014-12-05 12:54:15 +00:00
hallgren
491777b0c1
Eliminate the record extension operator from the Value type returned by the partial evaluator
...
It was used only in cases where a lock field needed to be added to a
run-time variable, like e.g. in examples/phrasebook/SentencesTha.gf:
lin
PGreetingMale g = mkText (lin Text g) (lin Text (ss "ครับ")) | g ;
PGreetingFemale g = mkText (lin Text g) (lin Text (ss "ค่ะ")) | g ;
But lock fields are only meaningful during type checking and can safely be
ignored in later passes.
2014-12-05 12:42:17 +00:00
kr.angelov
f8324ee49c
fix a warning in ExtraBul.gf
2014-12-05 12:47:56 +00:00
kr.angelov
4810860afc
store the accusative as well as the dative clitics in Bulgarian
2014-12-05 12:46:17 +00:00
aarne
dbdcff1fac
fixes in app help file ; commented out fake TTS for Bul and Cat ; remove []_ from output with unlinearized functions, so that speech doesn't get garbled.
2014-12-05 09:23:44 +00:00
aarne
c6f96d15e4
quick reference text prepended to app help file
2014-12-04 20:30:50 +00:00
kr.angelov
e23692de81
merge savory_A/unsavory_A with savoury_A/unsavoury_A
2014-12-04 11:10:41 +00:00
kr.angelov
7d598ed6fc
a few words checked/fixed in Bulgarian
2014-12-04 10:53:18 +00:00
kr.angelov
f721a1054c
merge savory_N and savoury_N
2014-12-04 10:51:46 +00:00
aarne
ef51ebaa18
resolved conflicts in Catalan
2014-12-04 06:53:13 +00:00
jordi.saludes
bdb48c8033
Catalan constructions and terminology
2014-12-03 15:31:03 +00:00
kr.angelov
432c9c9f08
fix meaningless_A and dumb_A in Bulgarian
2014-12-03 15:17:22 +00:00
hallgren
ac24b34696
Wide Coverage Translation Demo web app: updated to use App12.pgf
2014-12-03 15:08:56 +00:00
kr.angelov
6b20611144
fix mean_V2 in Bulgarian
2014-12-03 14:59:00 +00:00
aarne
95d8171046
enabled DocumentationCat in translator and app
2014-12-03 14:40:32 +00:00
aarne
c15060d783
Catalan in android app builder ; updated app document with Cat ; substitute voice output for Bulgarian and Catalan ; replaced brackets in unknown words by capitalization (for better speech output ; this is experimental)
2014-12-03 14:38:17 +00:00
aarne
8663795c85
app Makefile default now App12 with Cat
2014-12-03 13:18:48 +00:00
aarne
e461296274
added Predef.BIND to elision words in Catalan.
2014-12-03 13:18:23 +00:00
kr.angelov
5bf15465d4
a couple of words checked in Bulgarian
2014-12-03 13:10:25 +00:00
aarne
04a80d40d9
indefinite article in Catalan: use uns/unes only in substantival case (like in Spanish)
2014-12-03 12:47:06 +00:00
hallgren
718f09bc8c
examples/app/Makefile: fix dependencies and grammar name for App12.pgf
2014-12-03 12:26:55 +00:00
francis.tyers
d84faceeca
translate spanish to catalan
2014-12-03 10:44:09 +00:00
francis.tyers
c1c0bc1784
translate spanish to catalan
2014-12-03 10:42:33 +00:00
francis.tyers
5db0c8c6e6
translate spanish to catalan
2014-12-03 10:38:44 +00:00
francis.tyers
8fd5ce8bed
translate spanish to catalan
2014-12-03 10:29:25 +00:00
francis.tyers
9d728bcbaa
translate spanish to catalan
2014-12-03 10:27:21 +00:00
aarne
9d084f0aa5
Catalan added to App, do 'make App12.pgf'
2014-12-03 09:00:59 +00:00
aarne
5c22e490b5
ChunkCat. Needs revision of syncategorematic words, now copied from Spanish.
2014-12-03 08:48:11 +00:00
aarne
508ed8d11c
Catalan added to wide coverage translator. TerminologyCat, ExtensionsCat, ConstructionsCat, and DocumentationCatFunctor need changes of Spanish words to Catalan ones, and also some general checks.
2014-12-03 08:46:21 +00:00
kr.angelov
540a174c20
kindergarten_N in Bulgarian and Swedish
2014-12-02 18:37:00 +00:00
aarne
d81b05df04
some fixes in DictionaryFin,Fre,Swe
2014-12-02 13:17:12 +00:00
kr.angelov
72ffcc716b
two more fixes in DictionaryBul.gf
2014-12-02 10:32:02 +00:00
kr.angelov
cfa8a9c163
split conservative_N into two senses
2014-12-02 10:10:18 +00:00
kr.angelov
1afbde169a
a number of fixes in DictionaryBul
2014-12-02 10:04:33 +00:00
kr.angelov
0e01782af1
faster translation in the app
2014-12-01 23:15:24 +00:00
kr.angelov
34f91ecce2
better color filter to indicate listening
2014-12-01 21:13:09 +00:00
kr.angelov
301725e9e3
added visual feedback to indicate that the app is not listening anymore
2014-12-01 20:52:37 +00:00
kr.angelov
34bb20dc93
fix in nordic.xml
2014-12-01 20:24:13 +00:00
kr.angelov
f562430f86
added special nordic keyboard for Finnish and Swedish
2014-12-01 12:43:31 +00:00
kr.angelov
995735b272
fix the last patch
2014-12-01 11:03:50 +00:00
kr.angelov
89078c3598
a small optimization in the PGF parser which gives me ~5% speed up
2014-12-01 10:48:15 +00:00
kr.angelov
2927c8b7e1
fix in GNU lightning to enable the compilation of two of the the floating point operations.
2014-12-01 09:42:21 +00:00
kr.angelov
2e765fbfe1
fix in linearizer.h to make jpgf compilable
2014-12-01 09:41:48 +00:00
aarne
a1d06bab3a
some verbs fixed in Ita and Fre Dictionary
2014-11-30 22:22:46 +00:00
aarne
0ea47b76c4
another optimization of Romance VP. Effect on Fre over 50% in compilation and parse speed. Somewhat smaller on Spa,Ita,Cat.
2014-11-30 15:05:00 +00:00
aarne
76abd1e66f
eliminated one parameter from Fre, resulting in twice as fast compilation
2014-11-30 12:53:50 +00:00
aarne
12cd4ea245
experiment in discontinuous Cl type in Romance, tried in French. The current result is that compilation is twice as fast as before, but parsing becomes slower. Hence not in the main RGL yet.
2014-11-29 11:05:51 +00:00
hallgren
e4bb1d09af
WebSetup.hs: always use gf -j, to avoid problems compiling the Phrasebook
2014-11-27 17:48:53 +00:00
aarne
71e573931a
switch PhrasebookBul back to present to avoid cabal build failure. More to investigate here.
2014-11-27 17:08:35 +00:00
aarne
a55bd1e5e0
make PhrasebookBul use alltenses to prevent misbehaviour in App
2014-11-27 16:36:51 +00:00
kr.angelov
0b2a81ad4d
fix in linearizer.h which resolves a warning
2014-11-27 15:20:46 +00:00
inari
4c0103d24d
fix hammer and hamburger in DictionaryFin
2014-11-27 11:48:23 +00:00
inari
5324de47ba
fix morphology of parvi & add angel_N in DictionaryFin
2014-11-27 11:45:06 +00:00
kr.angelov
80cf34bfd1
remove pgf/parser.h
2014-11-27 11:12:14 +00:00
kr.angelov
d830c75da2
fix the handling of the heuristic factor. it was broken when I added the BIND token which means that the App grammar was running about 2-3 times slower.
2014-11-26 15:56:36 +00:00
aarne
ef59dee4d5
Constructions: languageNP and languageCN ; languagePN removed. Requires the change of lincat from PN to N. Done for 10 languages, not yet Bul and Hin. Enables "my English is bad", "this is bad English"
2014-11-20 22:10:24 +00:00
aarne
5b785bfebd
PossNP in Dut
2014-11-20 21:37:11 +00:00
francis.tyers
e449059aea
'adjective' er ikkje 'kahvio'
2014-11-17 15:20:47 +00:00
hallgren
df58c025e5
StructuralEng.gfo: lift variant "can't" | "cannot" to the top level to avoid a PMCFG generation problem
2014-11-17 13:16:47 +00:00
aarne
02daef144c
a compilable stub of PhrasebookJpn. Sent to a native speaker expert for completions.
2014-11-15 09:43:15 +00:00
aarne
6bb2e2c1d0
added some default paradigms to ParadigmsJpn to enable Phrasebook implementation. These are one-string mkN, mkV, mkV2, as well as mkAdv and mkPrep. A Japanese expert should check them.
2014-11-15 09:40:08 +00:00
inari
1c0756e1b1
fix hammer_N in DictionarySwe
2014-11-13 17:00:34 +00:00
inari
efe6b11d4c
add constructions to English and Finnish
2014-11-13 15:34:12 +00:00
francis.tyers
a52130167c
change translation of doggy_N
2014-11-13 15:09:54 +00:00
hallgren
831be9393a
Documentation improvements and cleanup relating to the IOE monad
...
Renamed appIOE to tryIOE (it is analogous to 'try' in the standard libraries).
Removed unused IOE operations & documented the remaining ones.
Removed/simplified superfluous uses of IOE operations.
2014-11-10 16:20:01 +00:00
hallgren
c02fef9b6a
Some work to improve the structure of the haddock documenation
2014-11-10 15:23:02 +00:00
hallgren
c0cefe6d40
translator/DictionarySwe.gf: define start_to_VV
2014-11-10 14:18:54 +00:00
francis.tyers
e5cb1eb790
plural form is irreg. only one entry for pa/ís__n in apertium
2014-11-09 21:37:03 +00:00
kr.angelov
057d830133
expand the JIT window for x64
2014-11-07 15:43:12 +00:00
aarne
151566034b
fixes in DictionaryChi
2014-11-07 14:30:05 +00:00
aarne
805f3a640b
fixes in PhrasebookChi
2014-11-07 14:29:03 +00:00
inari
2350bdb4a9
fix kiss_N, kiss_V2, kisser_N in DictionaryFin
2014-11-06 20:50:40 +00:00
francis.tyers
2ce375874c
translation of nipple_N
2014-11-06 20:47:02 +00:00
kr.angelov
2858c6265b
fixes in Bulgarian
2014-11-06 18:52:37 +00:00
kr.angelov
1ecbcf73f4
removed a duplicated entry in Bulgarian
2014-11-06 13:39:29 +00:00
kr.angelov
167fa655c0
a couple of checked words in Bulgarian
2014-11-06 13:38:34 +00:00
kr.angelov
332742bff9
more fixes in Bulgarian
2014-11-06 13:35:51 +00:00
kr.angelov
4dfd27935d
fix come_from_V2 in DictionaryBul.gf
2014-11-06 13:20:01 +00:00
kr.angelov
9e20c7b1a4
a number of dictionary entries in Bul that were missing in the development corpus
2014-11-06 12:26:33 +00:00
kr.angelov
4f751105ab
fix in MorphoFunsBul.compoundN
2014-11-06 12:26:01 +00:00
kr.angelov
bcd0a74216
remove another_A from the dictionaries
2014-11-06 11:22:21 +00:00
kr.angelov
fa80d14de1
merge favor* with favour* in the dictionaries
2014-11-06 10:41:04 +00:00
francis.tyers
72d3c7b376
adding catalan dictionary
2014-11-06 09:32:35 +00:00
francis.tyers
43662653ad
brackets around or
2014-11-05 17:49:27 +00:00
francis.tyers
ecfcc13169
fix some catalan morph
2014-11-05 17:41:53 +00:00
hallgren
120597750b
gf.cabal: when compiling with ghc>=7.8 require cgi>=3001.2.2.0
2014-11-05 15:38:10 +00:00
kr.angelov
1cfb975229
a skeletal module for higher-order pattern unification in the C runtime
2014-10-31 19:57:56 +00:00
kr.angelov
03d6838030
forgotten changes in Predef.gf for making CAPIT a built-in operation
2014-10-31 14:28:52 +00:00
kr.angelov
2bde418b15
now (+) in the abstract syntax works, i.e. it knows how to deal with partial sums
2014-10-31 14:16:11 +00:00
kr.angelov
4db6e30b54
a more efficient tail call by using the new TUCK instruction
2014-10-30 13:09:50 +00:00
hallgren
fd1c6a0a17
Use terminfo to highlight warnings and errors in blue and red
...
This replaces the hardwired ANSI escape codes that were accidentally included
in a previous patch.
This adds a dependency on terminfo, but this should be unproblematic, since
haskeline already depends on the same underlying C library.
The color highlighting is omitted on Windows.
2014-10-28 19:04:48 +00:00
hallgren
14850cd7f4
Show paths relative to the current directory in progress reports
...
It is much nicer to see something like
- compiling FoodsSwe.gf... write file FoodsSwe.gfo
- compiling FoodsTha.gf... write file FoodsTha.gfo
- compiling FoodsTsn.gf... write file FoodsTsn.gfo
- compiling FoodsTur.gf... write file FoodsTur.gfo
- compiling FoodsUrd.gf... write file FoodsUrd.gfo
linking ... OK
Writing Foods.pgf...
instead of
- compiling /Users/hallgren/src/GF/gf/examples/foods/FoodsSwe.gf... write file /Users/hallgren/src/GF/gf/examples/foods/FoodsSwe.gfo
- compiling /Users/hallgren/src/GF/gf/examples/foods/FoodsTha.gf... write file /Users/hallgren/src/GF/gf/examples/foods/FoodsTha.gfo
- compiling /Users/hallgren/src/GF/gf/examples/foods/FoodsTsn.gf... write file /Users/hallgren/src/GF/gf/examples/foods/FoodsTsn.gfo
- compiling /Users/hallgren/src/GF/gf/examples/foods/FoodsTur.gf... write file /Users/hallgren/src/GF/gf/examples/foods/FoodsTur.gfo
- compiling /Users/hallgren/src/GF/gf/examples/foods/FoodsUrd.gf... write file /Users/hallgren/src/GF/gf/examples/foods/FoodsUrd.gfo
linking ... OK
Writing Foods.pgf...
2014-10-28 15:02:29 +00:00
hallgren
5480c9b4dc
A couple of haddock documentation improvements
2014-10-28 14:58:43 +00:00
kr.angelov
77d3775385
an explicit SAVE instruction
2014-10-26 11:40:12 +00:00
kr.angelov
97db991979
comment out a few assertions in bits.h. this code is run too often to have explicit assertions
2014-10-24 11:15:40 +00:00
kr.angelov
a56b4cae8c
make it possible to specify the initial size of a map in libgu
2014-10-24 09:17:22 +00:00
kr.angelov
34867f4019
simplify gu/map
2014-10-24 08:56:39 +00:00
kr.angelov
9276b7567d
fix memory leak in the pgf-parse tool
2014-10-24 08:42:32 +00:00
kr.angelov
15744379a8
add extern declarations for all inline functions in seq.h. this ensures that everything works even when the compiler's optimizations are off
2014-10-24 08:26:58 +00:00
kr.angelov
b4046e1797
a simple optimization in cmp_item_prob with great effect on the parser's speed
2014-10-23 21:22:22 +00:00
kr.angelov
0c6ba90dd8
remove some deadcode in gu/seq.h
2014-10-23 21:21:21 +00:00
kr.angelov
9314b5b392
inline a number of functions in gu/seq.c. this has a noticeable effect on the parser's speed
2014-10-23 21:19:29 +00:00
hallgren
ef9f16b63a
Lang???.gf: exclude Documentation from present mode
...
The Documentation module is excluded from present mode in abstract/Lang.gf,
so it needs to be excluded in the corresponding concrete syntaxes too
to avoid problems.
2014-10-23 16:32:55 +00:00
kr.angelov
e788398bf7
a cosmetic optimization in mem.c
2014-10-23 15:45:14 +00:00
inari
de550565fc
add formalism_N and just_AdV to Spa
2014-10-23 09:14:08 +00:00
kr.angelov
7b9622f7f8
a few more fixes in Bulgarian
2014-10-23 08:57:19 +00:00
kr.angelov
fa2c7b4f20
merge separationism_N and separatism_N in the dictionaries
2014-10-23 08:53:30 +00:00
kr.angelov
6cde6d0ca9
a couple of words marked as checked in Bulgarian
2014-10-23 08:47:17 +00:00
kr.angelov
e9e71dd321
fixes in DictionaryBul.gf
2014-10-23 08:45:37 +00:00
kr.angelov
f421dd4c68
fix the debug mode in the reasoner
2014-10-23 08:15:12 +00:00
kr.angelov
075d45dc19
fix warning in ucs.c
2014-10-23 07:44:41 +00:00
inari
35ffbab2ce
fix spain_PN from "la Madre Padria" to "España"
2014-10-23 06:59:28 +00:00
aarne
4a10557b4e
DictionaryChi completed with 10k lemmas from wordnet by Prasanth
2014-10-22 16:12:42 +00:00
hallgren
11ec4bc655
Various small changes for improved documentation
2014-10-22 15:45:52 +00:00
kr.angelov
3a95d733dd
CAPIT is now naturally supported in the C runtime
2014-10-22 15:05:55 +00:00
aarne
6814f33381
updated RGL synopsis
2014-10-22 14:37:55 +00:00
kr.angelov
9562a88b28
add Unicode classification routines to libgu. ported from the base package in Haskell.
2014-10-22 14:36:58 +00:00
aarne
3431b83670
a few fixes in French and Romance to help with homotopy type theory
2014-10-22 14:13:41 +00:00
kr.angelov
0da379f97b
an explicit PUSH_FRAME instruction
2014-10-22 14:11:41 +00:00
kr.angelov
54b9b89921
make the fields of BracketedString in the Python binding read/write
2014-10-22 12:18:07 +00:00
hallgren
1048a89ca7
ModuleName and Ident are now distinct types
...
This makes the documentation clearer, and can potentially catch more
programming mistakes.
2014-10-21 19:20:31 +00:00
hallgren
491e8b2bb8
Renaming SourceGrammar to Grammar and similarly for some related types
...
Included renamings:
SourceGrammar -> Grammar
SourceModule -> Module
SourceModInfo -> ModuleInfo
emptySourceGrammar -> emptyGrammar
Also introduces a type synonym (which might be good to turn into a newtype):
type ModuleName = Ident
The reason is to make types like the following more self documenting:
type Module = (ModuleName,ModuleInfo)
type QIdent = (ModuleName,Ident)
2014-10-21 14:42:31 +00:00
aarne
2ae43ed0eb
variants for language and wife in Chi dictionary
2014-10-20 22:24:22 +00:00
aarne
2bd37da274
some adjustments for 0,1,2's in NumeralChi. Remaining problem: 225,250 gets "liang" as a variant for its second digit, should be only "er".
2014-10-20 22:07:32 +00:00
aarne
fe6d2738a0
use of 'head' in TypeCheck/RConcrete created an uncomprehensible error message. Now checking for the emptiness of the list concerned, so that the error can be found.
2014-10-20 20:06:46 +00:00
hallgren
1e0d078ae2
Some small documentation improvements
2014-10-20 19:45:43 +00:00
hallgren
add8f9285b
type IOE a = IO a
...
IOE used to be a monad with extra error handling built on top of the IO monad,
But the IO monad already supports error handling, so this construction was a
superfluous.
The new 'instance ErrorMonad IOE' is defined to preserve the previous error
handling behaviour, i.e. the function 'handle' only catches errors thrown with
'raise' (or 'fail') and not other errors in the IO monad.
2014-10-20 19:32:46 +00:00
hallgren
46e18b9291
Remove some dead code
...
* The following modules are no longer used and have been removed completely:
GF.Compile.Compute.ConcreteLazy
GF.Compile.Compute.ConcreteStrict
GF.Compile.Refresh
* The STM monad has been commented out. It was only used in
GF.Compile.SubExpOpt, where could be replaced with a plain State monad,
since no error handling was needed. One of the functions was hardwired to
the Err monad, but did in fact not use error handling, so it was turned
into a pure function.
* The function errVal has been renamed to fromErr (since it is analogous to
fromMaybe).
* Replaced 'fail' with 'raise' and 'return ()' with 'done' in a few places.
* Some additional old code that was already commented out has been removed.
2014-10-20 15:05:43 +00:00
kr.angelov
4e533b7253
get rid of gu/str.(c|h)
2014-10-20 07:50:42 +00:00
aarne
0025e078ea
(un)lexmixed: added the other math environments than $ used in latex
2014-10-19 17:43:39 +00:00
inari
a2ec03eeed
fixed small errors in ConstructionEst
2014-10-17 21:53:52 +00:00
aarne
2cda0ea770
ps -lines preserves line-by-line structure when preprocessing files for parsing line by line
2014-10-17 15:50:03 +00:00
aarne
1550300c80
one general case in dealing with backslash in latex lexing is enough
2014-10-17 15:49:23 +00:00
gregoire.detrez
53787205b9
Fix problem with Estonian grammar
2014-10-17 15:34:58 +00:00
francis.tyers
fcf48b57e6
some fixes in Spanish constructions
2014-10-17 14:54:09 +00:00
inari
b47683c2da
small changes in DocumentationFunctorEst and ConstructionEst
2014-10-17 14:52:49 +00:00
inari
54ad302e90
add two new parameters in Estonian verb: passive conditional and imperfect. Change bunch of other files to reflect the change.
2014-10-17 14:50:53 +00:00
inari
e3c7b1e9fa
add DocumentationEst
2014-10-17 10:39:19 +00:00
inari
942c244c3b
add terminative and quotative to Terminology (needed for Estonian)
2014-10-17 10:38:33 +00:00
kr.angelov
70bf9f78b1
the C runtime now supports reading and writing expressions with indexed meta variables. The type checker generates fresh indices
2014-10-17 09:27:37 +00:00
hallgren
6dc1df3011
Use http instead of https in the links to the build job in jenkins
...
The ci.zjyto.net web site uses an SSL certificate that is not recognized by
mainstream browsers (e.g. Firefox, Safari and the Android web browser).
2014-10-17 08:26:09 +00:00
aarne
d30aaa6547
unlexing latex code: no space between closing $ and punctuation
2014-10-17 07:04:50 +00:00
aarne
7ec778d747
lexer for latex code: don't separate backslash from the macro name that it marks
2014-10-17 06:40:06 +00:00
hallgren
c3e1d65fc1
Some work on the haddock documentation
2014-10-16 16:28:54 +00:00
gregoire.detrez
0fa320b381
Change the path to the build job in jenkins
2014-10-16 15:51:08 +00:00
hallgren
cd0f887ad9
Rename src/programs/gf.hs to gf-main.hs to avoid confusing GHC
...
It appears that GHC can't keep GF.hs and gf.hs apart on systems with case
insensitive file names.
2014-10-16 15:21:00 +00:00
hallgren
ede4a5a4c2
Turn the GF compiler into a library. Main program is now in src/programs/gf.hs
...
The module src/compiler/GF.hs now serves as a prelimiary compiler API. It just
exports a selection of functions and types from the compiler.
Haddock documentation can be generated with
cabal haddock --hyperlink-source
Also bumbed the version number to 3.6.10.
2014-10-16 15:00:49 +00:00
hallgren
f109b44c97
More haddock documentation improvements
2014-10-16 14:03:57 +00:00
kr.angelov
fd8e4d3dd7
bugfix in the parser for abstract expressions in the C runtime
2014-10-16 11:40:47 +00:00
kr.angelov
76a448e26f
finally proper stack unwind in the evaluator
2014-10-16 10:00:32 +00:00
inari
568aee9fc7
changes and additions in estonian in order to get chunking work
2014-10-15 21:57:20 +00:00
hallgren
1d4215b822
Rename modules GFI, GFC & GFServer...
...
... to GF.Interactive, GF.Compiler & GF.Server, respectively.
2014-10-15 21:04:29 +00:00
hallgren
e0c0ff0020
Fixes for the haddock documentation
2014-10-15 20:42:36 +00:00
gregoire.detrez
4829dacee8
Make cabal sdist fail with an informative error message`
2014-10-15 08:51:39 +00:00
gregoire.detrez
49936cb32c
Add a make target to create the source distribution
...
`make sdist` will create a `dist/gf-<version>.tar.gz package
with the source files (using the `darcs dist` command).
2014-10-15 08:51:25 +00:00
aarne
31f2e8cae0
fixed NounFin.DetCN treatment of NPSep in the case of numeral determiners: now it correctly gives partitive "kolme olutta"
2014-10-15 05:46:13 +00:00
inari
98eb5bd041
pulkka, kelkka ym. in DictionaryFin
2014-10-14 19:00:06 +00:00
hallgren
47ebd444b3
Setup.hs: comment out sDistHook, which seems to be broken but is not used
2014-10-14 15:03:47 +00:00
kr.angelov
6aa0fd2590
the compiler now allows + to be used as a floating point addition in the abstract syntax
2014-10-14 11:15:18 +00:00
kr.angelov
d42ffaa546
yet another bugfix in the byte code
2014-10-14 10:39:28 +00:00
kr.angelov
bc8cb8e9d7
another bugfix in the byte code generation
2014-10-14 09:43:43 +00:00
kr.angelov
e8b81c145b
bugfix in the bytecode generator
2014-10-14 09:27:24 +00:00
kr.angelov
0e91de3b5f
simplify jit_bare_ret
2014-10-14 09:09:26 +00:00
francis.tyers
cc5199c710
compoundN not compound N
2014-10-12 10:37:10 +00:00
francis.tyers
244cfab30a
add 'esimies' as translation of 'boss_N'
2014-10-12 10:33:29 +00:00
francis.tyers
347c613ae7
fix translation of 'esimies' to mean manager/superior
2014-10-12 10:28:39 +00:00
kr.angelov
04e56bfc27
a refactoring in the Susanne converter which for some reason was not pushed before
2014-10-10 12:10:44 +00:00
kr.angelov
4efb2d5a22
Prelude.CAPIT is now a built-in primitive. It still generates &| in the Haskell runtime but will be intepreted in the C runtime
2014-10-09 19:34:12 +00:00
kr.angelov
57f7b61c6b
throw away the long obsolete runtime type information in the C runtime
2014-10-09 13:44:26 +00:00
kr.angelov
afd5886cdc
fix two warnings in mem.c
2014-10-09 13:22:39 +00:00
kr.angelov
6d79274b2f
fix in gu_mmap_pool for Android
2014-10-09 13:21:56 +00:00
kr.angelov
58e1eb33fc
fix for lightning for ARM
2014-10-09 13:17:01 +00:00
inari
06d8f05788
add "ilman muuta" to DictionaryFin
2014-10-09 11:44:33 +00:00
kr.angelov
2892e6b8c8
remove the pgf-service util which is obsolete anyway
2014-10-09 11:28:56 +00:00
inari
75538de247
fix yarmulke_N
2014-10-09 09:01:55 +00:00
kr.angelov
4ac5902fc9
replace the hash maps in the abstract syntax with binary search tables
2014-10-09 08:38:55 +00:00
kr.angelov
a94ba9b888
add the const modifier to the key in the two procedures for binary search in libgu
2014-10-09 07:25:26 +00:00
kr.angelov
36bbee588f
use MAP_FIXED in gu_mmap_pool
2014-10-08 19:43:08 +00:00
kr.angelov
cd6b92867a
an experimental memory mapped pool. still not in use
2014-10-08 18:28:51 +00:00
hallgren
d0441cf847
GF.Infra.Options: change from String to Int in the type of optJobs
2014-10-08 16:57:04 +00:00
kr.angelov
23642fbb90
now we statically allocate closures for all top-level functions and all nullary constructors. closures are dynamically allocated only for CAFs. this reduces memory use and time to allocate dynamic closures
2014-10-08 12:57:29 +00:00
francis.tyers
07f489129f
maja not translation of gaff
2014-10-07 20:58:48 +00:00
kr.angelov
e9a871db7f
a missing case in instruction SET
2014-10-07 20:05:05 +00:00
kr.angelov
297403b350
bugfix in the byte code compiler
2014-10-07 20:03:54 +00:00
kr.angelov
e7404c8f7a
added a missing case for PUSH instruction with a global closure
2014-10-07 11:46:38 +00:00
kr.angelov
9e493031b2
the indirection should be done in the evaluate_expr_thunk gate instead of in the pgf_evaluate_expr_thunk function. this ensures lazyness
2014-10-07 07:12:40 +00:00
kr.angelov
8d09f62efc
using instruction RET was wrong; now use EVAL
2014-10-06 15:57:42 +00:00
kr.angelov
2bc0734b6e
fix the order in which arguments are stored in the mk_const gate
2014-10-06 12:31:39 +00:00
kr.angelov
f5041fa67b
push a stack frame around recursive calls to guarantee that a nested call to a failing function will not crash
2014-10-06 09:21:08 +00:00
kr.angelov
b07a2652d8
partial implementation for the FAIL instruction
2014-10-06 09:04:25 +00:00
kr.angelov
d07bcf3480
1800 new adjectives in Bul
2014-10-03 10:41:13 +00:00
kr.angelov
69d703c547
a bit more adjectives in Bulgarian
2014-10-02 16:17:23 +00:00
kr.angelov
71a3ca3d94
sort the entries in Bulgarian and fill in the gaps
2014-10-02 16:11:11 +00:00
kr.angelov
1ddafb4601
> 1700 new adjectives in DictionaryBul
2014-10-02 12:04:37 +00:00
kr.angelov
62b660c6cc
capitalize more adjectives and nouns in DictionaryEng.gf
2014-10-02 09:16:03 +00:00
francis.tyers
eb0da492d0
add 'big' estonian lexicon
2014-10-02 09:10:15 +00:00
inari
89e305492a
overloading mkVA, mkV2A, mkV3, mkVQ in Estonian
2014-10-02 08:59:49 +00:00
inari
e0052ab8ad
Overload mkConj with 1-2 strs and 0-1 nums
2014-10-02 08:30:36 +00:00
inari
11a1e2f1a9
overloaded verb constructors to work with just string arguments
2014-10-02 08:04:56 +00:00
kr.angelov
e2e834dbed
cleanup Dictionary.gf
2014-10-02 05:52:04 +00:00
kr.angelov
32f1610689
synch DictionaryEng.gf with the abstract syntax
2014-10-02 05:30:45 +00:00
kr.angelov
3856e6478b
remove many_A and several_A
2014-10-01 22:21:37 +00:00
kr.angelov
87f0edf41d
remove forty_A
2014-10-01 20:56:41 +00:00
kr.angelov
c423b1a004
fix beluga_N in Swedish
2014-10-01 20:30:56 +00:00
aarne
8b7dcbff5c
fixed problem with missing mkAdV in some dictionaries
2014-10-01 17:11:44 +00:00
aarne
feff23951f
bug fix in NounFin.DetCN: special case for NPSep with possessive determiners, to avoid things like "nimisi", which is a bug recently detected in PhrasebookFin
2014-10-01 16:44:50 +00:00
kr.angelov
09a5ae8ffd
capitalize arab_A
2014-10-01 11:31:36 +00:00
kr.angelov
76ae59a05d
capitalize rwandan_A and rwandan_N
2014-10-01 11:18:29 +00:00
kr.angelov
950b0f7e45
capitalize norman_A and norman_N
2014-10-01 07:59:51 +00:00
kr.angelov
62d3985c45
capitalize icelander_A, icelander_N, icelandic_A and icelandic_N
2014-10-01 07:53:29 +00:00
kr.angelov
a986997a22
remove ninth_A from the dictionaries
2014-10-01 07:49:24 +00:00
kr.angelov
3b2660d0fe
capitalize nicaraguan_A and nicaraguan_N
2014-10-01 07:40:45 +00:00
kr.angelov
aace5b3a8e
capitalize trinidadian_A and trinidadian_N
2014-10-01 07:24:50 +00:00
kr.angelov
7b31ec7fec
capitalize cambodian_A and cambodian_N in DictionaryEng
2014-10-01 07:07:05 +00:00
kr.angelov
dee64838f4
bugfix in pgf_evaluate_expr_thunk
2014-09-30 17:34:29 +00:00
kr.angelov
8800d5af5b
fix the adverbs for fast_A and hard_A
2014-09-30 16:42:33 +00:00
aarne
20d2d10866
84 more words from HSK in DictionaryChi. Now it covers almost all characters that appear in the HSK. The missing ones are used in words that are not in Dictionary abstract syntax.
2014-09-30 16:31:12 +00:00
kr.angelov
0bdd599972
fix pgf_value2expr for partial applications
2014-09-30 13:46:46 +00:00
kr.angelov
8801915523
enough fixes to get the JIT compiler compile for ARM. It is still broken if you try to use it
2014-09-30 12:39:31 +00:00
kr.angelov
f124723236
add evaluator.c in Android.mk
2014-09-30 12:37:18 +00:00
kr.angelov
ceb5b7bbf3
fix in reader.h for compiling jpgf.c
2014-09-30 11:25:27 +00:00
kr.angelov
cdac80b6b2
fix in pgf_print_expr for lambda abstractions with more than one argument
2014-09-30 09:42:18 +00:00
aarne
7223f905f0
AppChi needs more stack space now
2014-09-30 09:35:51 +00:00
aarne
b4a270bdf8
derived adverbs (over 400) in Dictionary except Bul,Hin
2014-09-30 09:29:22 +00:00
aarne
e218c38bae
some fixes in grammar merging script
2014-09-30 09:05:14 +00:00
kr.angelov
9fd8d5d019
bugfix in the gate evaluate_value_lambda
2014-09-30 08:42:06 +00:00
aarne
eece5aa9be
a script for merging word lists: typically, and old trusted one with a new generated one
2014-09-29 19:49:29 +00:00
aarne
0867669605
new DictionaryChi words from HSK word list
2014-09-29 19:48:52 +00:00
kr.angelov
2f7bd0306f
minor stylistic change in GenerateBC
2014-09-29 15:08:00 +00:00
kr.angelov
698329f469
bugfix in the pattern matching compiler and a number of other fixes that I somehow did not push before
2014-09-29 15:00:04 +00:00
kr.angelov
0d08417efe
bugfix in the RET instruction
2014-09-29 13:04:49 +00:00
aarne
cb79e8667e
6000 new words in DictionaryChi from Wiktionary
2014-09-29 12:35:10 +00:00
kr.angelov
e2477d87bb
fix in DictionaryEng.gf
2014-09-29 07:42:40 +00:00
kr.angelov
51320fad1b
fix in DictionaryBul.gf
2014-09-29 07:40:46 +00:00
kr.angelov
1d7e976560
enlarge the code window in pgf_jit_gates to ensure enough space on 64-bit machines
2014-09-29 07:34:32 +00:00
aarne
a757798656
checked that course of value tables (table P [...]) have the correct number of values w.r.t the type P. This was previously not checked, and caused hard-to-find run-time errors.
2014-09-27 17:14:35 +00:00
aarne
790e1f9ef2
fixed a bug causing too much gluing of Ita,Spa nominal forms with their complements; should only apply to clitic pronouns. And an even worse bug in Fre, due to the use of course-of-value tables in DiffFre (instead of full explicit tables). After the present participle was added to Romance verbs, these tables lacked one form, but this was not reported by the type checker. The result was garbled linearizations and, in some cases, run-time errors in the PGF interpreter. Something to fix in the concrete syntax type checker of course.
2014-09-27 11:17:52 +00:00
inari
a4bd9998fc
fix beer_N in LexiconEst
2014-09-27 09:59:29 +00:00
hallgren
5ca06495b1
translator/DictionarySwe.gf: remove bogus variant "hinna" from film_V2
2014-09-26 16:04:55 +00:00
aarne
704eac5309
gerunds and participles in TranslateDut, a first version
2014-09-26 15:15:21 +00:00
aarne
5f4f1b30a3
Dictionary fixes for Swe nd Fin
2014-09-26 14:48:28 +00:00
aarne
216281cd06
command for AppEngFin
2014-09-26 14:48:09 +00:00
aarne
38ae2430b5
gerund and participle translations for Fre,Ita,Spa and Ger. Some a bit questionable.
2014-09-26 13:26:01 +00:00
aarne
56c50bfb39
more verb constructions in Translate (Eng,Swe,Fin): without moving, by moving, in order to move
2014-09-26 06:44:03 +00:00
aarne
e1538f762f
participles and gerunds in TranslateFin. "vaimoni ostama olut on hyvää", "työn löytäminen on vaikeaa" etc
2014-09-25 21:01:17 +00:00
aarne
b4104b90e1
enabled some gerunds and participles in Translate, implemented for Eng and Swe. Commented out which_N, a source of errors.
2014-09-25 17:56:22 +00:00
aarne
591b56a7e2
added participles to Scandinavian VP
2014-09-25 17:00:59 +00:00
kr.angelov
2cf55a0631
the literals API is now exposed in Python
2014-09-25 11:59:40 +00:00
kr.angelov
3064fc737e
switch off the debugging of the JIT compiler which I had turned on accidentally. silence two harmless warnings
2014-09-25 11:44:45 +00:00
kr.angelov
25e8e4ce5a
now a complete JIT compiler and ByteCode compiler for the def rules in the abstract syntax. there might be some bugs yet to be found, meta variables and computation under lambda is only partially supported
2014-09-25 10:35:06 +00:00
aarne
f6a9a88cef
Fin: replaced a few selections of NPCase Nom by NPSep to work properly with prodrop: pronouns should not be dropped in those cases. This moreover gave rise to lots of spurious ambiguities.
2014-09-25 07:02:15 +00:00
hallgren
5cda60d36f
examples/app/Makefile2: add missing -probs flag
2014-09-23 12:20:44 +00:00
hallgren
eadc012b7a
doc/gf-developers.t2t: add a note about how to create OS X Installer packages
2014-09-23 12:18:17 +00:00
hallgren
38811b06c9
haskell-bind/PGF2.hsc: unexport functions that break referential transparency
...
loadConcr, unloadConcr and addLiteral modify the Concr structure as a side
effect. This means that other functions with a Concr argument (e.g. parse
and linearize) are no longer pure.
Possible solutions:
1. Don't try to hide the imperative nature of the C run-time system: remove
all uses of unsafePerformIO and let all functions operate in the IO monad.
2. Don't export functions with side effects. Perhaps the desired functionality
of loadConcr, unloadConcr and addLiteral can be folded into readPGF.
The Concr structures can then treaded as immutable after after the
readPGF function returns...
2014-09-22 14:05:17 +00:00
inari
8e00794dac
fix inflection of hetki ; add negative counterparts for kuitenkin ; fix wee and weed
2014-09-21 23:22:53 +00:00
inari
3b0aebc38c
alt forms for next and year & couple of new PNs in DictionaryFin
2014-09-21 22:45:23 +00:00
inari
884a1e107c
bunch of medical terms in DictionaryFin
2014-09-20 19:44:28 +00:00
kr.angelov
4d6994ffde
forgot to type check the type of a typed let expression
2014-09-17 22:25:08 +00:00
kr.angelov
4f23ed2289
appForm now skips over Typed expressions
2014-09-17 22:02:36 +00:00
kr.angelov
ff45e7dd3a
the type checker for the abstract syntax now allows let expressions in def rules, since they are easily compilable to byte code. This fails in the Haskell runtime since let expressions are not allowed as abstract syntax expressions.
2014-09-17 21:59:45 +00:00
kr.angelov
db68456727
fix a portability problem with the Python binding (found by Prasanth)
2014-09-17 16:12:40 +00:00
aarne
a2936678e7
fixed anschauen in LexiconGer, pointed out by DV
2014-09-17 05:30:52 +00:00
kr.angelov
e308f384de
dummy jit_base_tail_finishr for x86_64.
2014-09-16 12:29:35 +00:00
aarne
240287b6f6
enabled VP-valued rules for V2V, V3, etc in App. Improve quality with less loss of speed than VPSlash-valued original rules.
2014-09-15 16:10:18 +00:00
aarne
55621783cb
fixes in DictionarySwe - mainly missing words
2014-09-15 15:16:31 +00:00
kr.angelov
67d30ce861
fix screen_N in Swedish
2014-09-15 07:59:04 +00:00
aarne
b492666c0e
Finnish NPSep form, to avoid empty Nominative forms in wrong places in case of pro drop.
2014-09-15 07:17:11 +00:00
aarne
8b95b86b0a
Romance particle verbs: show the p field also in infinitives
2014-09-15 06:33:08 +00:00
aarne
dcc3d70ac5
added field p for particle in romance Verb. This was already assumed in Dictionary, and created many spurious ambiguities when parsing Romance languages in the wide-coverage translation, because p was simply ignored.
2014-09-14 14:30:08 +00:00
aarne
6d15353a84
enabled many more functions, in particular verb patterns, in App, to increase translation quality. This comes with 30% longer translation time with my benchmark but should still be OK.
2014-09-14 08:43:21 +00:00
aarne
e8cc5856f4
reverted the pre-variant of vocatives in TranslateEng, because the definition of Voc messes it up. Will have to return to this.
2014-09-14 08:20:09 +00:00
aarne
372e216389
in TranslateEng, made vocative possible both before and after the phrase. Should be so in other languages as well. There should also be an optional comma, but this is not right if the vocative is empty - which means that empty vocatives are probably not the right thing to have
2014-09-12 12:37:53 +00:00
aarne
19965c0b60
fixes in DictionarySwe
2014-09-12 12:25:37 +00:00
aarne
7ddf965061
separate independent (NP without CN) forms of IndefArt and DefArt in Romance languages. The choice of words was unsure in some cases, but at least this eliminates the problem of empty NP's translating to "ones".
2014-09-12 11:59:50 +00:00
aarne
6b47126c8c
GF index: shortcut links to Android app, Best practices, REMU, and new Android development instructions
2014-09-12 09:01:43 +00:00
aarne
aff3405b8d
fixes in LexiconGer and DictGer proposed by Denny Vrandecic
2014-09-11 19:36:53 +00:00
kr.angelov
923ad6b3c0
a major revision of the bytecode generator and JIT compiler. the effect is that now we can compute with lambda functions and with true tail recursion
2014-09-11 15:39:39 +00:00
hallgren
a0d75d0ea8
gf.cabal: add missing c-sources for the Haskell binding to the C run-time library
2014-09-11 11:53:07 +00:00
hallgren
7cf87a3441
Setup.hs: don't ask darcs for the version history if _darcs is not present
...
This is to avoid a (harmless) error message from darcs when compiling sources
obtained e.g. from github.
2014-09-11 11:47:17 +00:00
kr.angelov
5c0ef5c4ed
now release the FunPtr:s that are allocated for each literal callback
2014-09-10 15:41:53 +00:00
kr.angelov
d84d3b5763
added an API for custom literals in the Haskell binding
2014-09-10 14:56:18 +00:00
kr.angelov
fb18482aeb
added loadConcr/unloadConcr to the Haskell binding. This exposes an API for loading grammars compiled with -split-pgf
2014-09-10 14:35:54 +00:00
hallgren
98e01dc63e
Wide Coverage Demo web app: use the App grammar instead of the Translate grammar
...
This gives faster but slightly lower quality translations.
2014-09-09 13:53:10 +00:00
hallgren
782bdf3a52
(1) Refactor concurrency, (2) write to .gfo.tmp then rename to .gfo
...
(1) introduces the module GF.Infra.Concurreny with lifted concurrency
operators (to reduce uses of liftIO) and some additional concurrency
utilities, e.g. a function for sequential logging that is used in
both GF.CompileInParallel and GFServer.
(2) avoids leaving broken .gfo files behind if compilation is aborted.
2014-09-08 15:43:20 +00:00
kr.angelov
d7dc541f74
the code for def rules now uses proper graph update to preserve lazyness
2014-09-05 11:53:02 +00:00
kr.angelov
5e5ad8f2db
full support for recursive def rules in the C runtime
2014-09-05 10:09:43 +00:00
hallgren
fe8daf7f94
gf.cabal, gf-server.cabal: add version bounds on network & httpd-shed
...
* httpd-shed-0.4 does not specify an upper bound on network, but it fails
to build against network>=2.6. This is fixed in httpd-shed-0.4.0.2.
* With network-2.6, the Network.URI modules is moved to a separate package,
so for the time being GF requires network>=2.3 && <2.6. This is compatible
with the four most recent versions of the Haskell Platform.
2014-09-03 15:40:26 +00:00
hallgren
0e87a88f4b
src/server: refactoring to isolate dependencies on the cgi/fastcgi packages
...
* Introducing the module CGI, re-exporting a subset of the cgi package. It
might complete replace the cgi package in the future.
* Introducing the module CGIUtils, containing functions from FastCGIUtils that
have nothing to do with fastcgi.
Some low level hackery with unsafePerformIO and global variables was left
in FastCGIUtils, but it is actually not used, neither for gf -server nor
exec/pgf-fcgi.hs.
2014-09-02 12:27:47 +00:00
kr.angelov
442dadf100
partial implementation for recursive def rules
2014-09-01 14:51:20 +00:00
inari
0ce95397a1
Added TopDictionaryCat
2014-09-01 14:27:41 +00:00
kr.angelov
9adf01a91e
bug fixes in the JIT compiler
2014-09-01 12:53:14 +00:00
aarne
8f273837c9
by_Prep causing conflict in AppChi, therefore excluded from the import of PhrasebookChi
2014-08-30 23:13:39 +00:00
aarne
a6c3ebcd1a
removed the temporary SaldoWN.gf file
2014-08-26 09:14:56 +00:00
hallgren
6494313a14
examples/app/Makefile2: simplifed Makefile for the App grammar (doesn't work yet)
...
This makefile just calls GF once and lets GF figure out in which order to
compile things. It uses the -j flag to enable parallel compilation and
specifies an explicit -path, overriding the -path flags in the source files.
This allows all needed modules to be found automatically and ensures that
that alltenses is consistently used everywhere. But for some reason, this
doesn't work...
2014-08-30 17:00:14 +00:00
kr.angelov
fcef855ef0
add brikett in DictionarySwe
2014-08-30 10:51:09 +00:00
hallgren
224d3a43f7
Add OS X Installed package to the GF 3.6 download page
2014-08-29 11:48:53 +00:00
hallgren
9b8b2d5f03
bin/build-binary-dist.sh: just a small fix
2014-08-29 11:48:10 +00:00
kr.angelov
9bc507f1d6
added evaluator.h which I had forgoten
2014-08-29 08:36:53 +00:00
hallgren
d25014f24c
You can now use 'make pkg' to build OS X Installer packages for GF
...
The script bin/build-binary-dist.sh has been updated to build either a plain
.tar.gz package or OS X Installer package (.pkg).
Note that bin/build-binary-dist.sh is designed to build and include the
C run-time system in the binary package. If the C run-time system fails to
build, no binary package will be created.
2014-08-28 13:30:22 +00:00
hallgren
cc61d7edd8
gf.cabal ghc-options: don't force -j, -auto-all has been renamed to -fprof-auto
2014-08-25 23:30:22 +00:00
aarne
fecda3e64b
implemented some_Quant in Dictionary for many languages where it was missing. Also added some_Det, which has a different meaning: compare "some man" (existential, Quant) to "some tea" (mass term similar to "a little tea", Det)
2014-08-25 19:02:01 +00:00
aarne
51e53559b8
in TranslateEng, variant "third-largest" to "third largest" in OrdNumeralSuperl
2014-08-25 19:01:06 +00:00
aarne
c93e2780d3
type error in ExtensionsChi fixed
2014-08-25 19:00:45 +00:00
hallgren
20d5a89664
Fix GHC 7.4 compatibility issue caused by previous patch
2014-08-25 11:26:58 +00:00
hallgren
238652c6f9
Setup.hs: disable parallel RGL build support for now, since it is incompatible with Cabal<1.20
2014-08-25 11:22:20 +00:00
hallgren
c0eb79b403
Experimental: parallel batch compilation of grammars
...
On my laptop these changes speed up the full build of the RGL and example
grammars with 'cabal build' from ~95s to ~43s and the zero build from ~18s
to ~5s.
The main change is the introduction of the module GF.CompileInParallel that
replaces GF.Compile and the function GF.Compile.ReadFiles.getAllFiles. At
present, it is activated with the new -j flag, and it is only used when
combined with --make or --batch. In addition, to get parallel computations,
you need to add GHC run-time flags, e.g., +RTS -N -A20M -RTS, to the command
line.
The Setup.hs script has been modified to pass the appropriate flags to GF
for parallel compilation when compiling the RGL and example grammars, but you
need a recent version of Cabal for this to work (probably >=1.20).
Some additonal refactoring were made during this work. A new monad is used to
avoid warnings/error messages from different modules to be intertwined when
compiling in parallel, so some functios that were hardiwred to the IO or IOE
monads have been lifted to work in arbitrary monads that are instances in
the appropriate classes.
2014-08-25 09:56:00 +00:00
aarne
59e71e5cfd
corrected own_V2 in DictionarySpa
2014-08-24 20:30:24 +00:00
aarne
e9d83e1f9d
added the constructor Noun.NumeralSuperlOrd for phrases like "third largest", which have special linearizations in many languages e.g. German (drittgrösste) and Finnish (kolmanneksi suurin). Implemented for Chi (to check), Dut, Eng, Fin, Ger, Romance, Scand so far
2014-08-24 14:32:44 +00:00
aarne
67fefa20a5
made the "how old" construction in Chinese more efficient by moving variants to the top level; the resulting rule is the same. This kind of inefficiencies are best found if you compile with the -v option and check for constructors creating unexpectedly many PGF rules.
2014-08-24 14:28:48 +00:00
kr.angelov
4d4bfbe5ec
fix the paradigms for copper_N and honey_N in Bulgarian
2014-08-24 09:06:13 +00:00
kr.angelov
ad60ce2941
more changes in DictionaryBul
2014-08-23 17:36:44 +00:00
kr.angelov
c1eb76747c
fixes in DictionaryBul
2014-08-23 17:33:45 +00:00
kr.angelov
14101a6fd7
bugfix in the android app
2014-08-22 12:33:35 +00:00
hallgren
5f9e6b1220
src/www/robots.txt: robot exclusion file for the GF cloud service.
...
To reduce potential server load caused by search bots.
2014-08-22 12:13:04 +00:00
hallgren
11105f81cd
Command line flag -s/-q now silences all warnings
...
These flags now do what the say.
2014-08-22 00:30:33 +00:00
hallgren
e1644ef319
Add lifted directory operations in GF.System.Directory to eliminate the need for liftIO in various places
2014-08-20 17:47:08 +00:00
hallgren
ff960a27b8
GF.CompileOne: refactoring to reduce code duplication and improve readability
...
I prefer small functions with descriptive names over large monilithic chunks
of code, so I grouped the compiler passes called from compileSourceModule
into funcitons named frontend, middle and backend. This also makes decisions
about which passes to run clearly visible up front.
Also made some small changes in GF.Compile.
2014-08-20 17:04:15 +00:00
hallgren
be301d8a5e
Convert many RGL modules from Latin-1 to UTF-8 to speed up compilation
...
Also add flags coding=utf8 to silence warnings.
2014-08-19 19:42:05 +00:00
hallgren
efcec8e7e9
Convert BeschCat.gf & BeschSpa.gf to UTF-8 to speed up compilation
...
Big patch!
2014-08-19 19:39:35 +00:00
hallgren
2f0e6c788b
Convert lib/src/spanish/IrregSpa.gf to UTF-8 to speed up compilation
...
Huge patch!
2014-08-19 19:32:49 +00:00
hallgren
d2e326b182
GF.Compile.ReadFiles: a simpler & faster way to convert from Latin1 to UTF-8
2014-08-19 14:27:15 +00:00
hallgren
7dee933802
Adjust the -path flags in 112 RGL modules
...
The -path flags in the RGL modules compiled during 'cabal build' now refer
directly to the needed source directories. References 'alltenses' and 'present'
(and the nonexistent directory 'mathematical') have been removed.
This allows the files to be compiled in any order (e.g. in parallel). In
addition, you can do things like
gf -retain lib/src/api/TrySwe.gf
without compiling/installing any other RGL modules first, and without
setting any other path flags or environment variables.
2014-08-18 22:26:29 +00:00
kr.angelov
b53c9b1038
fixes in DictionaryBul.gf
2014-08-18 14:34:42 +00:00
hallgren
7b42582682
Fix compliation error with GHC 7.4 caused by previous patch
2014-08-13 22:21:54 +00:00
hallgren
1cfdffd5e9
Fix warnings in 16 modules, mostly forward compatibility warnings from GHC 7.8
2014-08-13 22:16:18 +00:00
hallgren
6215fc941f
Refactoring in GF.Compile and GF.ReadFiles with an eye to parallel compilation
...
In particular, the function compileOne has been moved to the new module
GF.CompileOne and its type has been changed from
compileOne :: ... -> CompileEnv -> FilePath -> IOE CompileEnv
to
compileOne :: ... -> SourceGrammar -> FilePath -> IOE OneCompiledModule
making it more suitable for use in a parallel compiler.
2014-08-13 16:46:11 +00:00
hallgren
70051a375b
Setup.hs: reduce zero build time by a couple of seconds
...
The RGL is now compile with only three calls to GF (prelude, present,
alltenses). This also makes even more parallelism available to GF for speeding
up full builds of the RGL.
2014-08-13 16:25:03 +00:00
hallgren
147af96983
GF.Compile: remove the Int from CompileEnv
...
It has been unused since the refresh pass was removed.
This eliminates one obstacle to parallel module compilation.
2014-08-11 16:30:11 +00:00
kr.angelov
912225a5dd
pattern matching in def rules is now supported
2014-08-11 15:53:41 +00:00
kr.angelov
a18c1709f3
revert an accidental change that I pushed together with the last patch
2014-08-11 11:44:49 +00:00
kr.angelov
03b067782c
a partial support for def rules in the C runtime
...
The def rules are now compiled to byte code by the compiler and then to
native code by the JIT compiler in the runtime. Not all constructions
are implemented yet. The partial implementation is now in the repository
but it is not activated by default since this requires changes in the
PGF format. I will enable it only after it is complete.
2014-08-11 10:59:10 +00:00
hallgren
1ce3569c82
Setup.hs: don't build example grammars when the rgl-none argument is specified
2014-08-08 17:02:36 +00:00
kr.angelov
bf0b487a4c
fix marquess_N, marquis_N in Eng,Bul,Fre
2014-08-07 19:09:02 +00:00
hallgren
daee08f360
Setup.hs: comment out debugging code
2014-07-28 15:35:22 +00:00
hallgren
067c360ec5
Setup.hs: reduce zero build time by ~30% (from 26 to 18 seconds on my laptop)
...
This speedup is obtained by instead of generating 211 shell commands to compile the RGL one file at a time, generate 7 shell commands, passing a number of
related files to GF in one go.
In addition to cutting down the zero build time, this opens up for speeding up
full builds of the RGL, by adding more parallelism in GF's grammar compilation
machinery.
(Note: gf.cabal already takes advantage of GHC's parallel build option to
speed up the compilation of GF itself, if GHC>=7.8 is used.)
2014-07-28 15:11:58 +00:00
hallgren
cbe5e8ab18
Convert from Text.PrettyPrint to GF.Text.Pretty
...
All compiler modules now use GF.Text.Pretty instead of Text.PrettyPrint
2014-07-28 11:58:00 +00:00
hallgren
1374c311d7
Adding GF.Infra.Location and GF.Text.Pretty (forgot to 'darcs add' them before)
2014-07-27 22:13:13 +00:00
hallgren
f27d509075
Introducing GF.Text.Pretty for more concise pretty printers and GF.Infra.Location for modularity
...
GF.Text.Pretty provides the class Pretty and overloaded versions of the pretty
printing combinators in Text.PrettyPrint, allowing pretty printable values to
be used directly instead of first having to convert them to Doc with functions
like text, int, char and ppIdent. Some modules have been converted to use
GF.Text.Pretty, but not all. Precedences could be added to simplify the pretty
printers for terms and patterns.
GF.Infra.Location contains the types Location and L, factored out from
GF.Grammar.Grammar, and the class HasSourcePath. This allowed the import
of GF.Grammar.Grammar to be removed from GF.Infra.CheckM, making it more
like a pure library module.
2014-07-27 22:06:23 +00:00
Sergei Trofimovich
b154361e24
gf.cabal: fix depend in --flags=-custom-binary case
...
Detected when building today:
Building gf-3.6...
Preprocessing library gf-3.6...
src/runtime/haskell/PGF/Internal.hs:17:8:
Could not find module ‘Data.Binary.IEEE754’
It is a member of the hidden package ‘data-binary-ieee754-0.4.4’.
Perhaps you need to add ‘data-binary-ieee754’ to the build-depends in your .cabal file.
2014-07-25 14:41:11 +00:00
hallgren
ea6aa6dc02
PGF service: expire PGFs from the cache when they have been unused for 24 hours
...
...to keep memory use down on the server.
2014-07-21 15:53:38 +00:00
hallgren
9ded33829a
WebSetup.hs: include Chinese when building the Phrasebook
2014-07-21 15:48:49 +00:00
aarne
b51e88810e
DictionaryEng: removed some uses of the token "IRREG" but then stopped and added a comment; don't know what it is supposed to mean. Also changed who_N from "who" to "WHO" but again, don't know what who_N is supposed to mean. But it now creates hilarious translations of "who's who", treated as a statement about WHO...
2014-07-20 08:26:33 +00:00
aarne
c6ca698101
contracted questions in TranslateEng: who's as a variant of who is etc.
2014-07-20 08:25:54 +00:00
aarne
78bd8f98a8
fixed a bug in PhonoIta.elision, which caused gluing of articles with nouns beginning with a vowel also when there was no apostrophe
2014-07-20 08:06:45 +00:00
aarne
423fa50994
Qiao's corrections in PhrasebookChi. This replaces the old, partial and low-quality version and is hence the first Chinese phrasebook version that can claim high quality.
2014-07-16 21:07:34 +00:00
hallgren
47e185679f
src/server/gf-server.cabal: update dependencies
2014-07-15 12:00:51 +00:00
aarne
fb9508b38e
modified some explanations in app.html
2014-07-15 09:55:45 +00:00
aarne
17a9accf97
using reduplication in Chi indirect questions, as suggested by Qiao
2014-07-15 09:41:26 +00:00
john.j.camilleri
d59749c914
PGF Web Service: include entire completion in full mode
...
When using full=yes in the web service 'complete' command,
you now get an additional field 'seq' with the longest possible completion.
So, given:
lin
f1 = ss "the" ;
f2 = ss ("the red house" | "the real deal") ;
and trying to complete on input "th", you get:
[
{
"from": "TestCnc",
"brackets": {
"cat": "_",
"fid": 0,
"index": 0,
"fun": "_",
"children": []
},
"text": "th",
"completions": [
{
"token": "the",
"funs": [
{
"fun": "f1",
"hyps": [],
"cat": "C",
"seq": "the"
},
{
"fun": "f2",
"hyps": [],
"cat": "C",
"seq": "the red house"
},
{
"fun": "f2",
"hyps": [],
"cat": "C",
"seq": "the real deal"
}
]
}
]
}
]
2014-07-15 09:33:22 +00:00
john
747287055f
PGF web service: Return additional completion info with 'full' flag
...
BETA! The 'complete' command now has a new flag 'full' which when set
returns additional info about completions.
Without 'full' flag (default):
[
{
"from": "PhrasebookEng",
"brackets": {
"cat": "_",
"fid": 0,
"index": 0,
"fun": "_",
"children": [
{
"token": "the"
}
]
},
"text": "su",
"completions": [
"supermarket",
"suspect"
]
}
]
With full=true or full=yes:
[
{
"from": "PhrasebookEng",
"brackets": {
"cat": "_",
"fid": 0,
"index": 0,
"fun": "_",
"children": [
{
"token": "the"
}
]
},
"text": "su",
"completions": [
{
"token": "supermarket",
"funs": [
{
"fid": 421,
"fun": "Supermarket",
"hyps": [],
"cat": "PlaceKind"
}
]
},
{
"token": "suspect",
"funs": [
{
"fid": 445,
"fun": "Suspect",
"hyps": [],
"cat": "Property"
}
]
}
]
}
]
2014-07-11 09:25:26 +00:00
kr.angelov
0138869499
implemented computing with abstract syntax trees. It passes all test cases except those that require def rules. The design is consistent with the STG virtual machine
2014-07-08 19:45:49 +00:00
kr.angelov
b3397f8071
bugfix for the typechecker in the C runtime
2014-07-08 19:19:48 +00:00
kr.angelov
153479e991
an API for visitor patterns on abstract syntax trees from Python. This makes the embedded grammars especially pleasing
2014-07-06 23:48:51 +00:00
john
ce9999c45d
Maltese RG: small updates to dict
2014-07-06 23:23:58 +00:00
kr.angelov
a794ec5c42
small fix for the embedded mode in Python
2014-07-06 19:55:08 +00:00
kr.angelov
7afbff6fa8
embedded mode for GF grammar in Python. Only generation for now
2014-07-06 19:49:17 +00:00
john
ae193e6fb6
Maltese RG: simple change which makes things compilable again
2014-07-06 17:19:10 +00:00
aarne
205f4567fb
making hard-wired questiong in PhrasebookChi type correct after addition of indirect questions
2014-07-05 08:34:22 +00:00
aarne
65a9709041
distinction between direct and indirect questions in Chi, to eliminate "ma" in indir questions
2014-07-05 08:33:45 +00:00
kr.angelov
40bfaff8ce
filter out the leading +/* from the parser tree
2014-07-03 18:27:39 +00:00
kr.angelov
dde3e1ee73
bugfix in the ParseTreeView
2014-07-03 18:09:34 +00:00
kr.angelov
71b82c88a3
scroll bars for the ParseTreeView
2014-07-03 13:42:26 +00:00
kr.angelov
ba1e95dacb
Visualization for parse trees on Android
2014-07-02 11:30:06 +00:00
kr.angelov
42dea944d9
added bracketedLinearize in the Java binding
2014-07-02 07:08:01 +00:00
kr.angelov
410b7c78ce
fixed rare memory leak in the Java bindings
2014-07-02 07:06:51 +00:00
john.j.camilleri
f189e91629
Add Nothing' to Maybe.gf, including warning
2014-07-02 06:37:27 +00:00
kr.angelov
b9ffc8ac00
a few changes in the Nerc that I have forgoten to push
2014-07-01 17:32:25 +00:00
kr.angelov
3843f5505e
fix warnings in the compilation of the Java binding
2014-07-01 17:31:29 +00:00
kr.angelov
2e5d12db06
remove some of the translations for clever_A in Bulgarian
2014-07-01 09:00:19 +00:00
kr.angelov
5ae0b8814e
a number of adjectives in DictionaryBul
2014-07-01 08:57:05 +00:00
aarne
9fe068449b
link to play store from app.html
2014-06-30 09:14:17 +00:00
john.j.camilleri
2542d04565
RGL browser: remove duplicates in API tab
...
For some reason I was scanning both Syntax and
Constructors, Cat, Structural, Combinators
even though the former imports all the latter...
2014-06-30 07:35:59 +00:00
hallgren
93ba5b7b37
minibar: include the grammar's last modification in the grammar info shown by the "i" button
...
Also bumped version number in gf.cabal to 3.6-darcs.
Also removed some unecessary use of CPP.
2014-06-24 13:59:09 +00:00
hallgren
b429086b2f
Adjust the release date on the home page
2014-06-23 13:33:38 +00:00
hallgren
18de8c3988
Final updates of the download page for the 3.6 release
...
+ Describe which features are included in the different binary packages.
+ Describe the new MINGW package.
2014-06-23 13:30:33 +00:00
hallgren
865e818ea9
Update web pages and bump version number to 3.6!
2014-06-21 18:29:29 +00:00
hallgren
2646c40549
doc/gf-developers.t2t: made the C run-time section a bit more informative
2014-06-23 13:28:10 +00:00
kr.angelov
1cf221634e
added at_home_Adv in DictionaryBul
2014-06-23 07:28:51 +00:00
kr.angelov
23cdf3fe6f
small fixes in DictionaryBul.gf
2014-06-23 07:18:28 +00:00
hallgren
7d945def61
release-3.6.t2t: just a couple of more fixes.
...
Sorry.
2014-06-21 18:25:52 +00:00
hallgren
ca24be7d7c
release-3.6.t2t: fix broken link
2014-06-21 18:17:00 +00:00
hallgren
f0ca4e4387
release-3.6.t2t: fix a formatting problem
2014-06-21 18:12:47 +00:00
hallgren
e8ceba35b0
debian/changelog: updated for the release of GF 3.6
2014-06-21 17:10:24 +00:00
hallgren
7645207e6b
build-binary-dist.sh: include a ghc package configuration file
...
as an experiment
2014-06-21 16:32:10 +00:00
hallgren
7f1521dbc5
Polished and renamed release notes to release-3.6.t2t
...
Also added an example use of lookupmorpho to gf-web-api-examples.html.
2014-06-21 13:02:10 +00:00
hallgren
54d081a036
The --output-dir option now applies also to PGF files
2014-06-21 12:26:56 +00:00
hallgren
eee9617036
Cloud service & apps: better error handling in wide coverage translation
...
The wide coverage demo apps now shows a "please wait" message while the grammar
is loading, and a red error message if the grammar is not found on the server.
The Simple Translation Tool also show red error messages if the grammar is not
found.
2014-06-20 18:39:28 +00:00
hallgren
78ccefc4f4
PGF Service: return error code 404 (not found) instead of 500 (internal server error) for missing grammars
2014-06-20 17:28:02 +00:00
hallgren
fae535b4e8
PGF Service, command=grammar: include the last modified time of the grammar in the output
2014-06-20 10:34:51 +00:00
aarne
3a7ef1eb87
removed Volksrepublik from china_PN in DictionaryGer
2014-06-20 09:39:54 +00:00
aarne
ec5eb83259
updated TopDictionary files after refactoring of Dictionary
2014-06-20 09:36:27 +00:00
aarne
23ba885adf
added never_AdV to many Dictionaries, removed equivalents of "republic of" from country names
2014-06-20 09:25:13 +00:00
aarne
adb4b64c87
new constructions in translate.probs
2014-06-20 08:19:36 +00:00
aarne
0f1aa6e669
added a note that the green translation comes from the phrasebook
2014-06-20 07:12:31 +00:00
aarne
d6e9fb5edf
Fin prepositions with possessive suffixes had a double BIND token ; placement of "luo" etc in DictionaryFin
2014-06-20 07:03:49 +00:00
aarne
61f921136a
some probabilities in app.probs to recognize languages and pronouns
2014-06-20 06:31:09 +00:00
aarne
f50009de83
a couple of fixes in Fin and Swe dictionaries
2014-06-20 06:28:33 +00:00
kr.angelov
f0ced4da99
added word in DictionaryBul
2014-06-19 19:00:34 +00:00
aarne
66012e47bc
restored some functions in PhrasebookDut to make it complete again
2014-06-19 18:08:03 +00:00
aarne
7e8bc5fd85
style0 in app.html to preserve colours in table cells
2014-06-19 17:44:06 +00:00
hallgren
ce116459e9
css/style0.css: like css/style.css but without changing the default table style
2014-06-19 17:42:37 +00:00
aarne
49b4eac8ad
language status in app help file as table ; less text
2014-06-19 17:42:03 +00:00
aarne
1869234dc4
language status information in demo app and translation documents
2014-06-19 17:41:34 +00:00
hallgren
fc49815f32
Demo page: fix the link to the android app
2014-06-19 17:05:21 +00:00
hallgren
42e0e1b78c
Demo page: add links to the wide coverage translation page and the android app
2014-06-19 17:00:23 +00:00
hallgren
af9fbed84e
WebSetup.hs: PhrasebookLav works again
2014-06-19 16:58:33 +00:00
inari
8fbec7d9ed
revert AWant in WordsDut back to using niet as negation
2014-06-19 16:55:13 +00:00
inari
66b2858606
reverted AWant back to using niet negation
2014-06-19 16:51:55 +00:00
aarne
a7b9e9f225
nationality nouns and adjectives in Dictionary: triples like french_A, frenchMasc_N, frenchFem_N. frenchman_N etc should be under frenchMasc_N maybe as the first variant, so that uniform structure is preserved. Fully implemented for Eng Fin Fre Swe, partially for other languages.
2014-06-19 16:35:40 +00:00
aarne
aad954a8f5
fixed notpresent flags in ResDut.gf so that it compiles with the -present option
2014-06-19 16:20:01 +00:00
aarne
8cb9364af0
renaming in PhrasebookDut to avoid name clash in App
2014-06-19 16:09:15 +00:00
aarne
27a60479b6
a couple of fixes in Phrasebook ; should compile now
2014-06-19 15:55:39 +00:00
hallgren
8ba34cb652
debian/rules: a hack to put the python binding in the right directory
...
The setup.py script puts it under site-packages, but python only looks under
dist-packages...
Also some minor changes for 'make deb' in Makefile
2014-06-19 15:45:55 +00:00
inari
d6ee595aa9
Add some more constructions with geen as negative in WordsDut
2014-06-19 15:05:34 +00:00
inari
7cc6787454
Overload partV ; fix typo in IrregDut ; fix word order in subordinate clauses in ResDut
2014-06-19 15:04:36 +00:00
hallgren
b953e782f6
debian/rules: fix bug that prevented the Python binding from being included
2014-06-19 13:39:03 +00:00
kr.angelov
dae5d77859
fix in Dictionary.gf
2014-06-19 13:32:47 +00:00
kr.angelov
d99043e357
remove some garbage from DictionarySpa.gf
2014-06-19 13:26:23 +00:00
hallgren
a4c56fe345
Update the GF shell reference manual
2014-06-19 10:58:35 +00:00
kr.angelov
0a536096e5
estimate the new values in app.probs as best as I can given the many grammar changes that were not reflected
2014-06-19 10:55:53 +00:00
hallgren
c2e17662b7
lib/tests/french/bescherelle: rename files containing non-ASCII characters
2014-06-19 10:43:07 +00:00
kr.angelov
1af0af63b9
remove some entries and split others in all dictionaries. The change are caused by the new inventory of names in Construction
2014-06-19 10:07:12 +00:00
inari
c8b5e03e6a
fixed negation in PhrasebookDut
2014-06-19 10:02:23 +00:00
inari
7db004d2f6
small cleanup
2014-06-19 09:57:23 +00:00
inari
8508b8be01
Major changes in Dutch: word order fixes, add particle verbs, fixes in verb smart paradigms
2014-06-19 09:54:48 +00:00
hallgren
158519624e
runtime/c/setup.sh: use make -j to speed up compilation
...
The configuration script takes significantly longer to run than the compilation
of all the C code, which is a hint that is in need of a major simplification.
2014-06-19 09:26:44 +00:00
kr.angelov
f0e7abc04d
fixes in DictionaryBul.gf
2014-06-19 08:32:38 +00:00
kr.angelov
5fc4a46ddc
remove a few duplicated entries in Dictionary.gf
2014-06-19 08:32:03 +00:00
aarne
6f7570fa30
release notes: record update and RGL updates
2014-06-19 07:18:24 +00:00
aarne
c6e2d63e04
updated synopsis
2014-06-19 07:18:08 +00:00
aarne
0e613f1029
section on record update in gf-refman
2014-06-19 07:10:43 +00:00
hallgren
e9869da5e2
Include the Python binding to the C run-time system in Debian packages
2014-06-19 00:43:53 +00:00
hallgren
c293812c79
WebSetup.hs: skip PhrasebookLav for now
2014-06-19 00:20:31 +00:00
hallgren
131ef1f444
Compile example grammars during the build phase instead of the install phase
...
This allows more errors to be detected by the build bot.
TODO: fix the gf --output-dir flag, which does not seem to change where PGF
file are put.
2014-06-18 23:57:45 +00:00
aarne
5146f4aaba
enabled more from Construction in App
2014-06-18 16:20:53 +00:00
hallgren
7b1ad9de51
build-binary-dist.sh: updated to include the Python binding to the C run-time
...
There are also some changes in src/runtime/python/setyp.py to support this.
2014-06-18 16:09:46 +00:00
aarne
8157a3cc75
correction in app/README
2014-06-18 15:59:56 +00:00
aarne
7ec57cc035
path in AllBul to work with Construction ; potential clash in ConstructionHin
2014-06-18 15:55:01 +00:00
aarne
7ee4b14b08
quick hack: changed cat name Language to LAnguage in Phrasebook to avoid clash with Construction.Language in App
2014-06-18 15:38:11 +00:00
kr.angelov
43ad739cb7
added ConstructionBul in TranslateBul
2014-06-18 15:32:26 +00:00
kr.angelov
e3d4d6661a
added ConstructionBul.gf
2014-06-18 15:28:07 +00:00
aarne
f150f4ce44
geonames in DictionaryHin ; partial implementation of ConstructionHin from Phrasebook and Wiktionary ; to be checked by an expert
2014-06-18 15:01:04 +00:00
aarne
2c6bdaf5ad
ConstructionSpa added ; to be verified by someone who knows the language better
2014-06-18 13:57:05 +00:00
aarne
180ba3b9d9
ConstructionsDut and geonames in DictionaryChi (including some in Latin letters without spaces)
2014-06-18 13:14:51 +00:00
hallgren
12210ebb61
Fix like_Subj in translator/DictionarySwe.gf
2014-06-18 12:12:45 +00:00
aarne
aeb0205ecd
geonames in DictionaryDut
2014-06-18 12:00:25 +00:00
aarne
fbb60d97a4
geonames in DictionarySpa and Ita
2014-06-18 11:57:59 +00:00
aarne
2fa70fdda5
added ConstructionIta
2014-06-18 09:57:17 +00:00
kr.angelov
c9dc7db3dd
a small change in the keyboard layout for Android to make it more user friendly
2014-06-18 09:51:44 +00:00
aarne
08e27cd56e
moved Names to Construction, to make the structure simpler ; use months and weeks as PN's as well
2014-06-18 09:27:57 +00:00
kr.angelov
447faf108e
filter out identical duplicated translations from the Android UI
2014-06-18 09:17:33 +00:00
aarne
97b0294208
typo in ConstructionFin giving a type error
2014-06-18 08:17:07 +00:00
kr.angelov
e5a4a005a5
complete set of names in DictionaryBul
2014-06-18 08:06:52 +00:00
aarne
ad519cd44a
coercions from special categories in Construction to N and PN
2014-06-18 06:29:34 +00:00
hallgren
99321ad0d3
gf.cabal: add a maintainer field
2014-06-17 20:55:13 +00:00
hallgren
24975e4935
Some updates to the GF 3.6 download page and release notes
2014-06-17 20:25:58 +00:00
aarne
324123215f
geonames in DictionaryFin
2014-06-17 20:22:42 +00:00
aarne
4b33f8044a
geonames in DictionaryFre
2014-06-17 19:40:41 +00:00
aarne
613594d732
moved lexical parts of Construction to Names, and added Language names there ; implemented for the six old Construction languages
2014-06-17 19:12:18 +00:00
kr.angelov
84a26357e2
DictionaryGer with named entities. In addition the dictionary is reformatted to make it more similar to Dictionary(Eng|Bul|Swe)
2014-06-17 19:04:59 +00:00
aarne
b6881e1521
ParadigmsFin.foreignPN, to deal with foreign names
2014-06-17 15:45:57 +00:00
normundsg
c389b71096
Redirecting grammaticalframework.org/framenet to remu.grammaticalframework.org/framenet
2014-06-17 15:24:45 +00:00
hallgren
bfac5faac1
Compute/ConcreteNew.hs: eliminate selections from wildcard tables
...
This patch also includes some commented out code that was used to search for
the source of code size explosions and an eta expansion bug.
2014-06-17 14:47:55 +00:00
hallgren
b78751d50a
doc/gf-developers.t2t: quick note on how to compile the C run-time system
...
Also a few other minor updates.
2014-06-17 14:17:59 +00:00
hallgren
45a719f1c3
build-binary-dist.sh: updated to include the C runtime system in binary tarballs
...
Also moved it to the bin directory.
Run it with 'bash bin/build-binary-dish.sh'.
2014-06-17 13:56:59 +00:00
hallgren
e783712fde
Setup.hs: System.Cmd is deprecated, import System.Process instead
2014-06-17 13:27:14 +00:00
hallgren
f2d60380c6
gf-cloud-api.html: fix a broken link
...
Thanks to Dana Dannells.
2014-06-17 08:45:13 +00:00
kr.angelov
b1b4337242
> 2000 names in DictionarySwe
2014-06-17 08:19:07 +00:00
kr.angelov
7d713d1687
now the named entities recognizer returns dictionary entries if the name is known
2014-06-17 06:57:12 +00:00
hallgren
bbeca32a43
src/runtime/c/setup.sh: executable version of INSTALL, used from debian/rules
2014-06-16 23:28:12 +00:00
hallgren
7cc07b755b
debian/rules: include the C run-time system when building .deb packages
2014-06-16 20:12:44 +00:00
aarne
dd567ba559
started checking Fre words in French frequency order
2014-06-16 20:32:05 +00:00
aarne
7df3031f7c
merged Inari's changes in DictionarySpa
2014-06-16 18:50:18 +00:00
inari
d7928f6980
TopDictionarySpa first 2153 words
2014-06-16 14:22:07 +00:00
aarne
7cf8a0039b
rest of missing top-3000 Swe single words
2014-06-16 17:42:53 +00:00
kr.angelov
5d9b08b418
about 1500 geonames in DictionaryBul
2014-06-16 15:58:55 +00:00
hallgren
767a0768fe
Merge Estonian v1.0.0-alpha from Kaarel Kaljurand
2014-06-16 13:58:04 +00:00
aarne
3eb6e99e33
lagom in DictionarySwe
2014-06-16 12:10:48 +00:00
inari
ca201960b1
TopDictionarySpa to shape_N
2014-06-16 10:01:48 +00:00
kr.angelov
21e855c91d
fixed memory leak in the Haskell binding to the C runtime
2014-06-16 08:49:13 +00:00
kr.angelov
bc01842f3c
fixed the translation of buttermilk in Bulgarian. Added ayran_N as a separate entry
2014-06-15 12:17:05 +00:00
aarne
42bb22df0c
updated demos/translation.t2t with link to app and explanation of colours
2014-06-15 14:12:55 +00:00
aarne
9b785463f0
changes updated in TopDictionaryFin
2014-06-15 14:04:48 +00:00
aarne
8c0592b399
some fixes in Fin and Swe
2014-06-15 13:49:48 +00:00
aarne
575478dcc1
DictionaryGer edits by Scharolta
2014-06-15 10:28:29 +00:00
aarne
09ce3affc7
checked top-2000 frequent Swedish words. Most missing ones added, but not all, e.g. proper names, abbreviations, and some with no English counterpart.
2014-06-15 09:51:39 +00:00
aarne
9f33463a22
added words from Swe frequency list up to "orka" which is nr 669
2014-06-14 15:01:17 +00:00
aarne
03e409efa6
more words checked in DictionarySwe
2014-06-14 09:56:55 +00:00
aarne
af8cd26a73
checked more in DictionaryFre
2014-06-14 09:25:39 +00:00
aarne
f010b4a572
checked more in DictionaryFin
2014-06-14 09:25:08 +00:00
aarne
fd2a8a2ccf
now 2100 words in DictionaryDut checked by EdG
2014-06-14 08:01:11 +00:00
inari
55882bacef
sense distinctions in check, fit, goal, miss, present, sign
2014-06-13 09:48:46 +00:00
hallgren
f739841497
PGF library: expose only PGF and PGF.Internal instead of all modules
...
PGF exports the public, stable API.
PGF.Internal exports additional things needed in the GF compiler & shell,
including the nonstardard version of Data.Binary.
2014-06-12 14:43:18 +00:00
aarne
7265c2f07d
DAP, Det with AP and its conjunction, in Eng and Scand ; not quite sure if this is possible in all languages
2014-06-12 13:55:39 +00:00
aarne
20f8f16201
in TranslateEng, use "this one" as variant of "this" (and other Dets) when used as NPs
2014-06-12 13:54:49 +00:00
hallgren
577d73abfb
New GF home page: trying blue page title and tagline instead of red
2014-06-12 12:29:35 +00:00
inari
38341cbc95
split share_V2 in Dict: 'divide' and 'have in common'
2014-06-12 09:51:52 +00:00
kr.angelov
b349e54917
swith off the debugging in the android ui
2014-06-12 09:37:40 +00:00
kr.angelov
18e8502009
now GF keywords can be used as identifiers if they are quoted
2014-06-12 09:36:32 +00:00
aarne
d71faa9ace
more things checked in DictionaryFre
2014-06-12 09:06:24 +00:00
aarne
5be99c7ffb
the gerund parameter in Terminology
2014-06-12 08:10:46 +00:00
aarne
c8b82e40a3
Dutch morphology and documentation table fixes
2014-06-12 08:00:49 +00:00
aarne
85e37dbec4
mkSeparateN in Fin for multiword "compounds"
2014-06-12 06:45:28 +00:00
aarne
f7acad2817
komen_V in IrredDut, from EdG
2014-06-12 06:44:31 +00:00
aarne
75b1fe98e2
EdG fixes in DictionaryDut up to position 1500
2014-06-11 19:08:44 +00:00
hallgren
033e42dbbd
new.html: a proposed new look for the GF home page
2014-06-11 13:32:31 +00:00
hallgren
8a5289c921
Updating the release notes and installation instructions for the next release
2014-06-10 22:12:48 +00:00
aarne
e11e5102b1
a couple of comments in swedish/Konstruktikon after the meeting at Bank of Swedish
2014-06-10 14:11:02 +00:00
hallgren
bc0249b501
PGF2.hsc: use throwIO instead of throw
...
From the documentation: the throwIO variant should be used in preference to
throw to raise an exception within the IO monad because it guarantees ordering
with respect to other IO operations, whereas throw does not.
Also removed some unused imports.
2014-06-10 12:42:01 +00:00
aarne
ba007eb2dd
path in AllDut now contains api to enable compilation from scratch; this is so for all languages with Documentation
2014-06-07 08:36:52 +00:00
aarne
0bbf7b4581
added Documentation to TranslateDut
2014-06-06 14:34:45 +00:00
aarne
600b660476
completed DocumentationDut
2014-06-06 14:30:25 +00:00
aarne
b3d06f419c
started DocumentationDut; not yet finished
2014-06-05 08:03:33 +00:00
aarne
1b0ef3db32
fixed good_A in DictionaryDut and Spa, to use the irregular inflection of Lexicon
2014-06-05 07:14:38 +00:00
kr.angelov
ee269e6839
fixes in DictionaryBul
2014-06-05 07:56:28 +00:00
kr.angelov
f8ee4ae105
fix self_N in Bul and Swe
2014-05-30 08:07:32 +00:00
aarne
bc8962e6d0
update TopDictionaryGer.gf
2014-05-29 12:18:11 +00:00
aarne
392187e749
Scharolta's DictionaryGer fixes
2014-05-29 12:06:44 +00:00
aarne
32ef765b0a
CompoundN in app.probs
2014-05-29 11:04:24 +00:00
aarne
0e554cf7df
changed CompoundCN to CompoundN with type N -> N -> N to reduce overgeneration and re-enable ambiguity
2014-05-29 11:01:40 +00:00
aarne
6275b9c46a
ca. 50 compound verbs in DictionaryGer from a patch by Scharolta Siencnik
2014-05-29 10:24:35 +00:00
aarne
6299ec3cac
several fixes in German RGL: compound verbs added; compound forms of nouns added; made dative -e optional; made mkV Str V recognize which prefixes are certainly not movable ones ((be,er,ge,ver,zer)
2014-05-29 10:21:49 +00:00
normundsg
d694e11346
FrameNet-GF API Doc
2014-05-29 11:45:09 +00:00
aarne
d03658efa8
initiated compoundV in German; has to be defined in RGL separately from prefix verbs
2014-05-27 11:46:44 +00:00
kr.angelov
7f88320782
now we compile context-free grammars directly to PGF without going via GF source code. This makes it quick and lightweight to compile big grammars such as the Berkley grammar
2014-05-24 07:47:06 +00:00
aarne
6e1bb5446d
removed spurious substantival possessives created from empty strings in NounFin in the presence of ProDrop
2014-05-23 14:10:36 +00:00
aarne
48d61ad7c2
DirectComplVS, DirectComplVQ, FocusObjS in translator/Extensions.gf, implemented for Eng,Ger,Swe so far
2014-05-23 13:17:22 +00:00
aarne
81c59721b2
new Prelude functions for optional commas
2014-05-23 13:16:57 +00:00
kr.angelov
f658ed7f9c
fixes in DictionaryBul
2014-05-23 11:21:33 +00:00
kr.angelov
78d8524138
bugfix in the Java binding. it was causing a crash in the Android app
2014-05-23 10:52:00 +00:00
aarne
4107c8d10c
the rest of DictionaryGer gender annotations in strings removed; some plurale tantum annotations {p} remain in ---- comments
2014-05-23 10:01:46 +00:00
aarne
bef94dd880
cleaned up DictionaryGer from empty strings, and explanations in brackets. Also from remaining gender information in curly brackets down to god_N
2014-05-23 07:40:17 +00:00
kr.angelov
2c04554be5
small fix in tabularLinearize
2014-05-22 13:33:18 +00:00
kr.angelov
c2aad9e313
added tabularLinearize in the python binding
2014-05-22 13:30:14 +00:00
inari
6d4b5fbbe3
added StressedPron
2014-05-22 08:27:44 +00:00
kr.angelov
2dfc6db44e
bugfix: the keyboard should not show completions when entering web passwords
2014-05-22 07:25:33 +00:00
kr.angelov
2528952d42
the dictionary view in the app now filters out duplicated morphological analyses
2014-05-22 07:10:28 +00:00
kr.angelov
9e0a1bff64
a few more gender distinction in German
2014-05-22 06:46:44 +00:00
aarne
518638a525
fixed the path in AppFin.gf so that it compiles in a more general setting
2014-05-22 06:23:57 +00:00
kr.angelov
9bfad84201
fix in DictionaryFre
2014-05-21 20:25:58 +00:00
kr.angelov
467272e6f9
remove first_A from the dictionaries
2014-05-21 20:24:26 +00:00
kr.angelov
22d701ed9d
recover the *Fem_N entries in DictionaryGer.gf that were lost during the last reimport from Wiktionary
2014-05-21 19:38:30 +00:00
kr.angelov
81a1cb93bc
fixed words in DictionaryBul.gf
2014-05-21 12:11:19 +00:00
kr.angelov
fd2406b139
another fix in DictionaryDut.gf
2014-05-21 12:10:58 +00:00
kr.angelov
d10d678d09
fix in DictionaryDut.gf
2014-05-21 09:56:51 +00:00
kr.angelov
2fbeae5e13
fixes in DictionarySpa.gf
2014-05-21 09:49:32 +00:00
kr.angelov
cccc048b94
forgot to fix the path for AppFre.gf
2014-05-21 09:36:12 +00:00
kr.angelov
b4acf84841
cleanup the duplicated entries in Dictionary(Eng).gf
2014-05-21 09:35:32 +00:00
aarne
78b4f43606
App compilation instructions: with parallel compilation, make Phrasebook separately
2014-05-21 08:19:34 +00:00
aarne
971ad62913
check dict: multiline changes
2014-05-21 08:17:42 +00:00
kr.angelov
cf7c3785ef
in verbosity mode the compiler warns about missing paths
2014-05-21 07:33:35 +00:00
aarne
50159d49e7
probabilities for App
2014-05-21 07:31:18 +00:00
kr.angelov
6a3a8a3a65
fix the path in the App grammar to the Phrasebook
2014-05-21 07:30:01 +00:00
kr.angelov
ee4e95643b
sense splits and fixes in DictionaryBul.gf
2014-05-20 22:53:20 +00:00
inari
73ebbe4492
fix weather_N in DictionaryDut
2014-05-19 13:39:40 +00:00
inari
a5ead5900d
Fixed pension_N in DictionaryDut
2014-05-19 13:19:42 +00:00
hallgren
861a3fa805
Compute/ConcreteNew.hs: adding a Prawitz rewrite
...
(table { p_i => t_i } ! x).l ==> table { p_i => t_i.l } ! x
This was used in the old partial evaluator and can significantly reduce term
sizes in some cases.
2014-05-16 21:27:20 +00:00
hallgren
f78570dabd
Fix an eta expansion bug in the grammar compiler
...
Eta expansion is applied between partial evaluation and PMCFG generation.
The buggy version generated type incorrect terms, but PMCFG generation
apparently worked anyway.
2014-05-16 14:10:07 +00:00
aarne
c2ef8a8cbf
some more words checked in DictionaryFin ; converted words whose senses need splitting into variants, so that Fin-Eng will work, and the split comment is of course retained.
2014-05-16 09:19:52 +00:00
aarne
b8557af449
the Masc function names in TopDictionary ; forgotten in the patch for Dictionary
2014-05-15 16:45:47 +00:00
hallgren
104fa03676
Simple Translator: fall back to word-for-word translation if the parser fails
...
Same as in the Wide Coverage demo app.
2014-05-15 13:58:42 +00:00
aarne
407152329c
the Masc suffixes put in place in Dictionary where needed
2014-05-15 07:56:39 +00:00
hallgren
33af15e803
Haskell binding: free memory pool to avoid space leak when readPGF fails
2014-05-13 14:07:36 +00:00
hallgren
108d546db8
translator/DictionarySwe.gf: add a few nouns and adverbs
2014-05-13 13:32:53 +00:00
aarne
28a23b0593
some updates in lib/doc/translation.html
2014-05-13 07:18:51 +00:00
aarne
0b6af26443
updated RGL status
2014-05-13 05:46:16 +00:00
hallgren
3c110cbe8d
gf -server: include list of loaded PGFs in version info
2014-05-12 13:45:36 +00:00
inari
ca0c203877
change example nouns in ParadigmsDut
2014-05-12 09:28:58 +00:00
inari
636851c23e
Fixed IndefArt in NounPes
2014-05-09 15:06:28 +00:00
hallgren
186e3effba
examples/phrasebook/Makefile2: add Chinese
...
Also remove arguments to raise the stack size, GF's built-in default is big
enough now.
2014-05-09 13:07:02 +00:00
aarne
a997d09b7e
updated library synopsis
2014-05-09 12:36:57 +00:00
aarne
1173f5db0a
link to dictionary statistics
2014-05-09 10:02:05 +00:00
aarne
9d5a4d83c2
bogus subcats commented out from all Dictionary files
2014-05-09 09:54:55 +00:00
aarne
52e5536bfe
removed bogus subcats from TopDictionary files, an commented them out in Dictionary and DictionaryEng
2014-05-09 09:16:18 +00:00
aarne
a057bb95b2
EdG changes in Dut merged in the main DictionaryDut
2014-05-09 08:26:06 +00:00
john.j.camilleri
3dceed1486
Add link to IRC logs
...
The logs are simply dumped there in raw form, but at least having a link
should make them Google-indexed. One day we'll put something there with
an interface.
2014-05-09 06:53:41 +00:00
kr.angelov
802a106b3e
fix the literals API in Java for strings with non-latin characters
2014-05-08 14:56:46 +00:00
hallgren
519f073af3
Wide Coverage Demo Web App: bug fix: swapping source and target works again
2014-05-08 14:18:03 +00:00
hallgren
fbe9bb69b1
Wide Coverage Demo Web App: bug fix: restore lost quality indications after switching target languages
2014-05-08 14:05:07 +00:00
inari
aeb0300bab
Erik's fixes in TopDictionaryDut
2014-05-08 13:57:32 +00:00
inari
70e044aa08
Corrected examples in ParadigmDut
2014-05-08 13:20:14 +00:00
hallgren
2a774e946b
PGF web api, command c-wordforword: re-enable parsing of individual words
...
The space leak in the Haskell binding to the C parser has been fixed.
2014-05-08 11:38:41 +00:00
kr.angelov
c2ae35cfb2
fix memory leak in the Haskell binding
2014-05-08 08:41:58 +00:00
hallgren
b7bd866237
Wide Coverage Demo App: show all Phrasebook translations
...
Also improve behaviour for languages that are missing in Phrasebook (Chinese).
Also update the initial set of languages in the menus to match Translate11.pgf.
2014-05-07 23:42:05 +00:00
hallgren
b3d92a1378
pgf-shell.hs: fix compilation problem with GHC 7.4
2014-05-07 17:06:34 +00:00
hallgren
7c88b7935f
Two improvements in the pgf-shell example
...
1. Like pgf-translate, it now shows one result at a time, press Enter to get
more results.
2. You can load a new grammar with the command 'i <path-to-pgf>'
2014-05-07 16:37:28 +00:00
hallgren
b7478a8252
translator/DictionarySwe: add panic_V
2014-05-07 13:01:26 +00:00
kr.angelov
f2140f7b24
fixes in the Bulgarian dictionary
2014-05-07 07:50:05 +00:00
kr.angelov
d0d55a8175
fix mkN011 in Bulgarian
2014-05-07 07:49:45 +00:00
aarne
f4ca89a416
removed some clashes from Dictionary ; corrected the probability of IdRP after elimination of that_RP
2014-05-06 21:43:51 +00:00
aarne
b0504d2c4a
improved paths and Makefile in examples/app ; see README how to compile with just 'make -j'
2014-05-06 21:42:49 +00:00
aarne
b6cbe2308b
eliminated dependency of PhrasebookChi from DictionaryChi ; added 'make forApp' to compile what is needed for Phrasebook in App
2014-05-06 20:09:21 +00:00
kr.angelov
ee30bdc701
fixes in the dictionaries
2014-05-06 11:44:32 +00:00
aarne
a874e0b68b
tried to make check annotations systematic in Spa and Swe
2014-05-06 07:34:10 +00:00
aarne
3184a038f6
script to count statistics of implemented and checked words in Dictionary; relies on annotations as comments
2014-05-06 07:33:18 +00:00
aarne
39edc9c416
DictionaryGer now with 22k lemmas, after a new extraction from Wiktionary
2014-05-05 21:46:20 +00:00
aarne
6cee0c1b59
German Dict and Paradigms: added a case to mkN and removed bogus "e" plurals
2014-05-05 20:36:44 +00:00
aarne
284a61426e
checked some more words in DictionaryGer
2014-05-05 13:43:08 +00:00
aarne
b5a1c49c41
more complex verb paradigms for German
2014-05-05 13:42:43 +00:00
kr.angelov
2dcc4c27e3
~3500 more nouns in DictionaryBul
2014-05-05 13:26:18 +00:00
aarne
bd4728b313
some more words and phrases in PhrasebookChi ; native speaker check should be done soon
2014-05-03 15:57:21 +00:00
kr.angelov
500a874fd2
~1700 new nouns in DictionaryBul. A few words in the English dictionary are merged.
2014-05-03 11:55:00 +00:00
inari
bd3c31fcf6
clearing up some senses in senses-in-Dictionary.txt
2014-05-02 07:51:03 +00:00
aarne
c7ed88363d
added some missing variants to DictionaryChi ; marked with ---- since not checked
2014-04-30 15:59:45 +00:00
hallgren
0fe6a11773
Wide Coverage Web Demo: fix bug introduced in previous patch
...
Word-for-word translations were shown in the wrong language after switching
traget language.
2014-04-29 19:09:24 +00:00
aarne
675b85f7e7
inflection of heta_V
2014-04-29 17:29:00 +00:00
inari
63a69815aa
Merge til, till and until in Dictionary
2014-04-29 17:12:42 +00:00
aarne
3362818af2
shall_VV and should_VV in all Dictionary modules, to avoid a common failure ; should be probably in Constructions
2014-04-29 17:10:58 +00:00
aarne
e777c4a551
added auxVV to ParadigmsDut
2014-04-29 17:00:27 +00:00
hallgren
8b4e13ea84
Wide Coverage Demo App: translate to all available target langauges at once
...
This means that the new translation is available instantly when switching
target languages. It can also reduce space leaks problems in the server
somewhat by avoiding repeated parsing of the source text.
2014-04-29 16:01:57 +00:00
hallgren
d37c25990e
PGF web api, command c-wordforword: don't repeat parsing/morpho analysis for each target language
...
Also omit attemts to parse individual words for now, to avoid space leaks in
the Haskell binding to the C parser.
2014-04-29 15:51:46 +00:00
aarne
5656b9acd3
DictionarySwe checked up to 2000
2014-04-28 16:30:39 +00:00
aarne
ce7339b1f3
Inari's Spa changes merged in big DictionarySpa
2014-04-28 16:02:25 +00:00
aarne
29a7e7b541
variants dra/draga and ta/taga in IrregSwe
2014-04-28 16:01:49 +00:00
hallgren
05c70fdc41
Spring cleaning
...
Nothing major...
2014-04-28 13:56:20 +00:00
inari
c42ab42873
First 1300 words in TopDictionarySpa
2014-04-28 12:44:18 +00:00
hallgren
7bd028919e
Simple Translator: remove extra space before punctuation
2014-04-28 12:07:41 +00:00
aarne
92aa1230e2
resolved a conflict in DictionaryFin
2014-04-26 18:24:37 +00:00
kr.angelov
5b32607756
about 4000 new words in DictionaryBul and small fixes in the other dictionaries
2014-04-25 21:17:09 +00:00
aarne
7f2498d261
updated DictionarySpa with Inari's latest updates
2014-04-25 20:34:15 +00:00
inari
37fd704060
first 990 words in TopDictionarySpa
2014-04-25 17:15:06 +00:00
inari
80f3146ed5
fix watch_*_V2 and stage_N in DictionaryFin and TopDictionaryFin
2014-04-25 11:38:41 +00:00
aarne
3f2c98cb26
added information on TopDictionary to translator/stept.t2t
2014-04-25 12:51:56 +00:00
inari
5a1689f4fe
First ~550 words in TopDictionarySpa
2014-04-25 08:57:58 +00:00
kr.angelov
b21f2c04e1
an initial Java/C API for predicting literals. Still not utilized
2014-04-25 08:53:18 +00:00
kr.angelov
9fa07c41b5
remove dead code to avoid warnings
2014-04-24 19:21:00 +00:00
kr.angelov
89db1ba6c2
make the input box in the conversation view self-adjustable when entering longer text
2014-04-24 19:18:28 +00:00
kr.angelov
1aab6f57ce
a better solution for restoring the state of the main activity when the device is flipped. This one doesn't require hacks.
2014-04-24 18:50:20 +00:00
hallgren
54a77ee7d9
Simple Translator: remove punctuation before wide coverage translation
...
This gives better translations with Translate11.pgf and is how the Wide
Coverage Demo App works.
2014-04-24 11:28:15 +00:00
inari
0b801b71d2
First ~1500 words in TopDictionaryFin
2014-04-24 08:05:17 +00:00
inari
0c0b11f9ee
First 1500ish words of TopDictionaryFin checked
2014-04-24 08:00:17 +00:00
kr.angelov
438a5470e2
a small fix to avoid showing * in some translations
2014-04-24 08:03:29 +00:00
kr.angelov
3362850fa9
show the alternative translations in color
2014-04-24 08:00:52 +00:00
kr.angelov
80e249105f
show the probabilities for the alternative translations
2014-04-24 07:44:47 +00:00
kr.angelov
e28cb48e51
bugfix in the word completion in the input method
2014-04-24 07:27:34 +00:00
aarne
780382a389
merged the edits
2014-04-24 07:23:40 +00:00
aarne
bba6395811
updated app.html with new links
2014-04-24 07:15:48 +00:00
aarne
b3201c9a7a
updated app help
2014-04-24 07:14:40 +00:00
kr.angelov
e5553eeaae
fix typo in the help file
2014-04-24 07:08:06 +00:00
aarne
cb73337bc0
improvements of DictionaryDut by Erik de Graaf
2014-04-24 06:50:29 +00:00
aarne
a460747b73
Dictionary edits by Inari and others
2014-04-24 06:18:48 +00:00
kr.angelov
5d3a843d4b
finally: the conversation view is now no longer cleared up everytime when the device is flipped
2014-04-23 20:27:46 +00:00
inari
d9b56460db
Fix call_V* and on_Adv in DictionarySpa
2014-04-23 11:00:21 +00:00
inari
a682ea0a29
500 words in TopDictionaryFin
2014-04-23 10:58:27 +00:00
aarne
2a5ed29a30
improved possessive ProDrop in Fin RGL and translate so that it no more returns metavariables in parsing
2014-04-22 19:50:45 +00:00
aarne
4b74c79c27
updated app.html with images and a link where a real app can now be found
2014-04-22 17:18:50 +00:00
aarne
b1ca00dc5f
some edits in app help ; special lexer for Fre,Ita commented out as it is no longer needed
2014-04-22 16:00:54 +00:00
aarne
96c91999c8
restored BIND in Fre and Ita now that they work in C runtime
2014-04-22 15:41:12 +00:00
hallgren
f7a64de783
Some work on the download page and release notes for the next release of GF
...
Please add things you think are imporant to mention to the release notes!
2014-04-22 14:45:37 +00:00
hallgren
9135f93e51
gf.cabal: require base>=4.3
...
This makes it explicit that we no longer support compiling GF with GHC 6.12
(which is 4 years old and comes with base-4.2).
2014-04-22 14:38:33 +00:00
kr.angelov
68c8d3cba8
bugfix in the handling of BIND in the C runtime
2014-04-22 13:53:18 +00:00
hallgren
1a1ca2f618
gf.cabal: add GF builtin default -K64M. Enable parallel compile with ghc>=7.8
...
+ Programs compiled with ghc<7.8 have a default built-in 8M stack size limit.
With ghc>7.0 this built-in default can be changed, so it is now 64M, allowing
GF to work with larger grammars without manually increasing the stack size.
(But if GF is compiled with ghc 6.12, the built-in default is still 8M.)
+ Enable ghc>=7.8 support for compiling modules in parallel, to speed up the
compilation of GF.
2014-04-22 12:43:24 +00:00
kr.angelov
0b29b041b3
fix in the renaming
2014-04-22 11:55:22 +00:00
kr.angelov
e054e8e087
rename DGTranslator to Human Language Compiler. Added a new logo
2014-04-22 11:53:16 +00:00
aarne
3abe28319c
a copy of app help file as demos/app.html
2014-04-21 08:45:32 +00:00
aarne
8a5ee1f072
some edits in app help
2014-04-21 08:40:38 +00:00
aarne
1eb590fc83
feminine pronouns in translation Dictionary ; to check in Bul and Hin
2014-04-21 08:21:21 +00:00
aarne
371265b756
corrected the inflection of potere_V in Ita
2014-04-21 07:51:36 +00:00
aarne
4ee1c27747
ExtraFre.ce_Pron added
2014-04-21 07:26:12 +00:00
aarne
90161e6fec
rewrote SentenseChi.AdvSlash to prevent looping with unknown tokens ; the rule is right, but the cause of looping should be found
2014-04-20 07:41:57 +00:00
inari
0786fc84b7
~100 words of TopDictFin
2014-04-17 15:59:21 +00:00
hallgren
3fd6dc90f9
Wide Coverage Demo web app: more client side caching
...
For example, you can now reorder paragraphs by cut & paste, without causing
anything to be sent to the server for re-translation.
Also some color & layout tweaks.
2014-04-17 13:48:00 +00:00
hallgren
0c04bdb4b9
translator/DictionarySwe.gf: fix learn_V
...
Copied from LexiconSwe.gf.
Also a small fix in lib/src/Makefile.
2014-04-17 13:15:23 +00:00
kr.angelov
d8e5206e7f
now word completion from Java works. It could be made better
2014-04-17 11:00:27 +00:00
hallgren
d2f48f8156
Wide Coverage Demo App: show a word-for-word translation if all else fails
2014-04-16 15:37:09 +00:00
hallgren
5c79b1d8bd
PGF web API: adding the command c-wordforword
...
It has the same parameters and result format as c-translate, but it does
the translation word for word. (To be used as a last resort).
2014-04-16 15:24:23 +00:00
aarne
5fe4536925
edits in App help ; name suggestion "Language Compiler" ; sepApo(), a quick fix to French and Italian elision in the App
2014-04-15 22:02:06 +00:00
aarne
7527edf2d5
disabled binding of elision in Ita and Fre, temporarily, to make more inputs parsable
2014-04-15 21:26:58 +00:00
aarne
8873582fde
removed clash in AppFin imports
2014-04-15 21:26:33 +00:00
aarne
1d06b85321
added some missing DictionaryIta entries, however without checking all intermediate entries
2014-04-15 20:13:24 +00:00
aarne
4088b36fdb
added missing words up to BNC 3000 in DictionarySwe ; not all intervening words checked however
2014-04-15 19:38:51 +00:00
aarne
651449a87d
fixes in DictionaryFin - mainly missing lin's up to BNC 2000
2014-04-15 16:40:18 +00:00
hallgren
210f28ca4b
PGF web API: add commands lookupmorpho and c-lookupmorpho
2014-04-15 14:50:38 +00:00
inari
ede6ba462c
Fix ExistIP in IdiomCat + more smart paradigms for verbs in ParadigmsCat
2014-04-13 10:59:07 +00:00
aarne
0c8538aed7
carried over the Swe corrections to TopDictionarySwe to keep it in sync
2014-04-13 16:55:44 +00:00
aarne
926ce1d9c1
corrected 200+ incorrect verb inflections in DictionarySwe ; there may be more
2014-04-13 16:52:06 +00:00
aarne
677c5cdac9
CompoundAP in translator/Extensions, e.g. language(-)independent. Implemented for all but Bul,Hin
2014-04-13 10:37:58 +00:00
aarne
df7e50b5fb
DictionarySwe now checked up to 1800
2014-04-13 09:43:53 +00:00
aarne
677c97a958
enabled VPI_Chunk in Dut ; a couple of Dictionary fixes
2014-04-12 07:08:52 +00:00
hallgren
93d14368b2
gftranslate.js: switch to Translate11.pgf
2014-04-11 20:08:12 +00:00
aarne
a45d9408fc
Dut added to android Translator.java
2014-04-11 19:47:50 +00:00
aarne
450e4e5959
App11.pgf in Makefile
2014-04-11 18:56:59 +00:00
aarne
faad066354
corrected the position of agent in Romance passives
2014-04-11 18:55:24 +00:00
aarne
8159966dc5
checked beginnings of DictionaryIta (350) and DictionarySpa (around 100, not an expert)
2014-04-11 18:35:02 +00:00
hallgren
43319eb0b7
Wide Coverage Demo App (gftranslate.js): use a special lexer for Chinese.
2014-04-11 18:39:12 +00:00
aarne
98304d0553
do_V in Spa and Ita
2014-04-11 16:13:52 +00:00
aarne
971f450c6d
big DictionaryDut from Wiktionary - very noisy for common words, but works
2014-04-11 16:04:32 +00:00
hallgren
9f3235c29f
Simple Translator: use colors to indicate translation quality
2014-04-11 15:00:15 +00:00
aarne
d6d4933647
experimental AppDut added
2014-04-11 07:49:34 +00:00
kr.angelov
1e177ed6a9
named entities in the Android App
2014-04-11 12:56:31 +00:00
hallgren
77586aa080
Simple Translator: Use PGF API for (un)lexing instead of separate server calls
...
Also,
+ Get up to 10 (instead of 5) alternative robust translations.
+ Remove duplicates from list of alternative robust translations
+ Add GF Cloud logo to the simple translator page
2014-04-11 12:10:05 +00:00
kr.angelov
c2d79790a3
forgoten Completer.java
2014-04-11 07:52:10 +00:00
kr.angelov
a28d0d246f
expose Java API for word completion
2014-04-11 07:50:22 +00:00
aarne
7363598913
added an experimental version of TranslateDut, and documentation steps.t2t on how it was built
2014-04-11 07:48:26 +00:00
kr.angelov
ea40bc151b
change the JVM version to 1.6 in JNI_OnLoad
2014-04-11 07:15:27 +00:00
aarne
63b570ad30
bunch of corrections in DictionarySwe,Ger,Fre
2014-04-10 21:40:14 +00:00
aarne
a77a885f42
expelled "viktigpetter" from DictionarySwe as the translation of know_N
2014-04-10 19:51:40 +00:00
aarne
333a9d3710
DictionarySwe checked to BNF-1500, plus a number of missing Prep's
2014-04-10 19:48:14 +00:00
inari
e9a9418753
Fixes in Catalan which_IQuant; added 2- and 3-arg smart paradigms for verbs + made 1-arg smart paradigm better
2014-04-10 18:12:36 +00:00
inari
73f1ab6e36
Add InvQuestCl in ExtraSpa; fix convertir in LexiconSpa; add phonetic changes to feminine article in PhonoSpa
2014-04-10 13:41:53 +00:00
aarne
f0f56eeed6
modified the Dict check advice as for style of comments
2014-04-10 17:13:29 +00:00
aarne
e7452a19b4
more words checked in DictionaryFre
2014-04-10 17:11:50 +00:00
kr.angelov
77c545fa4f
bugfix in the Java binding
2014-04-10 16:43:40 +00:00
hallgren
923107506f
PGF web service: disable caching of parse results
...
Caching parse results uses a lot of memory, even if they expire after
2 minutes, so it won't scale up to many simultaneous users.
But some excessive memory use seems to be caused by space leaks in
(the Haskell binding to) the C run-time system, and these should be fixed.
For example, flushing the PGF cache does not release the memory allocated
by the C run-time system when loading a PGF file.
2014-04-10 15:55:33 +00:00
hallgren
62903443f0
Wide Coverage Demo App: it now works ok without server caching of parse results
2014-04-10 15:50:34 +00:00
kr.angelov
a9ebeaea44
now fully functional Java API for custom literals
2014-04-10 14:14:31 +00:00
kr.angelov
3a0aa8b997
bugfix in the C runtime
2014-04-10 07:42:49 +00:00
aarne
0525c7837a
improved generation of BNC dictionaries ; now called TopDictionary for clarity
2014-04-10 13:07:05 +00:00
aarne
7eb4097681
added a list of split word senses and their explanations generated from Dictionary.gf
2014-04-10 11:58:22 +00:00
aarne
7a8706aa7e
removed but_Subj from Dictionary: but is never a subjunction, and treating it so causes word order errors in many languages
2014-04-10 11:53:11 +00:00
kr.angelov
66d60ce9d1
a quick hack to enable the NERC from bindings. This should be made available from the API but for now I just hacked the C runtime
2014-04-10 07:27:07 +00:00
aarne
4b34c51e4c
more automatic creation of files in CheckDict ; words for translation in DictionaryFre
2014-04-10 07:06:57 +00:00
hallgren
37c473a559
Wide Coverage Demo App: new buttons: to switch colors on/off & to try Google Translate
2014-04-09 20:51:31 +00:00
hallgren
739dc3f29d
localstorage.js: bug fix
...
If you stored "false" and tried to retrieve it with a default value, you got
the default value instead of "false".
2014-04-09 20:49:53 +00:00
hallgren
17cf501d4c
Wide Coverage Demo App: use PGF service lexing/unlexing
...
It is now enough to make one server call per translation, and the results can
cached by the browser.
2014-04-09 19:49:45 +00:00
hallgren
43e61a1e3b
PGF web service: add unlexers and enable client side caching
...
Most PGF web API commands that produce linearizations now accept an
unlexer parameter. Possible values are "text", "code" and "mixed".
The web service now include Date and Last-Modified headers in the HTTP,
responses. This means that browsers can treat responses as static content and
cache them, so it becomes less critical to cache parse results in the server.
Also did some cleanup in PGFService.hs, e.g. removed a couple of functions
that can now be imported from PGF.Lexing instead.
2014-04-09 17:51:25 +00:00
hallgren
f2cc1d2c68
Change the type of PGF.Lexing.bindTok to [String] -> [String]
...
The old type was [String] -> String. This function was only used
in GF.Text.Lexing.stringOp, which now uses (unwords . bindTok) instead,
with no change in behaviour.
2014-04-09 17:39:21 +00:00
hallgren
0d1ad2f0e5
Unlexers: move capitalization of first word from GF.Text.Lexing to PGF.Lexing
...
The capitalization of the first word was done in GF.Text.Lexing.stringOp,
but is now done in the functions unlexText and unlexMixed in PGF.Lexing.
These functions are only used in stringOp and in PGFService (where the change
is needed), so the subtle change in behaviour should not cause any bugs.
2014-04-09 17:26:23 +00:00
aarne
1397bb4528
restored passives in Extensions for Bul,Fre,Ita,Spa ; PassAgentVPSlash in ExtraBul to be verified
2014-04-09 16:16:32 +00:00
hallgren
1602eab5b6
PGF Service: a bit more clever lexer=text
...
Only change the first word to lowercase if the original input is not found in
the grammar's morphology. This allows parsing of sentenses starting with "I" in
English, nouns in German and proper names in other languages, but it can make
the wrong choice for multi-words.
2014-04-09 14:13:18 +00:00
hallgren
02b57c3f79
Wide Coverage Demo App updates
...
+ Add Clear button.
+ Use localstorage to remember entered text between visits.
+ Add a link to it on the GF cloud service start page.
2014-04-09 13:59:35 +00:00
aarne
6c7f1245ce
more passives in App. Import changes are now produced with MkApp.hs, which copies the exclude list from App.gf to the concrete syntax files.
2014-04-09 14:01:06 +00:00
aarne
6d6d641b73
more explicit inheritance list for Extensions in Translate
2014-04-09 13:06:14 +00:00
aarne
d1cddd04aa
rewrote App so that it just inherits Translate and excludes some functions. This minimizes the duplication of code between Translate and App. Also added some functions, which make App 15% slower but increase the coverage and quality. This trade-off has to be studied further.
2014-04-09 13:04:19 +00:00
aarne
6fc7271950
adjusted the contents of Translate.gf: (1) inherit everything in Idiom since it is useful and cheap ; (2) inherit ComplVV and SlashV2V from Verb rather than Extensions, since it is more efficient and already available for all languages. Actually the previous version didn't have these functions at all, which affected the quality quite a bit.
2014-04-09 09:40:43 +00:00
aarne
edcb328b70
revised TopDict Ger,Ita,Spa with the new Dictionary improvements
2014-04-08 21:18:39 +00:00
hallgren
5d4b849b14
Fix build problem in PGFService.hs when configured without c-runtime
2014-04-08 20:45:54 +00:00
aarne
2ca8024ba4
smart paradigm for refl verbs ending "se" in Spa
2014-04-08 20:28:27 +00:00
aarne
70dddec7e1
further clean-up in DictionaryIta and Spa
2014-04-08 20:21:37 +00:00
aarne
d7e25e7bdd
DictionarySpa and Ita: retrieved a few thousand unpredictable noun genders from Wiktionary
2014-04-08 19:44:18 +00:00
hallgren
0341fd035f
PGF web service: add lexer support
...
The PGF web API commands parse, translate, translategroup, c-parse and
c-translate now support a lexer parameter. Possible values are "text",
"code" and "mixed".
This is used in the Wide Coverage Demo App to save one server roundtrip.
2014-04-08 16:10:33 +00:00
aarne
8c3d91f405
small fixes in App grammar - don't affect performance
2014-04-08 16:14:05 +00:00
aarne
8fc7cc5541
some words in DictionaryGer
2014-04-08 16:13:46 +00:00
aarne
0d564c15ff
smartened Paradigms in Ita and Spa to recognize some more nouns as feminine
2014-04-08 15:37:43 +00:00
aarne
72b6d8da9c
checked 600 entries in DictionaryFre ; CheckDict.hs, functions for dictionary checking
2014-04-08 15:12:34 +00:00
hallgren
cf34ee8890
Move basic lexing functions from GF.Text.Lexing to the new module PGF.Lexing
...
They are thus part of the PGF Run-Time Library, making it possible to add
lexing functionality in PGF service in a natural way.
2014-04-08 14:07:49 +00:00
hallgren
4f2bd4aa5f
Wide Coverage Demo App: remove quality markers ("+" or "*") before unlexing
...
Otherwise the first word won't be capitalized.
2014-04-08 13:46:57 +00:00
kr.angelov
be62b047f4
added preliminary API for custom literals from Java. Not functional yet
2014-04-08 13:54:49 +00:00
aarne
2198d18d3a
TopDictFre checked to 500
2014-04-08 12:53:03 +00:00
kr.angelov
52377b46cf
bugfix in the C runtime that shows up with only some grammars
2014-04-08 12:41:41 +00:00
hallgren
581a0336a5
Wide Coverage Demo App: restore swap button
2014-04-08 11:32:54 +00:00
aarne
feb4ff5dd1
plural of stad in Dut
2014-04-08 09:19:50 +00:00
aarne
04f9a50da0
some new ParadigmsFre and DictionarySwe
2014-04-07 20:23:11 +00:00
aarne
02a0372b41
checked 300+ words in TopDictFre ; not yet merged in DictionaryFre
2014-04-07 20:22:42 +00:00
hallgren
9f3e9d8626
demos/translation.t2t: more space for the demo app
2014-04-07 13:01:00 +00:00
hallgren
620f30d187
Wide Coverage Demo Web App: add segmentation
...
Click on sentences to choose among alternative translations.
2014-04-07 12:51:13 +00:00
kr.angelov
baef6eee90
Expr and ExprProb are now serializable objects
2014-04-07 12:52:51 +00:00
kr.angelov
e4555d2dce
fix in the keyboard
2014-04-07 12:42:02 +00:00
kr.angelov
dc476cce50
added alternative_item.xml
2014-04-07 12:41:23 +00:00
aarne
2825f9e420
VPI chunks linearized ; nouns with ión in Spanish and zione in Italian marked as feminine
2014-04-07 12:02:52 +00:00
kr.angelov
1671383e1c
another fix in DictionaryBul
2014-04-07 09:53:31 +00:00
kr.angelov
024321b520
fixes in DictionaryBul
2014-04-07 09:52:12 +00:00
kr.angelov
78e7f0e87d
a bit more text in the help
2014-04-07 09:43:20 +00:00
kr.angelov
e8303dc761
show alternative translations on Android
2014-04-07 09:14:14 +00:00
aarne
0df4d4bef6
restored passives in Translate, generalized IdRP in Eng
2014-04-07 07:57:55 +00:00
hallgren
72c4527767
Wide coverage demo app: show an error message even if the error string is empty
2014-04-06 23:44:31 +00:00
hallgren
ceb6de1561
Wide coverage demo app: show an error message if linearization fails
2014-04-06 23:13:18 +00:00
aarne
b7973f2f5d
restored the initial segment of TopDictSwe
2014-04-06 20:19:46 +00:00
hallgren
0721769935
gftranslate.js: use Translate10.pgf
2014-04-06 19:59:04 +00:00
aarne
79fe3f2b49
swede in DictionaryEng ; CompoundCN probability in translate.probs tweaked to avoid too aggressive compounding
2014-04-06 19:45:35 +00:00
aarne
37c3afa9b4
added "todo" dictionaries
2014-04-06 19:19:51 +00:00
aarne
82a333c602
normalized Dictionary Fin,Chin,Hin,Fre to a format easier to process automatically; other Dictionary files were already in this format: each rule prefixed by "lin", sorted, checked parts uncommented, unchecked or problematic parts commented, one rule per line
2014-04-06 16:26:16 +00:00
hallgren
5d36c4734d
Fixes for compiling Translate10.pgf
2014-04-04 19:04:16 +00:00
hallgren
3fa7b3e04b
149 new words in DictinarySwe.gf (mostly geographical names)
2014-04-04 19:02:42 +00:00
aarne
0aff5f4aa4
type error in finnish revealed
2014-04-04 17:01:06 +00:00
aarne
0577ec19a4
fixed type errors in finnish revealed by improved type checker
2014-04-04 16:38:36 +00:00
hallgren
0ae79efdbf
TypeCheck.RConcrete: contravariance in table types
2014-04-04 16:50:12 +00:00
aarne
c4a45f687f
translate10 do the right thing
2014-04-04 14:45:50 +00:00
aarne
3f24bd302a
path in AppFin
2014-04-04 14:32:36 +00:00
aarne
81f76ba658
Make for Translate10
2014-04-04 14:32:05 +00:00
aarne
316e473a1e
added Spa and Ita to translator/ ; omitted some Extensions functions to double the parsing speed
2014-04-04 14:13:11 +00:00
aarne
ab3244fbe5
polarities restored in Hin translation
2014-04-04 12:05:20 +00:00
hallgren
15f0edae32
Removed imports of TypeCheck.Concrete, fixed problems in TypeCheck.RConcrete
...
+ The current type checker for concrete syntax is in
GF.Compile.TypeCheck.RConcrete, but GF.Compile.TypeCheck.Concrete was
still imported in GFI.
+ Fixed a bug that allowed Ints n as a subtype of Ints m, regardless of
m and n. It now requires n<=m. Note: the type checker still allows Int
as a subtype of Ints m, regardless of m.
+ Fixed a potential efficiency problem with large record types, by reducing
the number of recursive calls from |R|*|S| to |R| when checking if R<=S.
+ Fixed a misleading comment: "alpha g t u" checks that u is a subtype of t,
the other way around. Similarly, "checkIfEqLType gr g t u trm" checks that
u is a subtype of t, not the other way around, and not that t is equal to u.
2014-04-04 13:51:07 +00:00
hallgren
703f61313c
Wide Coverage Translation Web App: redesigned user interface
...
The layout now resembles a certain other online translation service.
The translation is started automatically after text is entered, no need to
press the Translate button.
2014-04-04 12:52:41 +00:00
hallgren
8677d799c8
gftranslate.js: increase length limit from 200 to 500 encoded bytes
2014-04-04 12:39:36 +00:00
hallgren
6f513bce44
Simple Translator: show more alternatives when using GF robust translation
...
The maximum number of alternatives shown has been increased from 2 to 5
although it can slow down translation.
2014-04-04 12:35:20 +00:00
hallgren
e365329716
Slightly more informative error messages in translation web apps
2014-04-04 12:33:31 +00:00
hallgren
57ebfa4416
PGFService.hs: adapt to changes in the Haskell binding to the C run-time system
...
Parse errors used to cause crashes, but they are now handled and reported.
2014-04-04 12:28:00 +00:00
kr.angelov
268e7a697f
fix the haskell binding to handle parse errors
2014-04-04 11:46:40 +00:00
aarne
06fb9eff08
AdvS added to app
2014-04-04 07:30:06 +00:00
aarne
b5500723c4
the word for time in some Dictionaries
2014-04-04 07:29:42 +00:00
aarne
1b6f58c592
text in app help
2014-04-04 07:28:55 +00:00
kr.angelov
9f0ee95fd6
now the output from the speech recognizer is editable with the keyboard
2014-04-04 09:04:00 +00:00
kr.angelov
232b4518ed
add activity_help.xml
2014-04-04 07:51:05 +00:00
kr.angelov
02c39118a9
add the forgoten HelpActivity.java
2014-04-04 07:48:50 +00:00
kr.angelov
793acdf171
add touch feedback to the two buttons in the app
2014-04-03 20:30:23 +00:00
kr.angelov
184c0ed29f
added help view in the android app. The help itself is not very useful right now
2014-04-03 14:22:44 +00:00
kr.angelov
51dbaa0c7e
GFTranslator to DGTranslator in a few more places
2014-04-03 14:06:26 +00:00
kr.angelov
95291eec92
remove the old android icon
2014-04-03 14:02:50 +00:00
kr.angelov
6edcfbe9d0
change the project name to DGTranslator
2014-04-03 13:48:08 +00:00
kr.angelov
19f7fd998b
a new icon and a new name for the DG Translator
2014-04-03 13:44:14 +00:00
aarne
e45038b73e
added AdvVP and AdVVP to App
2014-04-03 07:25:57 +00:00
kr.angelov
f4cd152e6f
bugfix in the keyboard translation
2014-04-03 06:14:15 +00:00
aarne
b84bd78ab9
Android app sources in examples/app - read README for advice
2014-04-02 21:34:40 +00:00
aarne
2ae1392cc1
Chunking and other robust translation facilities in plain RGL
2014-04-02 21:16:03 +00:00
kr.angelov
d94c7632d4
fix in the keyboard XMLs
2014-04-02 20:05:16 +00:00
aarne
8fc7add8a8
experimenting with exclusion of some functions to gain speed in Translate
2014-04-02 14:04:48 +00:00
aarne
086085b9a3
chunks for ordinary RGL, defined with a functor
2014-04-02 13:19:34 +00:00
aarne
99c31f406b
Dictionary updates in Ger,Swe
2014-04-02 09:58:25 +00:00
aarne
2f06675db1
corrected some prepositions in DictionaryGer
2014-04-02 07:48:18 +00:00
kr.angelov
d110df7a1f
initial binding to Prolog for the C runtime
2014-04-02 10:03:19 +00:00
aarne
c328a7fd4a
next 320 BNC words checked in Swe
2014-04-01 17:23:17 +00:00
aarne
b9b7ed9ccc
use chunking before morpho lookup in backup parsing ; show results with unknown linearizations in darkest red
2014-04-01 16:24:35 +00:00
hallgren
5d7c894380
translator/DictionarySwe.gf: fix for tasty_A, mkA "god" "gott"
2014-04-01 14:38:16 +00:00
aarne
cdd7adef64
split the two senses of can_VV in Dictionary, as they are split in Structural
2014-04-01 13:57:42 +00:00
aarne
fb202420dd
changed the definition of MassNP in Romance so that subject position doesn't return the partitive but the definite article. Thus "wine is good" becomes "le vin est bon" and "I drink wine" becomes "je bois du vin". Partitive on subject position seems incorrect, and the definite article the best choice when translating mass terms without articles on the subject position.
2014-04-01 13:03:35 +00:00
hallgren
d262bb0e48
Bug fix for pattern macros in pre{}
...
This bug was introduced sometime between 2013-08-21 and 2013-11-01 and caused
the function convertTerm in GF.Compile.GeneratePMCFG to encounter a EPatt where
it expected Strs. I fixed it by applying the function getPatts (from the old
partial evaluator) to the pattern.
2014-04-01 10:54:41 +00:00
aarne
0ce50f02b6
vice president and some other words
2014-03-31 19:46:05 +00:00
aarne
75b7e6105d
Hin and Bul keyboards in app restored
2014-03-31 19:45:41 +00:00
hallgren
713012001c
Wide coverage demo web app: green translations from Phrasebook.pgf
...
The demo web app now show translations from Phrasebook.pgf in green before
translations from Translate8.pgf, which can be yellow or red.
2014-03-31 15:28:14 +00:00
aarne
8a2ee67ad5
room_N in DictionaryChi
2014-03-31 14:30:31 +00:00
aarne
57c44d2af5
comment on possible bug in PredFin
2014-03-31 12:27:47 +00:00
aarne
c77b137c14
instructions for generating lexicon spreadsheets
2014-03-31 07:13:02 +00:00
aarne
154a65cc3e
checked top-1000 BNC senses in Swe, with some split senses added to Dictionary and DictionaryEng. Wrote bnc-dict-log.txt to describe the procedure, which should be reproducible to other languages now.
2014-03-30 16:28:40 +00:00
aarne
e96d222c41
the top 7828 words in British National Corpus expanded to Dictionary fun's, in frequency order. A natural checklist for every Dictionary.
2014-03-30 09:28:54 +00:00
aarne
a28fd18ee2
added ca. 200 new Dictionary fun's from BNC top-6000 list. Seems to be much better quality than Google 1-grams.
2014-03-30 09:25:29 +00:00
aarne
649924352a
checked the top-1000 words of Google 1-grams in DictionarySwe, splitting senses of 70 words and adding the split senses to abstract Dictionary and DictionaryEng
2014-03-29 20:15:41 +00:00
aarne
b5f4e308a3
around 1000 new abstract functions in Dictionary and DictionaryEng extracted from the top-10000 Google unigrams. Forthcoming in Swe and other languages soon.
2014-03-29 17:39:46 +00:00
aarne
0869181af9
paradigm for us_britishV variants
2014-03-29 17:38:48 +00:00
aarne
19881e6768
corrected the inflections of the verbs söka and behöva in DictionarySwe
2014-03-29 13:44:51 +00:00
inari
cd5631058e
Fixes in Swe dictionary + add first_Adv to all dictionaries
2014-03-29 13:33:36 +00:00
inari
1b08baaf28
fixes in DictionarySwe
2014-03-28 21:10:14 +00:00
inari
e82e1a36a7
Couple of fixes in DictionarySwe
2014-03-28 18:40:40 +00:00
hallgren
75011c8efa
Wide coverage demo web app improvements
...
+ Adapt language selection menus to the languages supported by the grammar.
+ Add translation quality colors to the links to alternative translations.
+ Also added more country codes in langcode.js (needed for speech synthesis
voice selection).
2014-03-28 14:56:56 +00:00
kr.angelov
12448ef4f0
a couple of words checked in DictionaryBuk
2014-03-28 14:18:43 +00:00
kr.angelov
dbad21daba
fixes in the dictionaries
2014-03-28 14:09:09 +00:00
inari
5b730e090f
Add constructions with motion verbs and direction adverbs for Eng,Fin,Fre,Ger,Swe in Construction
2014-03-28 12:34:07 +00:00
aarne
b3b1d0dff3
added the phrase "what time is it" in ten languages. For simplicity, this is a Greeting and not a Question, which means that it has a variant appearing with ! rather than ? , similar to "how are you". Correcting this would require analysing the structure of the phrase so that it can be constructed in QS.
2014-03-28 08:02:14 +00:00
aarne
ff113da8ae
corrected the default of Ita mkV "...ere" to temere_20, which is considered the regular 2nd conjugation
2014-03-28 07:28:54 +00:00
hallgren
d46bdda103
Wide coverage demo web app: translation quality feedback with colors
...
The background color of the translation changes to pale green, yellow or red
according to the quality.
Two types of quality indications are supported:
+ From the grammar: linearizations starting with "+" or "*" are assumed to
be of high or low quality, respectively.
+ From the parse tree: if the root function is "?", then the translation is
assumed to be of low quality.
If no quality indications are detected, medium quality is assumed.
2014-03-27 15:11:02 +00:00
hallgren
94bf87add9
support.js & gftranslate.js: improved handling of server errors
...
In support.js, the functions http_get_json, ajax_http_get_json
and ajax_http_post_json now calls the supplied error callback if the server
returns invalid JSON (e.g. because of a crash).
The function gftranslate.translate in gftranslate.js returns
a JSON value containing an error message (since it doesn't have an error
callback).
This should result in fewer situations where "nothing happens" and the user
doesn't know if it is beacuse the server is slow, or if there was an error.
2014-03-27 15:02:27 +00:00
inari
4f4905b353
Add containers to Construction*.gf + missing saturday_Weekday in the abstract
2014-03-26 16:06:30 +00:00
inari
ccfd229fe6
Add need_V* to DictionaryFre (nécessiter, TODO add multi-word verb constructor for mkV for "avoir besoin de")
2014-03-26 14:34:45 +00:00
aarne
8b9431b60b
ExtensionsSpa added
2014-03-25 16:30:41 +00:00
kr.angelov
709f5dfcd8
small fixes in the C runtime
2014-03-25 13:57:57 +00:00
kr.angelov
762a6a8845
fixes in the Bulgarian dictionary
2014-03-22 08:00:43 +00:00
kr.angelov
5f3b35a5f9
refactor the compilation of CFG and EBNF grammars. Now they are parsed by using GF.Grammar.Parser just like the ordinary GF grammars. Furthermore now GF.Speech.CFG is moved to GF.Grammar.CFG. The new module is used by both the speech conversion utils and by the compiler for CFG grammars. The parser for CFG now consumes a lot less memory and can be used with grammars with more than 4 000 000 productions.
2014-03-21 21:25:05 +00:00
kr.angelov
8695d8724d
fixes in the Bulgarian dictionary
2014-03-21 10:52:40 +00:00
kr.angelov
b33c163068
added hasLinearization method in the Python binding
2014-03-20 14:48:47 +00:00
kr.angelov
132612365a
fix in the Python binding which was forgoten after a change in the C runtime
2014-03-20 14:48:02 +00:00
aarne
49f0ca5659
any determineds in DictionarySwe
2014-03-20 08:09:28 +00:00
aarne
6ca0417596
corrected use of possess_Prep in Chi to avoid double "de"
2014-03-20 06:56:44 +00:00
aarne
1329ed7758
corrected Irreg verbs in DictionaryIta: over 700 occurrences
2014-03-19 21:54:35 +00:00
aarne
9231b49b8e
added IrregIta with over 600 verbs
2014-03-19 21:22:05 +00:00
hallgren
6cc8557e6b
gf -server: add a command to manually flush the PGF cache
...
This can be used if the cloud service seems slow, but it would probably
be better to automatically expire unused PGFs from the cache after some time.
2014-03-19 16:15:05 +00:00
aarne
fd8cf9af58
a darker red in translation app: dictionary lookup for each word, identity if lookup fails
2014-03-18 13:22:13 +00:00
aarne
22e3eb2223
Hin and Ger added to android app again
2014-03-18 10:21:53 +00:00
aarne
e45306b2d0
added tenses to RGLBaseHin
2014-03-18 10:21:29 +00:00
kr.angelov
bc81d163fb
whitespace cleanup in the parser
2014-03-18 10:19:35 +00:00
aarne
e0caa63046
RGLBaseHin added ; DocumentationHin in LangHin so that it gets compiled in RGL
2014-03-18 09:16:38 +00:00
aarne
8a9bd1b4a9
DictionarySwe: compound form of vice_N
2014-03-17 18:16:41 +00:00
aarne
5bf298386b
worked around a problem of evaluating BIND in pre in DiffFre.relPron
2014-03-17 18:09:23 +00:00
aarne
6d8aff65c8
show the value in the error message when failing to get Str from value
2014-03-17 18:02:07 +00:00
aarne
b7f1975be2
Fre and Ita: elision with BIND
2014-03-17 16:29:11 +00:00
hallgren
a229c539e9
Wide coverage demo web app: add speech synthesis
...
Works in Safari and Chrome.
2014-03-17 15:59:43 +00:00
hallgren
539cb5746b
doc/Logos/gf1.svg: variant of the GF logo with a subtle shadow
2014-03-13 14:50:30 +00:00
aarne
131044cfc9
RGLBaseGer added
2014-03-16 15:28:44 +00:00
kr.angelov
ddb0d90c18
bugfix in the compiler for linref of empty record
2014-03-15 11:33:54 +00:00
aarne
76afac499b
Jordi's addition to Combinators api: appCN and appCNc
2014-03-15 06:09:58 +00:00
aarne
7bfb2444af
bg in android app
2014-03-14 15:00:33 +00:00
aarne
775fbc5fd3
import DocumentationBul in LangBul
2014-03-14 14:49:52 +00:00
aarne
6a56e175ff
added RGLBaseBul
2014-03-14 14:49:33 +00:00
aarne
9ce239fb6c
moved the small app chunking grammars from lib/src/experimental to examples/translator; the proper place might be in the git contributions, but this can be decided later
2014-03-14 13:28:42 +00:00
kr.angelov
49b85a2773
fix in DictionaryEng.gf
2014-03-14 12:50:25 +00:00
aarne
d18fcde814
Spanish in android app
2014-03-14 09:45:46 +00:00
aarne
ce56b5e723
RGLBase preparing PredSpa
2014-03-14 09:11:49 +00:00
aarne
d9686ef5cb
documentation files for Spa (terminology to be checked; verb forms not shared in Romance missing)
2014-03-14 08:36:10 +00:00
aarne
55b4af9e1b
DictionarySpa with 21k lemmas from Wiktionary. Many guesses both in morphology and semantics, as usual.
2014-03-14 08:22:04 +00:00
aarne
e1a558fc7d
small fix in PredEng
2014-03-13 21:08:21 +00:00
aarne
0cf8937bb6
removed the App project from resource library: it is an application grammar
2014-03-13 17:07:11 +00:00
aarne
b82b66a8ad
path in AllIta to find SyntaxIta in a fresh project
2014-03-13 15:39:54 +00:00
aarne
5731294b53
DictionaryIta bootstrapped from Wiktionary, 16k lemmas
2014-03-13 14:42:02 +00:00
aarne
3a39903563
AppIta, with a small lexicon
2014-03-13 13:27:51 +00:00
aarne
1d2d8aa8ac
support for Italian translator and documentation
2014-03-13 13:27:18 +00:00
aarne
f0425425d9
started DictionaryIta
2014-03-13 12:36:42 +00:00
hallgren
3e804fbe7f
GF home page: news item about Digital Grammars
2014-03-13 13:15:43 +00:00
aarne
775f186447
AppFre now works
2014-03-13 12:33:12 +00:00
aarne
b325f74048
App ported to Fre
2014-03-13 11:12:34 +00:00
aarne
7b545dbb0e
added SmallPredChi
2014-03-13 08:57:51 +00:00
kr.angelov
f3dead2d7c
remove accidental trace message
2014-03-13 08:25:19 +00:00
kr.angelov
87bd2d06d1
small stylistic changes in the Android App
2014-03-13 08:21:31 +00:00
aarne
a5ae872968
insanely fast AppEngChiFinSwe
2014-03-12 20:34:38 +00:00
inari
93373d60e9
add a couple of words in DictionaryFre
2014-03-12 18:23:24 +00:00
aarne
ac39f37915
SmallPred for optimized parsing speed: 20 times faster than NDPred
2014-03-12 16:37:00 +00:00
kr.angelov
1a1e7cdb2e
compute the right word probability
2014-03-12 15:36:40 +00:00
hallgren
cb9222a20c
support.js: For better error handling, always use AJAX, don't fallback to JSONP
...
Cross-origin requests are allowed by the PGF service and are supported in
all modern browsers.
See http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
2014-03-12 14:07:35 +00:00
hallgren
6abd0c8eef
haskell-bind: comment out superfluous imports
2014-03-12 13:21:47 +00:00
kr.angelov
0888760d66
the UI for the Android API now has stable word prediction
2014-03-12 14:01:22 +00:00
kr.angelov
3ce5339f34
ensure that negative probabilities are always avoided
2014-03-12 13:11:23 +00:00
john.j.camilleri
466ef94d59
Fix typo in PGFService: "incomlete"
2014-03-12 12:45:32 +00:00
kr.angelov
450ee9ff27
fix in the Bulgarian dictionary
2014-03-12 11:02:36 +00:00
kr.angelov
e76b745aa8
remove the unnecessary logging of the completion string
2014-03-12 10:57:11 +00:00
kr.angelov
d653304dcf
fixes in the word completion
2014-03-12 10:54:29 +00:00
kr.angelov
befa50eb5f
fixes in the Bulgarian dictionary
2014-03-12 10:52:00 +00:00
kr.angelov
82fd83d33b
split company and fork into different senses
2014-03-12 10:50:42 +00:00
kr.angelov
dd8014faf4
three more fixes
2014-03-12 08:04:30 +00:00
kr.angelov
4a532cd023
more fixes in the Swedish dictionary
2014-03-12 08:00:03 +00:00
aarne
896efb12c8
contracted forms in PredEng. It is very important for efficiency that variants are formed at the last possible stage of sentence formation. This compromises the compactness of the source code somewhat.
2014-03-12 05:53:24 +00:00
kr.angelov
c1c4d38027
a number of fixes in the Swedish lexicon
2014-03-11 22:39:23 +00:00
aarne
772afa082f
removed an extra dangling c3 preposition in Eng and Swe
2014-03-11 22:11:35 +00:00
aarne
81c169b8d7
a module with a small subset of Pred functions, to be used with aggressive chunking
2014-03-11 20:57:40 +00:00
aarne
4ca5ffc892
punctuation added to NDTrans
2014-03-11 20:57:17 +00:00
hallgren
69b113324e
WebSetup.hs: use the correct --gf-lib-path when building example grammars
...
The directory should be the same as the one used in Setup.hs when building
the RGL, where a build directory supplied by cabal is used. This is usually
dist/build/rgl, but it could be different, e.g. when using a cabal sandbox.
2014-03-11 13:46:10 +00:00
aarne
556bfa002b
android: added (1) dg icon (2) green/yellow/red colours for translation confidence (3) App grammars as test case in Translator.java
2014-03-10 18:04:43 +00:00
aarne
96087ea21d
App.gf: an experiment in combining phrasebook, rgl, and chunking, to support three colours in an app to indicate translation confidence
2014-03-10 18:00:53 +00:00
aarne
65a076d4d3
reference to DictEngChi changed to DictionaryChi
2014-03-10 18:00:15 +00:00
inari
6bcbf50a17
ask_for_V3 in Dictionary* + unicode fixing in DictionaryFre
2014-03-10 13:42:51 +00:00
aarne
c8309a33d8
NDTransChi compiles
2014-03-09 22:15:50 +00:00
aarne
b4c0077955
importing DocumentationChi in LangChi, as usual
2014-03-09 21:10:14 +00:00
aarne
1fb91f74d5
the rest of PredChi modules started
2014-03-09 14:53:50 +00:00
aarne
ff12c9eaae
typo fix in ChunkFin
2014-03-09 11:51:51 +00:00
aarne
29276ca62f
added alternative build with Pred grammars to android, commented out by default
2014-03-09 11:42:47 +00:00
aarne
1b37a9a88f
more stack for making Parse grammars
2014-03-09 11:41:50 +00:00
aarne
1cc9b18899
chunks for the rest of verb categories
2014-03-09 11:41:24 +00:00
aarne
7164562403
missing Pred functions in Fin
2014-03-09 10:38:03 +00:00
aarne
63d9fae178
ChunkFin added
2014-03-08 21:01:12 +00:00
aarne
19fcc31597
added Documentation to NDTrans
2014-03-08 17:39:13 +00:00
aarne
340b32594f
refining SubjPre rules; adding * in chunking
2014-03-08 17:06:02 +00:00
aarne
e054739dc0
more chunks; makefile for PredEngSwe translator
2014-03-08 13:11:09 +00:00
aarne
9486d1ce37
ChunkSwe in place
2014-03-08 08:19:37 +00:00
kr.angelov
155656e328
added word completion in the Android UI
2014-03-07 21:30:54 +00:00
kr.angelov
8b8a9a8968
added Java API to the simple word completion
2014-03-07 21:29:26 +00:00
kr.angelov
6b6c331f40
fix in the Java binding after the implementation for pre
2014-03-07 21:28:40 +00:00
kr.angelov
a77dc568bb
added pgf_lookup_word_prefix which makes it possible to do simple word prediction
2014-03-07 21:24:20 +00:00
aarne
752a0a3607
bug fix in PredEng VV forms
2014-03-07 14:37:38 +00:00
kr.angelov
0e0237d5f5
another fix in the keyboard
2014-03-07 14:13:21 +00:00
kr.angelov
bcdbaf7ae7
bugfix in the keyboard
2014-03-07 13:51:28 +00:00
kr.angelov
71005bb163
added Devanagari keyboard for Android
2014-03-07 13:42:13 +00:00
aarne
5b799685d8
removed Eng-specific qforms from PredFunctor
2014-03-07 10:58:28 +00:00
kr.angelov
743896c3c0
bugfix in pgf-translate
2014-03-07 09:35:57 +00:00
aarne
d7cc8dbe59
subject control bug in PredSwe and Eng fixed
2014-03-06 16:13:18 +00:00
hallgren
8d9821a977
C run-time: protect from Windows specific #includes with #ifdef __MINGW32__
2014-03-06 13:42:27 +00:00
aarne
abc6d5c58b
PredChi complete
2014-03-06 07:28:34 +00:00
kr.angelov
189318bf25
bugfix in the android keyboard for multiline documents
2014-03-05 13:42:55 +00:00
kr.angelov
472cbe74ec
bugfix in the Android UI
2014-03-05 12:50:36 +00:00
kr.angelov
487647b393
implementation for pre in the C runtime
2014-03-05 10:17:42 +00:00
hallgren
f33dc4c6c3
Fix the fix
2014-03-04 14:35:14 +00:00
hallgren
c7cd031a95
Fixes for GHC 7.6 compatibility
2014-03-04 14:28:44 +00:00
hallgren
73221769c2
Three fixes for compatibility with GHC 7.8
...
Two of the fixes were in the custom version of the binary package. We
should get rid of it at some point, to reduce the maintenance burden.
The third fix was to add new version constraints for happy and alex in
gf.cabal. New versions of them are needed because of the ugly, low-level,
GHC-specific code they produce need to be different for GHC 7.8.
More fixes might be needed for -server mode, but the cgi package is not
compatible with GHC 7.8 at the moment, so it will have to wait.
2014-03-04 14:13:41 +00:00
kr.angelov
534973ac49
use pgf_linearize instead of pgf_lzr_linearize_simple in pgf-translate.c
2014-03-04 10:30:23 +00:00
kr.angelov
2e51ddceae
memory leak in parseval.c
2014-03-04 10:29:18 +00:00
kr.angelov
903abb5a4f
rename pgf_lzr_linearize_table to pgf_lzr_get_table
2014-03-04 10:13:23 +00:00
aarne
36363c191f
PredChi top module
2014-03-03 14:10:03 +00:00
aarne
322c4f1b03
more in PredChi
2014-03-03 14:09:34 +00:00
aarne
e20bf3c0a7
chunking module attached to NDPredTrans. Might be a nice alternative to robustness. But the current version uses variants too much.
2014-02-28 16:13:12 +00:00
aarne
7f079152bc
robustness in NDTrans; DictionarySwe fixes
2014-02-28 10:03:49 +00:00
kr.angelov
b038f0c341
more in src/runtime/java/INSTALL
2014-02-27 21:21:19 +00:00
kr.angelov
a305944175
another fix for building the Java binding
2014-02-27 21:20:19 +00:00
aarne
214e6d1644
some common words in DictionarySwe corrected
2014-02-27 20:25:29 +00:00
kr.angelov
54a354e022
added file with instructions for compiling the Java binding
2014-02-27 20:20:59 +00:00
kr.angelov
d06c3b8681
instructions for compiling the C runtime on Windows
2014-02-27 20:04:30 +00:00
kr.angelov
4b9f2835af
changes in Makefile.am to make it easier to compile the C runtime on Windows
2014-02-27 19:37:10 +00:00
kr.angelov
ab8dd16e8d
include malloc.h in a few places to avoid warnings on Windows
2014-02-27 19:34:14 +00:00
kr.angelov
d7b8f9d9a1
update the Eclipse project for jpgf with settings needed for Windows
2014-02-27 19:28:25 +00:00
aarne
599b5689c3
probabilistic model for the new syntax
2014-02-27 17:34:53 +00:00
kr.angelov
678732a7f1
fix in DocumentationHin
2014-02-27 13:07:22 +00:00
aarne
9f4d8a8c55
passives in tree transfer
2014-02-27 07:56:11 +00:00
aarne
8db4f97bce
simple-minded transformer of constructor counts, to adapt a treebank quickly
2014-02-26 18:24:48 +00:00
aarne
3a064468c2
top-level transfer for converting trees; lexicon not included
2014-02-26 18:03:52 +00:00
kr.angelov
88c06f74fc
implemented DocumentationHin (as best as I could). I am still suspicious.
2014-02-26 17:29:27 +00:00
aarne
b7839dd9df
defining top-level Old2New transfer, trying to figure out how to handle metavariables
2014-02-26 14:59:10 +00:00
aarne
e0a9e01e96
more cases in Old2New
2014-02-26 09:09:21 +00:00
kr.angelov
7e0292f6e0
fix in DocumentationChi
2014-02-26 10:30:38 +00:00
kr.angelov
ff63a4890a
more fixes in DictionaryBul.gf
2014-02-25 14:32:08 +00:00
kr.angelov
afdcd59a57
fix in DictionaryBul
2014-02-25 14:12:01 +00:00
kr.angelov
5594843faf
add DocumentationChi and fix the old ParseChi
2014-02-25 14:11:07 +00:00
kr.angelov
adca68ecaf
bugfix with the keyboard label for Chinese
2014-02-25 12:15:29 +00:00
aarne
3ea92a59d5
started PredInstanceChi
2014-02-25 10:58:15 +00:00
kr.angelov
889afe32e3
the Android UI uses a new progress indicator which works on both Nexus 1 and Nexus 7
2014-02-25 09:46:05 +00:00
aarne
95a2ebe569
commented out Documentation definitions in notpresent mode. It was not enough to do this in the import list in Lang, since the import list parsing seems to be done without preprocessing.
2014-02-25 07:37:03 +00:00
aarne
62aa1d2bc7
more work with Old2New, soon good coverage
2014-02-23 18:46:35 +00:00
aarne
aa912ee580
started transfer from old Parse grammar to new Pred grammar
2014-02-23 13:54:56 +00:00
kr.angelov
57310f1398
the Android App is now using the documentation modules instead of xml files for generating the inflection tables. The xml files are removed
2014-02-21 16:34:59 +00:00
kr.angelov
dc19edc05d
completed Documentation modules for English, Swedish, Bulgarian, German, Finnish, French. The examples for Finnish, German and French could still be improved. The old parsing grammars are now restored. The new Translation grammar still don't have statistical model.
2014-02-21 16:31:50 +00:00
kr.angelov
014f4e1e11
linref for Conj in English and Bulgarian
2014-02-21 16:29:55 +00:00
hallgren
3712b2a2c0
Wide coverage demo web app: add link to Google Translate
2014-02-19 14:17:49 +00:00
hallgren
800bdcaa37
src/www/js/langcode.js: functions for converting language codes
...
factored out from src/www/translator/translator.js
2014-02-19 14:15:14 +00:00
kr.angelov
c61cf4ce5a
bugfix in the android ui
2014-02-18 13:09:56 +00:00
kr.angelov
e566756746
fix in GF.Compile.Compute.ConcreteNew which makes it possible to compile DocumentationBul.gf
2014-02-17 09:00:14 +00:00
kr.angelov
86f1e7004c
fix in DictionarySwe.gf
2014-02-17 08:52:12 +00:00
kr.angelov
19be85d70f
fix in DictionaryBul.gf
2014-02-17 08:51:45 +00:00
kr.angelov
a6747eac6b
a new abstract syntax in Documentation.gf which allows a more compact definition of the corresponding concrete syntax. The new strategy is so far used only in DocumentationEng and the new DocumentationBul.
2014-02-17 08:45:57 +00:00
aarne
769fd9af69
bug fixes in PredFin passives and vvtypes
2014-02-16 22:02:15 +00:00
aarne
e94c8af553
passive in PredFin
2014-02-16 16:07:05 +00:00
aarne
cd58451c8e
ported (most of) the new structures to PredFin
2014-02-16 09:50:26 +00:00
aarne
7831a3d8c3
added some VP constructions to Pred: without/after/before/when doing, in order to do
2014-02-15 20:17:48 +00:00
aarne
3e1d19b043
typo in NDLift ; roughly_AdV in Dictionary
2014-02-15 14:47:05 +00:00
aarne
5127ad4352
some fixes in DictionarySwe
2014-02-15 12:53:46 +00:00
aarne
94c28d7eca
updated wide coverage NDTrans Eng,Swe with the new constructs.
2014-02-14 15:41:37 +00:00
aarne
35395c22b6
added QuestIComp to Pred
2014-02-14 14:36:03 +00:00
aarne
22f817262f
relatives and imperatives in Pred Eng and Swe
2014-02-14 08:41:18 +00:00
aarne
39ad565694
shall-should in Dictionary
2014-02-13 17:10:12 +00:00
john.j.camilleri
d67f8b7e19
RGL browser: update build-tags.sh to work on OSX
...
To run on GNU Linux you need to un/comment some stuff in the file.
To run on Windows... lol
2014-02-13 15:24:57 +00:00
hallgren
b7f57b1394
demos/translation.t2t: the translation app needs more space
2014-02-13 12:02:10 +00:00
aarne
6a4dd4aa41
Pred: proper forms of Eng auxiliaries; variants for Swe negation and future aux
2014-02-12 18:40:18 +00:00
hallgren
286c5a035a
Wide coverage demo: show up to 10 translations
...
The translations are loaded one at a time so you don't have to wait for all
10 to see the first one.
2014-02-12 16:08:18 +00:00
kr.angelov
2c9b9cb8ad
fixes in the Swedish dictionary
2014-02-12 15:33:00 +00:00
kr.angelov
3828c79253
fixes in DictionarySwe
2014-02-12 14:02:06 +00:00
aarne
32a36a246c
commented out stringMark from Lang since it creates hopeless ambiguities in parsing
2014-02-11 20:09:25 +00:00
aarne
4ce2379869
DictionarySwe patched with Saldo-WordNet mappings. Most of the changes should be improvements, but some may not... the old definitions are kept as variants.
2014-02-11 17:41:25 +00:00
hallgren
15bf881e45
Work on web api & apps based on the C run-time system
...
+ PGFService.hs: add command c-grammar, include probability in parse results
+ js/gftranslation.js: add start position and limit parameters, return more
info to applications
+ Simple Translator: show two wide coverage translations
+ Wide coverage demo: show parse tree and probability (intended as grammar
debugging aids)
2014-02-11 16:43:29 +00:00
hallgren
d99f3e19d7
GFServer.hs: avoid intertwined log messages from parallel requests
2014-02-11 14:22:12 +00:00
aarne
4c26fc80ee
module Markup for marking up subphrases with html tags (or other things). Implemented for Eng and Swe so far.
2014-02-11 15:42:17 +00:00
hallgren
be31b52e07
Restore compatibility with GHC 7.0
2014-02-10 21:44:34 +00:00
aarne
cbe0adb71b
Swe dictionary entries from Saldo-Wordnet. Should be checked before replacing old words in DictionarySwe
2014-02-10 18:43:42 +00:00
kr.angelov
44c95e9c99
fixes in DictionaryBul
2014-02-10 16:24:08 +00:00
hallgren
ac3fae334e
Fix broken C runtime support in gf.cabal and PGFService.hs
...
Also add PGF service command c-flush to explicitly flush cached parse results
from memory.
2014-02-10 16:04:40 +00:00
aarne
0f7ea733cc
some words in DictionarySwe corrected
2014-02-10 14:12:58 +00:00
kr.angelov
2451ed123d
proper error checking in the C runtime
2014-02-10 14:07:17 +00:00
hallgren
1efb9824f8
haskell-bind: fix broken pgf-shell
...
The type CId was replaced with String, so can't use show and read anymore.
2014-02-10 12:59:31 +00:00
kr.angelov
0e2c3f86a6
bugfix in pgf2-bind.cabal
2014-02-10 10:28:19 +00:00
aarne
6cdd5efb9e
changes in translator/ExtensionsFin after the datatype reform
2014-02-09 20:41:47 +00:00
aarne
063fe069af
PredFin and NDTransFin finally working
2014-02-09 20:16:29 +00:00
aarne
bcabc34527
disabled ad hoc overloading, as it still causes mysterious errors. It is just a few lines in Rename.hs
2014-02-09 19:55:17 +00:00
kr.angelov
e11a247d82
updated haskell-bind/README
2014-02-09 20:56:01 +00:00
kr.angelov
e527a526d8
cleanup the code for the FFI binding. The API is now more uniform with the Python and the Java bindings. Fixed a lot of memory leaks.
2014-02-09 20:45:11 +00:00
kr.angelov
7c66e438e1
GuVariant is now plain uintptr_t instead of a structure to make it easier to write Haskell bindings
2014-02-09 19:07:15 +00:00
aarne
d60db9a4c3
shrinking the size of some Fin datatypes (in general RGL) results in pgf size reduction to 25% of previous size
2014-02-09 17:38:24 +00:00
aarne
8b9daedc14
factored out linrefs to opers in PredInterface
2014-02-09 10:34:21 +00:00
aarne
26f6fea5a8
some refactoring, and experiments with Fin which is still too big in pgf
2014-02-09 09:31:42 +00:00
aarne
bd51fab5e0
Fin modules of NDTrans in place, but refactoring in needed
2014-02-08 22:25:06 +00:00
aarne
1c3d7ea22d
inheriting some translator Extensions in NDTrans. Many of them are not needed, since they are now covered by Pred.
2014-02-08 20:18:27 +00:00
aarne
e9af74ae09
moved development-phrase modules to subdir alternatives
2014-02-08 19:55:59 +00:00
aarne
2ff1587382
factored out fun's for lifting RGL functions to Pred, and added some
2014-02-08 19:53:11 +00:00
aarne
3c97dc4ed3
nondependent versions of Pred grammars, implemented by a functor over the dependent version so that no new concrete syntax code is needed. This is at the moment the grammar of choice for translation: NDTransEng is several times faster than TransEng and even faster than the old TranslateEng. The next step is to make sure that all coverage is preserved; some new coverage is already there.
2014-02-08 14:28:58 +00:00
aarne
b1aec70571
predication Test: top-level grammar with Lexicon and Structural instead of the big Dictionary
2014-02-08 10:45:17 +00:00
aarne
2e7190c55f
functorization of Pred and Trans now includes both Eng and Swe
2014-02-08 09:10:57 +00:00
aarne
b502c26e83
qualifications in finnish/stemmed/WNKotus to help overloading
2014-02-07 22:54:54 +00:00
aarne
1da64de767
PredEng now works with a functor. Some decisions about name clashes to do.
2014-02-07 17:59:37 +00:00
hallgren
5edf45c2a0
lib/src/Makefile: TranslateChi needs a bigger stack
...
Note: TranslateFin fails to compile because of an overloading problem.
2014-02-07 17:00:16 +00:00
hallgren
01b90b95f8
gf.cabal: pgf-shell needs containers now
2014-02-07 16:42:51 +00:00
hallgren
96594e405d
pgf-shell: show the names of the concrete syntaxes after loading the grammar
2014-02-07 16:40:13 +00:00
inari
ea49a7b388
haskell-bind: add function languages
2014-02-07 15:56:12 +00:00
hallgren
d1ab3072db
pgf-shell: enable -rtsopts, call performGC between commands
...
This is to make it easier to find the cause of space leaks.
2014-02-07 13:57:13 +00:00
aarne
ed45089b83
completed lifting Eng verbs categories to Pred.V
2014-02-07 09:53:38 +00:00
john.j.camilleri
74d6cd6d85
Remove that annoying <li> before Punjabi in Synopsis
2014-02-07 08:57:52 +00:00
aarne
dfb00211a8
refinements in VVType
2014-02-06 20:46:11 +00:00
inari
13e7d3e518
fixed some memory leaks
2014-02-06 10:50:59 +00:00
aarne
2bc7f1049a
added information to V in Predication
2014-02-06 10:49:55 +00:00
kr.angelov
4b8c1db6d2
bugfix in the recognizer for literals in the C runtime
2014-02-05 20:13:52 +00:00
aarne
935e8ee4ff
predication-based TransSwe delivering the first sentences
2014-02-05 20:03:51 +00:00
aarne
b11977a152
started TransSwe with the new Predication
2014-02-05 15:33:35 +00:00
aarne
4fe3b482d8
qualification of type PN in Heb.mkPN to resolve overloading
2014-02-05 12:39:01 +00:00
aarne
ddc40ee2fd
Predication: factored out Prep as Adv/NP; added linref's to test with chunking
2014-02-05 09:31:23 +00:00
aarne
bda94ebb95
some more rules included in experimental/TransEng
2014-02-04 21:35:09 +00:00
aarne
56bda6bb09
first experiments running Predication with the big lexicon and the other RGL modules
2014-02-04 20:11:03 +00:00
aarne
9e8be757d8
started embedding Predication in the big translation grammar
2014-02-04 16:12:22 +00:00
aarne
3953ac3371
PredicationEng complete with all agreement forms and questions; questions with contracted auxiliaries still to do
2014-02-04 15:24:06 +00:00
hallgren
abfd4b9c96
PGF.Optimize: one more fix for unsafeFreeze
2014-02-04 13:47:37 +00:00
hallgren
8a5ade8897
PGF.Optimize: import unsafeFreeze from Data.Array.Unsafe for compatibility with ghc-7.8
2014-02-04 13:44:07 +00:00
hallgren
c8310cf17c
GFC.hs: encodeFile_ is not available in the standard Data.Binary
2014-02-04 13:36:16 +00:00
aarne
263ae29551
contractions of auxiliaries and negations in PredicationEng
2014-02-04 07:46:43 +00:00
aarne
caf3ed1053
PredicationEng except auxiliary in questions and agreement of copula. Swe is so much simpler...
2014-02-03 18:41:32 +00:00
aarne
cf576d245d
PredicationEng now almost a functor with Swe ; details to be fixed on e.g. aux/non-aux V distinction
2014-02-03 14:04:04 +00:00
hallgren
a81d7db70b
gf.cabal: add default-language to silence warning
2014-02-03 12:24:42 +00:00
aarne
26cee4374d
mkV2V second preposition mistakenly omitted in Dan and Nor, now fixed
2014-02-03 08:51:03 +00:00
aarne
9c415d6be6
Lat.VocNP issue resolved
2014-02-03 08:49:22 +00:00
aarne
cf196cb0dd
new overload resolution, taking care of ad hoc overloading.
2014-02-01 13:17:52 +00:00
aarne
2552b859fd
ad hoc overloading: a new way to deal with name resolution conflicts. Previously the renamer warned if there was e.g. an unqualified reference to mkAdv, which could come from either Syntax or Paradigms. The renamer picked randomly one of the alternatives, which then often failed in type checking. Now, all candidates are collected into a new structure AdHocOverload [Term], which is accessed by the type checker to make the choice based on the type of the constant. This eliminates some of the warnings and some of the error due to wrong choices. In some rare cases, the inherited constants have the same type, which cannot be resolved by overloading. In such cases, the type checker does the same as the renamer did before: pick the "first" option (i.e. the one that happens to be the first in the list returned by the renamer) and issues a warning. In this patch, only a couple of lines are changed. The typechecker (RConcrete) has more substantial changes, and will be recorded as the next patch.
2014-02-01 13:10:36 +00:00
aarne
4cc72722a6
missing import in CatLat causing an eval error with "no reason given"; commented out PhraseLat.VocNP that gives a mysterious PMCFG generation error
2014-02-01 13:03:08 +00:00
aarne
1a71260608
duplicated param type definition in TenseScand removed
2014-02-01 12:51:54 +00:00
aarne
1df85aa1fe
fixed an ambiguous reference in CatAmh.
2014-02-01 12:47:08 +00:00
aarne
4404e9c899
another type error revealed by record extension checking, in Est.
2014-02-01 12:30:40 +00:00
aarne
c727f7c85c
typo in Concrete type checker: when type checking <e : t>, return annotated e and not e itself. Fixed in RConcrete, which should soon replace Concrete; and hopefully will be replaced by some cleaner code soon, such as ConcreteNew which has been under construction for quite some time.
2014-01-31 21:16:07 +00:00
aarne
e97f31c175
found one type error in the whole RGL with the new (experimental) type checker, and fixed it.
2014-01-31 21:15:21 +00:00
aarne
4d4327ad8a
PredicationSwe now uses record updates; PredicationSwO is old-style
2014-01-31 20:44:34 +00:00
aarne
e19a28f46c
experimental type checker module GF.Compile.TypeCheck.RConcrete.hs with record updates enabled by ** expressions. Can be changed back to Concrete.hs by just changing one import command in GF.Compile.CheckGrammar.hs. The worst thing that *should* happen with the new type checker is that some old code is detected to be invalid, which happens if it contains a type-incompatible record extension, e.g. {x = "foo"} ** {x = 1}. Previously such errors were silently ignored. A set of test runs detected one such error in the RGL, which was corrected. On the positive side, the new type checker now enables record updates in the natural way: R ** {x = 1} will give value x = 1 overshadowing any value of x in R (provided the expected type of x is Int). lib/src/experimental/PredicationSwe.gf illustrates this, as opposed to PredicationSwO.gf which has to use old-style copying of even the unchanged record fields.
2014-01-31 20:28:25 +00:00
hallgren
82fd8c9f94
gf-server.cabal: flag to include C run-time support in the FastCGI PGF service
2014-01-31 16:11:41 +00:00
kr.angelov
f7b978f063
fix in the bracketedLinearize in Haskell
2014-01-31 08:52:32 +00:00
aarne
8b1b17c33b
abstracting complement and extension insertion in the test file PredicationSwR.gf
2014-01-31 08:13:28 +00:00
aarne
4e126a1356
an example of how grammars look with record updates: PredicationSwR (as compared with PredicationSwe)
2014-01-30 06:50:57 +00:00
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
normundsg
0000ecfbc7
Phrasebook: Latvian is fixed (according to the latest RG)
2014-01-11 20:26:44 +00:00
aarne
b572226e37
removed the generated html files
2014-01-10 14:55:21 +00:00
aarne
31062771ee
started demo pages for translation and resource grammars
2014-01-10 14:54:21 +00:00
hallgren
22ac05941b
lib/src/Makefile: make -j Parse8.pgf
...
The parse grammar Parse8.pgf for 8 languages can now be built in parallel with
make -j. Finnish requires a lot of RAM. French requires a lot of time.
Other related make targets available for convenience:
make Parse: create Parse???.pgf for the 8 individual languages
make Parse8: create Parse8.pgf assuming all Parse???.pgf already exist
Note: these make targets (and some others) use the gf executable and RGL
library that are installed on the system (found via $PATH and $GF_LIB_PATH,
respectively).
2014-01-10 13:28:53 +00:00
hallgren
fc53e062a3
examples/Phasebook/Makefile2: Lativan is broken, omit it for now
...
Also rewrote Makefile2 in a more compact way.
2014-01-10 13:26:42 +00:00
hallgren
a158bbce53
Check file datestamp before creating PGF file when compiling grammars
...
When running a command like
gf -make L_1.gf ... L_n.gf
gf now avoids recreating the target PGF file if it already exists and is
up-to-date.
gf still reads all required .gfo files, so significant additional speed
improvements are still possible. This could be done by reading .gfo files
more lazily...
2014-01-09 17:30:24 +00:00
hallgren
de5b714573
Check file datestamps before unioning PGF files (fix)
...
Also check that no additional output formats have been selected.
2014-01-09 15:14:35 +00:00
hallgren
40b8c5fb99
Check file datestamps before unioning PGF files
...
When running a command like
gf -make -name=T L_1.pgf ... L_n.pgf
gf now checks if T.pgf exists and is up-to-date before reading and computing
the union of the L_i.pgf files.
The name (T) of the target PGF file has to be given explicitly for this to work,
since otherwise the name is not known until the union has been computed.
If the functions for reading PGF files and computing the union were lazier,
this would not be necessary...
2014-01-09 14:18:21 +00:00
john
60c981d414
Maltese RG: refactor participles, add Idiom.Self* lins
2013-12-23 09:16:11 +00:00
kr.angelov
ba191fb438
fixes in DictEngBul and DictEngSwe
2013-12-20 12:03:36 +00:00
inari
83191372cb
fixed good_A in DictEngFre
2013-12-19 10:47:39 +00:00
kr.angelov
86523f872c
partial cleanup in DictEngBul
2013-12-19 09:42:15 +00:00
kr.angelov
1de632df5a
DictEngBul is almost doubled in size by importing more data. It will take a long to clean it up :-)
2013-12-18 17:49:44 +00:00
hallgren
6ce085349d
Release note updates and some other minor things
2013-12-18 16:22:59 +00:00
hallgren
35f86b7d81
PGFtoPython: add Python translations for nonExist, BIND and SOFT_BIND
...
Someone who is familiar with the Python translation should check this.
2013-12-18 15:31:39 +00:00
hallgren
6055ad2f0d
GF home page: use the SVG version of the GF logo in browsers that support it
...
It looks better on high resolution screens.
2013-12-18 12:01:15 +00:00
hallgren
c6d2b30c6b
src/server/gf-server.cabal: compile it as a common library + executables
2013-12-17 15:55:14 +00:00
kr.angelov
ad79e7144c
fixes in Swedish
2013-12-18 11:22:56 +00:00
kr.angelov
87760bb843
fixes in the Bulgarian and Swedish dictionaries
2013-12-18 10:26:05 +00:00
kr.angelov
0bc9c4f7aa
another fix
2013-12-18 09:49:36 +00:00
kr.angelov
f534cc8dcb
fixes in the dictionaries inspired by a paper phrasebook
2013-12-18 09:18:55 +00:00
kr.angelov
ffc26796ab
bugfix in the android keyboard for the choice of language
2013-12-17 17:09:53 +00:00
kr.angelov
e17f670076
show progress bar when translating or when reloading a language in the lexical activity
2013-12-17 16:21:56 +00:00
hallgren
29baf3e454
examples/phrasebook: remove empty directory 'src'
2013-12-17 15:24:48 +00:00
hallgren
a6cc1b03e4
examples/phrasebook/Makefile2: Finnish needs a larger stack
2013-12-17 15:13:44 +00:00
kr.angelov
417e7652ef
bugfix for grammar loading if the start and the target language happen to be the same
2013-12-17 14:57:30 +00:00
kr.angelov
153a5e7494
partial grammar loading in the android app. From now on grammars for Android shall be compiled with -split-pgf
2013-12-17 14:00:17 +00:00
kr.angelov
ac835fe3b0
make sure that pgf_concrete_load has no effect on grammars that are completely loaded
2013-12-17 13:57:16 +00:00
hallgren
d90657f1f1
Add backward compatibility for reading old PGF files
...
Some backwards incompatible changes were made to the PGF file format after
the release of GF 3.5. This patch adds a module for reading PGF files in the
old format.
This means that old PGF files on the grammaticalframework.org server will
continue to work after we install the latest version of GF.
2013-12-17 13:27:37 +00:00
hallgren
9812c6ff90
GF.Compile.ReadFiles: reduced code duplication
2013-12-16 14:04:57 +00:00
aarne
665603c248
typo in Fin tuesday
2013-12-17 10:16:32 +00:00
aarne
599027ff18
ParseFin ProDrop variants ; ParseFre question word order and pronoun gender variants
2013-12-17 09:54:11 +00:00
normundsg
120e616a28
Latvian: if ~object~ is a Pron and is not modified by a RCl, it is more natural/neutral if it precedes the verb. For this, the lin types of NP and Adv are extended with a boolean field isPron (in addition to the previously introduced isRel field that indicates whether a CN or NP is modified by a RCl).
2013-12-16 19:08:38 +00:00
hallgren
27bd7bbb15
examples/phrasebook/Makefile2: remove duplicated rule
2013-12-16 13:41:29 +00:00
aarne
990edc31cd
Documentation and Construction back in Lang, via the inclusion of ../api in the paths of Lang and All files
2013-12-16 11:51:15 +00:00
aarne
45732fa9da
added abstract to paths in Parse* to make them find Constructions and Documentation
2013-12-15 22:06:13 +00:00
aarne
85d4212a91
added noun compound form to Swe; commented out Constructions and Documentation in Lang concretes, because their presence makes it impossible to bootstrap the compilation of the library, causing new makes of the library to fail (to be fixed)
2013-12-15 20:11:19 +00:00
aarne
db278b0393
commented out examples in InflectionV* as they blow up the pgf size enormously (from 26 to 80M in ParseFin)
2013-12-15 15:11:05 +00:00
aarne
2b217eda24
commented out some things from ParseFin to make Parse8 link
2013-12-15 13:35:30 +00:00
aarne
5a1c19e04b
time in ConstructionsChi
2013-12-15 12:22:16 +00:00
aarne
3c935f12ba
added more temporal Constructions in Eng,Fin,Fre,Ger,Swe
2013-12-15 11:38:43 +00:00
kr.angelov
27a9f72f37
three more interjections from Susanne
2013-12-15 11:17:33 +00:00
aarne
8fcd920054
functorized Documentation for Fin, Fre, Ger
2013-12-14 15:13:14 +00:00
aarne
ced38d5f9f
refactored Documentation to Terminology and Documentation proper. This makes it possible to functorize the display of tables, for instance show Swedish inflection tables with headings in English terminology. Carried out the functorization in Eng and Swe, other languages coming soon.
2013-12-14 09:21:15 +00:00
aarne
b394d16ed0
DocumentationSwe : N and A
2013-12-13 21:00:27 +00:00
aarne
dba791cc83
added examples to the documentation of verbs and prepositions
2013-12-13 17:39:51 +00:00
aarne
a1d641ea4a
completed DocumentationFre, also added Cl examples to V's
2013-12-13 12:50:09 +00:00
normundsg
4ac0369e1a
Latvian: a minor fix in the comma usage
2013-12-13 10:37:48 +00:00
aarne
1554d160c2
DocumentationFre completed with finite verb forms; missing notpresent tags added to DocumentationFin to make it compile with present
2013-12-13 10:01:12 +00:00
aarne
fa1d995d08
started DocumentationFre
2013-12-13 08:56:24 +00:00
aarne
78b7331626
completed DocumentationFin
2013-12-13 08:29:15 +00:00
hallgren
34fcb4970d
GF home page: add a link to Grégoire's GF build status page
...
The link shows the current build status.
2013-12-12 20:54:59 +00:00
aarne
ebe1fac77c
more in DocumentationFin
2013-12-12 20:58:33 +00:00
normundsg
53397db86a
Latvian: CN and NP types are extended with a Bool field for tracking whether a relative clause has been used
...
This is used for inserting the closing comma if necessary, and later will be used also for adjusting the word order.
2013-12-12 20:42:55 +00:00
aarne
630bee9242
started DocumentationFin
2013-12-12 18:46:48 +00:00
aarne
5559d600be
completed DocumentationGer and DocumentationEng
2013-12-12 17:17:27 +00:00
aarne
6324726b8f
may_VV split in Bul and Hin (to check in Hin!) ; Documentation added to Lang and ParseEngAbs
2013-12-12 15:43:49 +00:00
aarne
83eab8e79b
documentation module, implemented for German to produce inflection tables
2013-12-12 15:40:56 +00:00
aarne
ac29497c99
some more functions in prelude/HTML
2013-12-12 15:39:48 +00:00
aarne
c2f1c599d1
split may_VV into may_1_VV (be possible) and may_2_VV (be allowed); not yet in Bul, Hin
2013-12-12 12:35:44 +00:00
aarne
bc787ece75
corrected the inflection of "olla" in stemmed Finnish
2013-12-12 08:00:13 +00:00
kr.angelov
5a62a3739f
fix ExistNP in Bulgarian with double negation
2013-12-11 17:05:21 +00:00
aarne
51a6f31b7e
some fixes in DictEng,Swe when analysing course plans
2013-12-11 16:12:45 +00:00
aarne
112514341b
verb correspond_V2 (correspond to) in DictEng, Swe, Fin
2013-12-11 14:14:25 +00:00
kr.angelov
8819070c5b
fixes in the dictionaries
2013-12-11 14:10:49 +00:00
aarne
eb2f006cf5
weekdays in Swe ; adverbs for next and last weekday
2013-12-11 13:10:21 +00:00
aarne
01ffe53fe9
some adjustments in weekdays in Construction; added them in Eng as well
2013-12-11 12:57:16 +00:00
kr.angelov
9076b8b1d6
a lot more words in English have gender now. Some words are also marked as animate in Bulgarian
2013-12-11 10:04:28 +00:00
aarne
ac8098719a
import Construction in AllEng
2013-12-11 09:49:43 +00:00
aarne
168e7d54a3
solved the issue with it_Pron not having possessive suffix in Fin; fixed a number of warnings in Fin
2013-12-11 08:06:01 +00:00
aarne
19d2e41781
at last, proper possessive suffixes in Finnish Prep. This needs a parameter and vowel harmony: "opettajan mukaan" (according to the teacher), "meidän mukaamme" (according to us), "hänen jälkeensä" (after her).
2013-12-10 20:35:52 +00:00
kr.angelov
3aadf5325b
allow the android app to be installed on the SD card
2013-12-10 20:06:39 +00:00
inari
7e75878898
added weekdays and months to Construction, concrete in ConstructionFin
...
Works like this:
> p "perjantaisin"
PhrUtt NoPConj (UttAdv (weekdayAdv friday)) NoVoc
2013-12-10 19:25:14 +00:00
hallgren
4e1df7eb59
testsuite: fix test of generate_trees
...
There were two differences between the current output and the old gold file:
1. The trees are no longer generated with increasing depth
2. The meaning of the -depth flag has changed: for example,
"gt -cat=Nat -depth=1" used to generate only "zero",
now you also get "succ zero".
2013-12-10 16:49:40 +00:00
kr.angelov
e4246d090c
move src/runtime/haskell/CRuntimeFFI to src/runtime/haskell-bind. Don't mess up with the stable Haskell runtime!
2013-12-10 16:11:47 +00:00
kr.angelov
87527c5f04
load/unload in the Java binding
2013-12-10 16:06:34 +00:00
inari
4b2d56d56c
Haskell bindings for the C runtime
...
Added Haskell bindings for the C runtime. Work in progress, the files are not (and should not be) included in makefiles or anything.
2013-12-10 15:27:28 +00:00
inari
a24f603165
added haskell bindings to the c library
2013-12-10 15:25:44 +00:00
aarne
52a6c03605
Fin.VPSlashPrep is cyclic in the presence of empty-strinc prepositions. Therefore omitted it from ParseFin.
2013-12-10 15:17:35 +00:00
aarne
81d37de270
extended ResourceDemo and changed it to compile without optimizing pgf, so that all inflection forms are kept
2013-12-10 15:14:18 +00:00
kr.angelov
6028a63b42
loading and unloading of languages in the C runtime and in the Python bindings
2013-12-10 15:00:52 +00:00
inari
a4be3c169e
small bugfix in DictEngFin
2013-12-10 13:36:48 +00:00
aarne
31918cf25f
French inflection display in android
2013-12-10 13:03:50 +00:00
kr.angelov
0f352ba1d5
bugfix in the grammar splitter
2013-12-10 12:31:40 +00:00
kr.angelov
faed1348b1
option --split-pgf replaces option --mk-index. This splits the PGF into one file for the abstract and one more for each concrete syntax. This is a preparation for being able to load only specific languages from the whole grammar.
2013-12-10 10:43:13 +00:00
aarne
71ea4f27d5
home adverbs in Chi
2013-12-10 09:31:30 +00:00
aarne
b03430fd02
removed duplicate from DictEngFin
2013-12-09 15:52:36 +00:00
aarne
c4ac0bd0f7
adverbs at_home, from_home in Eng,Fin,Swe ; display categories in ParseFin ; some corrections in Fin and Swe Dict
2013-12-09 15:08:09 +00:00
aarne
a0583ef688
new inflection_fi.xml, for stemmed and refactored ParseFin
2013-12-09 14:48:19 +00:00
aarne
86812fee93
more variants in ParseChi: topicalized adverbs, V-not-V questions
2013-12-09 10:43:57 +00:00
aarne
e5caac511f
little fixes to make lib/src 'make Parse8' work again and produce a better than ever 'open text' translator
2013-12-08 20:36:14 +00:00
aarne
a91add2bbb
corrected the treatment of passives in Fin
2013-12-08 14:58:29 +00:00
aarne
30df21ffd8
Constructions in Ger
2013-12-08 13:24:00 +00:00
aarne
01bf55f6c9
Chi constructions (part of them), topicalized time adverbs
2013-12-08 13:11:29 +00:00
aarne
39cff5a66b
another doubling of parsing speed for Fin by using stems inside VP as well. Now just 10% of the time before these optimizations.
2013-12-07 15:55:20 +00:00
aarne
a03037b830
changed Finnish VP so that the verb is stored as such. This makes compilation and parsing several times faster. TODO: treat passivization correctly; optimize further by only storing the stems.
2013-12-07 11:13:17 +00:00
aarne
0f2cc75490
make ParseFin compile with Construction
2013-12-07 08:01:28 +00:00
aarne
4f877ef885
added constructions to Parse grammars
2013-12-06 17:13:53 +00:00
aarne
5c22d9ac1b
fixed latin1 character errors in DictEngFre, and converted the file to utf8
2013-12-06 17:12:55 +00:00
aarne
b9afa70236
Construction: a repository of idiomatic constructions involving special lexical items. Started with some Phrasebook ones and implemented for Eng,Fin,Fre,Swe
2013-12-06 15:44:45 +00:00
hallgren
4280c885dd
testsuite: reduced the number of failing tests from 25 to 13
...
Some tests may fail on Windows because of \ instead of / in paths.
2013-12-06 16:01:13 +00:00
hallgren
41827b1aab
Show relative file paths in error messages
...
This is to avoid one trivial reason for failures in the test suite.
2013-12-06 15:43:34 +00:00
kr.angelov
1026824060
partial reconstruction for sentence structures in Susanne
2013-12-06 15:05:56 +00:00
hallgren
0d047707fc
GF.Compile.CheckGrammar: add source path to error message for circular definitions
2013-12-06 13:46:59 +00:00
hallgren
e6096bffc5
GF shell: fix help text for generate_trees
...
Trees are not generated with increasing depth.
2013-12-06 13:45:12 +00:00
aarne
324eb400b5
added passives and self's to Chi
2013-12-06 09:16:50 +00:00
aarne
be58b6f224
PassAgentVPSlash in Ger
2013-12-06 09:05:52 +00:00
aarne
61b07c5b08
self constructions in IdiomFre ; not quite satisfactory yet, see comments in file
2013-12-06 08:56:20 +00:00
kr.angelov
3fcf1df68c
fix in StructuralBul
2013-12-06 08:44:57 +00:00
aarne
06799aab5a
latin1 flags to some Afrikaans modules
2013-12-06 08:42:22 +00:00
aarne
376ed50c2e
PassAgentVPSlash for Eng, Swe, Fin, Fre
2013-12-06 08:32:53 +00:00
kr.angelov
39fff9318d
more on the Susanne treebank
2013-12-05 10:05:33 +00:00
aarne
3d381a0b56
Konstruktikon up to proportion_i_om
2013-12-05 09:07:11 +00:00
aarne
342dd279d9
continued Konstruktikon up to pred_som
2013-12-04 14:44:13 +00:00
aarne
8567d4df55
started implementing Swedish construction grammar from Språkbanken
2013-12-04 10:03:02 +00:00
kr.angelov
6fa7b1ed99
added script for reading the Susanne treebank
2013-12-04 12:11:41 +00:00
kr.angelov
bf9bffdd69
fix the translation of enable_V2V in DictEngBul
2013-12-04 08:43:53 +00:00
kr.angelov
3f7fd1887b
fix the agreement for V2V in ComplSlash
2013-12-04 08:43:01 +00:00
kr.angelov
c796468766
remove UncNeg from ParseBul since now it is a variant in the English grammar
2013-12-04 08:30:24 +00:00
kr.angelov
ffed8ba854
double negation in Bulgarian
2013-12-04 08:20:40 +00:00
kr.angelov
4d625c7ba5
fix the encoding in CatBul.gf
2013-12-04 08:20:02 +00:00
aarne
996e0141e2
three new uses of "self" in Idion(Eng,Fin,Ger,Swe): SelfAdvVP (he is singing himself), SelfAdVVP (he is himself singing), SelfNP (he himself is singing; I know the president himself)
2013-12-03 18:54:56 +00:00
hallgren
dd78657191
testsuite: Use Cabal's new test suite interface
...
* The old way: a user hook in Setup.hs
* The new way: specify it in gf.cabal
* The test suite is now called gf-tests, and it runs testsuite/run.hs.
* You can run it manually with 'runhaskell testsuite/run.hs'. It also runs,
together with rgl-tests, when you do 'cabal test'
* Currently only 9 of 34 tests pass. Many failures have silly causes:
- Error messages that look slightly different
- Same output but in a different order
- Absolute paths in output
2013-12-03 17:13:39 +00:00
hallgren
9118f72fda
testsuite: use forward slashes in paths
2013-12-03 16:59:33 +00:00
aarne
938587c159
top-level access to contracted auxiliaries in ExtraEng. Introduced them as variants in ParseEng.
2013-12-03 14:52:12 +00:00
gregoire.detrez
23f13d5b55
Fix bescherelle tests broken (True/False order)
2013-12-03 14:29:36 +00:00
aarne
302e2d3ebd
introduced contracted auxiliaries in English. So far only available internally in the tables created from Cl. TODO: make them accessible on top level in Extra; use them as variants in Parse. Also the use in QCl needs some more work: we can say "he's here", "I'm here", "where's he" but not "'s he here", "where'm I".
2013-12-03 13:54:57 +00:00
aarne
e0ded7e7e8
changed the order of Prelude.Bool to False | True. This is how it is in Haskell to create expected Ord and Enum. Now it also gives a better default for English clause linearizations, as False = uncontracted.
2013-12-03 13:52:52 +00:00
aarne
1778cd7c19
removed the unlines-lines wrapper from Lexing.unlexer to prevent empty lines when an unlexer (such as -bind or -unchars) is used as an option in linearization. Don't know really why the input had been broken into lines in the first place. You can see the effect by importing LangEng and running "gr -cat=Cl | l -table -bind" before and after recompiling GF.
2013-12-03 13:27:22 +00:00
kr.angelov
98e0f79324
fix in inflection_en.xml
2013-12-03 12:15:06 +00:00
kr.angelov
5d93c1d4de
split teacher_N into two genders
2013-12-03 10:39:45 +00:00
kr.angelov
ff5dcf0f6a
FeatN and FeatN2 in English now show the gender if it is masculine or feminine
2013-12-03 09:05:20 +00:00
kr.angelov
41642e8d30
in DictEng all hyphenated words are again merged into a single token without spaces. This is necessary because there is no lexer anymore
2013-12-03 08:31:04 +00:00
kr.angelov
63c779f844
forgoten entry in DictEngAbs.gf
2013-12-03 08:28:09 +00:00
john.j.camilleri
f7e91e06c1
Maltese RG: Fix apposition. Add ExtAdvNP & ExtAdvVP. Fix adjective order.
2013-12-03 08:19:38 +00:00
kr.angelov
2356aa7e65
one big patch with several changes in the different dictionaries
...
1. the duplicated variants in the French entries are merged
2. ~150 abstract words are split into masculine and feminine entries.
The actual defininitions for English, Bulgarian, French and German differ.
For the other languages they are just copied.
3. fan_N, intelligency_N, character_N and letter_N are split into
different senses. The entries for Bulgarian, Swedish, German and French
are sense disambiguated. For English they are just copied since they
are ambiguous. For the other languages they are copied since I don't
know how to translate them.
2013-12-03 08:14:05 +00:00
inari
299630e95e
fixed good_A in DictEngFre
2013-12-02 15:58:54 +00:00
aarne
385d5f45fc
ui/android/.../Translate.java uses Parse8 (change the name and language list if you need something else)
2013-12-02 13:34:51 +00:00
aarne
4fab9c1bb8
mkInterj in some languages; 'make Parse' in lib/src builds Parse8.pgf
2013-12-02 13:34:07 +00:00
aarne
45787ff1e6
interjections in DictEng Fin and Ger
2013-12-02 11:09:28 +00:00
hallgren
25b3d5adc0
examples/phrasebook/Makefile2: Romanian needs a larger stack
2013-11-29 17:34:09 +00:00
hallgren
7934c0a88b
Commment code and options relating to the old partial evaluator
...
This means that the -old-comp and -new-comp flags are not recognized anymore.
The only functional difference is that printnames were still normalized with
the old partial evaluator. Now that is done with the new partial evaluator.
2013-11-29 16:26:49 +00:00
hallgren
ac16928d87
Minor release/download/developer doc changes
2013-11-29 16:04:52 +00:00
hallgren
537caca039
Move typePredefined from GF.Compile.Compute.AppPredefined to GF.Compile.TypeCheck.Primitives
...
Also move the list of primitives
2013-11-29 15:47:26 +00:00
hallgren
6f590a3f2c
Move checkPredefError from GF.Compile.Compute.ConcreteLazy to GF.Grammar.Macros
...
Also simplified its type.
2013-11-29 14:43:01 +00:00
kr.angelov
d7f3aab994
-optimize-pgf should also apply to the linrefs
2013-11-29 14:25:23 +00:00
kr.angelov
724b2e04e1
fixes in the dictionaries
2013-11-29 13:56:28 +00:00
kr.angelov
938d97fad5
cleanup in LangBul
2013-11-29 13:55:46 +00:00
kr.angelov
4ae1a16a1e
added caching to be able to quickly generate the inflection table for Finnish
2013-11-28 22:06:55 +00:00
hallgren
134f6a200f
examples/foods: remove all -path flags
...
All languages n the Foods grammar compile fine with alltenses.
2013-11-29 13:03:19 +00:00
aarne
3d5f1afde6
added forms to Finnish xml table
2013-11-29 08:21:00 +00:00
aarne
e903f85a90
some missing forms in Fin (agent participle, Inf3 instructives); now also in stemmed version.
2013-11-29 08:05:55 +00:00
aarne
86937017cd
html templates for Finnish noun and verb inflection started
2013-11-28 22:04:30 +00:00
aarne
ece03aca51
added some esoteric verb forms to Fin (not used in resource API but nice to show): potential, passive imperatives, infinitives 2,4,5. Remains to carry out in stemmed/StemFin.
2013-11-28 22:01:38 +00:00
kr.angelov
945650f653
bugfix in the android app
2013-11-28 20:00:17 +00:00
kr.angelov
1c75721871
now the TTS is used only if there is actually a language model. this is better than using English for speaking Swedish
2013-11-28 19:59:03 +00:00
kr.angelov
442b5fb305
a bit of cleanup in the Android app
2013-11-28 19:57:45 +00:00
kr.angelov
953ae7e76d
extension in the template format for inflection tables. This makes it possible to use the templates with Finish
2013-11-28 19:52:31 +00:00
hallgren
dcf07aaad6
GFI: adapt to character encoding changes
...
GF.Compile.Coding is not used any more.
2013-11-28 13:55:08 +00:00
hallgren
4ef30ca450
SimpleEditor.Convert: adapt to recent character encoding changes
...
Things got simpler!
2013-11-28 13:27:45 +00:00
aarne
6c0498c479
changed annotations in DictEngFin: --UNCHK for unchecked entries, ---ARB for arbitrary choices that should be treated by separating senses; many other old annotations suppressed, but most informative ones preserved
2013-11-28 13:27:12 +00:00
kr.angelov
99ac055997
fixes in the dictionaries
2013-11-28 13:16:03 +00:00
kr.angelov
35580255c3
the Android App now show the valency patterns for verbs in English, Bulgarian and Swedish
2013-11-28 12:48:55 +00:00
aarne
ab90b3c7ef
added linref's to Ger Hin Romance
2013-11-28 08:05:58 +00:00
aarne
6401a37e21
Translate grammar for Ger and Hin added. Some functions in Ger phrasebook need to be commented out to compile. Now a system for 7 languages can be built, but including Fre as well is too heavy on my laptop although it can be compiled separately.
2013-11-28 08:03:50 +00:00
kr.angelov
f49a8df60c
changes in the parallel dictionaries
2013-11-27 22:18:22 +00:00
kr.angelov
9de4812482
better dictionary visualization in the Android App
2013-11-27 22:16:05 +00:00
aarne
848573afdc
555 new words checked in DictEngFin; latin1 flags in some esoteric files
2013-11-27 19:22:37 +00:00
hallgren
7215991e9b
Adding an alternate style for the GF home page
2013-11-27 15:32:25 +00:00
kr.angelov
38b4a88c2b
minor tweaks in the Android UI
2013-11-27 12:37:55 +00:00
kr.angelov
105071d11e
fix the character encoding problem in the web view in the Android UI
2013-11-27 12:37:15 +00:00
kr.angelov
3509a8d4cc
added API in the C runtime and the Java binding for checking whether a given function is linearizable in a given language. This is used in the Android UI for better vizualizations
2013-11-27 12:35:11 +00:00
kr.angelov
e68067a83c
update the project files for the Java binding
2013-11-27 12:34:33 +00:00
kr.angelov
085808513d
space leak in the Java binding
2013-11-27 12:34:06 +00:00
hallgren
a617e50d95
Represent identifiers as UTF-8-encoded ByteStrings
...
This was a fairly simple change thanks to previous work on making the Ident
type abstract and the fact that PGF.CId already uses UTF-8-encoded
ByteStrings.
One potential pitfall is that Data.ByteString.UTF8 uses the same type for
ByteStrings as Data.ByteString. I renamed ident2bs to ident2utf8 and
bsCId to utf8CId, to make it clearer that they work with UTF-8-encoded
ByteStrings.
Since both the compiler input and identifiers are now UTF-8-encoded
ByteStrings, the lexer now creates identifiers without copying any characters.
**END OF DESCRIPTION***
Place the long patch description above the ***END OF DESCRIPTION*** marker.
The first line of this file will be the patch name.
This patch contains the following changes:
M ./src/compiler/GF/Compile/CheckGrammar.hs -3 +3
M ./src/compiler/GF/Compile/GrammarToPGF.hs -2 +2
M ./src/compiler/GF/Grammar/Binary.hs -5 +1
M ./src/compiler/GF/Grammar/Lexer.x -11 +13
M ./src/compiler/GF/Infra/Ident.hs -19 +36
M ./src/runtime/haskell/PGF.hs -1 +1
M ./src/runtime/haskell/PGF/CId.hs -2 +3
2013-11-26 16:12:03 +00:00
hallgren
30fc46e934
Change how GF deals with character encodings in grammar files
...
1. The default encoding is changed from Latin-1 to UTF-8.
2. Alternate encodings should be specified as "--# -coding=enc", the old
"flags coding=enc" declarations have no effect but are still checked for
consistency.
3. A transitional warning is generated for files that contain non-ASCII
characters without specifying a character encoding:
"Warning: default encoding has changed from Latin-1 to UTF-8"
4. Conversion to Unicode is now done *before* lexing. This makes it possible
to allow arbitrary Unicode characters in identifiers. But identifiers are
still stored as ByteStrings, so they are limited to Latin-1 characters
for now.
5. Lexer.hs is no longer part of the repository. We now generate the lexer
from Lexer.x with alex>=3. Some workarounds for bugs in alex-3.0 were
needed. These bugs might already be fixed in newer versions of alex, but
we should be compatible with what is shipped in the Haskell Platform.
2013-11-25 21:12:11 +00:00
hallgren
1ae58146cd
examples/phrasebook: add Makefile2 for parallel grammar compilation
...
Makefile2 specificies the dependencies accurately enough that you can use
make's support for parallel compilation. Run
make -f Makefile2 -j
to utilize all the cores in your computer to significantly speed up the
creation of Phrasebook.pgf.
2013-11-26 16:32:38 +00:00
hallgren
d55a3f9d6e
examples/letter: convert grammar files to UTF-8
2013-11-26 12:52:05 +00:00
kr.angelov
c247aa6791
added translations of outside in DictEngBul
2013-11-26 10:24:32 +00:00
hallgren
1735dcf055
GF home page: mention upcoming default character encoding change
2013-11-25 20:11:11 +00:00
hallgren
06ed4cc263
Setup.hs: avoid a problem with Cabal-1.18
...
In Cabal-1.18, the build command takes some new arguments. The Setup.hs script
should not die if these are present.
2013-11-25 20:03:57 +00:00
hallgren
7d54466310
Document the upcoming default character encoding change in the release notes
2013-11-25 19:47:05 +00:00
hallgren
fc2f5b0a1a
Add explicit character encoding specifications in 39 more RGL modules
...
To silence warnings and avoid potential problems after changing the default
encoding to UTF-8.
2013-11-25 18:17:12 +00:00
kr.angelov
1c34005ffc
a few words in DictEngBul.gf
2013-11-25 10:40:23 +00:00
hallgren
b237996eb3
examples/phrasebook: adding --# -coding=latin1 to 18 modules
...
Adding coding pragmas
--# -coding=latin1
so that grammars will continue to work when we change the default character
encoding to UTF-8.
2013-11-22 17:47:50 +00:00
hallgren
a24d8a9506
lib/src: adding --# -coding=latin1 to 119 RGL modules
...
Adding coding pragmas
--# -coding=latin1
so that grammars will continue to work when we change the default character
encoding to UTF-8.
2013-11-22 17:26:00 +00:00
hallgren
1272015873
examples/foods: add --# -coding=latin1
...
Adding coding pragmas
--# -coding=latin1
so that grammars will continue to work when we change the default character
encoding to UTF-8.
2013-11-22 17:21:36 +00:00
kr.angelov
210a813d1c
fix in the GF keyboard for Android
2013-11-22 13:37:12 +00:00
kr.angelov
c119627dfc
fix the export for CFG grammars with BIND, SOFT_BIND and nonExist
2013-11-22 13:36:14 +00:00
kr.angelov
4254b101f4
the GF syntax for identifiers is exteded with quoted forms, i.e. you could write for instance 'ab.c' and then everything between the quites is identifier. This includes Unicode characters and non-ASCII symbols. This is useful for automatically generated GF grammars.
2013-11-22 13:30:18 +00:00
kr.angelov
cddc19a5ad
bugfix in the debug mode for the parser
2013-11-22 12:26:49 +00:00
hallgren
14bbbf1f27
Some refactoring in GF.Compile and GF.Compile.GetGrammar
...
Move source transcoding function GF.Compile to GF.Compile.GetGrammar, in
preparation for doing transcoding before lexing.
2013-11-21 16:27:26 +00:00
hallgren
c8d2ed96fd
Some more monadic lifting changes
2013-11-21 15:01:04 +00:00
kr.angelov
e77c19c783
bugfix in the C runtime
2013-11-21 14:31:28 +00:00
kr.angelov
85e238f824
the Java binding for lookupMorpho should release the local references created in a loop
2013-11-21 14:29:47 +00:00
gregoire.detrez
2f877b760b
Add a small readme to the rgl test suite
2013-11-21 10:32:26 +00:00
gregoire.detrez
e63e8d9765
Add a test runner and a test suite fore the rgl
...
The test suite tests the French Bescherelle paradigms.
2013-11-21 09:55:30 +00:00
aarne
4ba116d125
a shortcut in SentenceRomance.SlashVP to make it more easily compilable. This compromises the correctness of negation with polarity elements (e.g. the omission of "pas" in French when "rien" is present) in slash-type questions and polarity items. The correct version is left in a comment and waiting for optimizations that would enable compiling it into PMCFG.
2013-11-21 08:48:08 +00:00
aarne
254b2f0f40
optimized VerbRomance.SlashV2VNP to make it compilable
2013-11-20 15:08:34 +00:00
aarne
ab8b220dc8
more stack in Translate Makefile
2013-11-20 12:48:53 +00:00
kr.angelov
b255f19b63
fix in the Python binding
2013-11-20 09:54:37 +00:00
hallgren
ab8037c3c6
Removed some code duplication in GF.Compile.Update
2013-11-20 01:26:41 +00:00
hallgren
c8cbd4477f
Reduced clutter in monadic code
...
+ Eliminated vairous ad-hoc coersion functions between specific monads
(IO, Err, IOE, Check) in favor of more general lifting functions
(liftIO, liftErr).
+ Generalized many basic monadic operations from specific monads to
arbitrary monads in the appropriate class (MonadIO and/or ErrorMonad),
thereby completely eliminating the need for lifting functions in lots
of places.
This can be considered a small step forward towards a cleaner
compiler API and more malleable compiler code in general.
2013-11-20 00:45:33 +00:00
hallgren
c29326d074
GF shell: improved system_pipe (aka "?") command
...
1. No temporary files are created.
2. The output of a system command is read lazily, making it feasible to
process large or even infinite output, e.g. the following works as
expected:
? "yes" | ? "head -5" | ps -lextext
2013-11-19 15:18:58 +00:00
aarne
c58b6d8a60
added a missing path to SymbolUrd, previously causing an error message when compiling the rgl
2013-11-19 10:49:42 +00:00
kr.angelov
33a76f1cd5
bugfix in the robust parser
2013-11-18 09:05:27 +00:00
kr.angelov
2dd04b2b2f
add gu_buf_insert in libgu
2013-11-18 09:05:09 +00:00
inari
c92372c381
fix empty strings in DictEngFre
2013-11-15 15:11:52 +00:00
kr.angelov
fb8de0e8ea
fixes in the C runtime to avoid warnings when compiling on MacOS
2013-11-15 10:03:22 +00:00
kr.angelov
684a3b8df5
pgf_read should open the grammar file in binary mode to prevent the Windows runtime from messing up the content.
2013-11-15 09:04:00 +00:00
kr.angelov
254aba33a1
pgf_reader_done should do nothing if the reading has failed
2013-11-15 08:59:18 +00:00
kr.angelov
6d94bffc87
NumeralLav should use restricted inheritance from CatLav
2013-11-15 08:04:51 +00:00
kr.angelov
d7dfa01bb0
add additional options for compiling the Java binding on Windows (suggested by Normunds)
2013-11-15 07:48:02 +00:00
kr.angelov
4874165cea
two senses of ring_V2 which have different morphology in English
2013-11-14 21:55:40 +00:00
kr.angelov
230f7d5e01
three words in DictEngBul
2013-11-14 21:55:16 +00:00
kr.angelov
58b47c2766
added date_3_N for the sense of "meeting". also added comments for the meanings of a few sense disambiguated words in the abstract syntax. The format of the comments follows the Haddock convention
2013-11-14 20:15:02 +00:00
kr.angelov
4b919ba26f
a number of changes in the dictionaries. marvellous_A is merged with marvelous_A. organise as alternative spelling of organize_V2. A few new Bulgarian words. DictEngSwe.gf is now disconnected from DictSwe.gf and follows the same convention as the English, Bulgarian and German dictionaries.
2013-11-14 18:03:33 +00:00
kr.angelov
05cec7c67d
add VerbBul.AdVVPSlash
2013-11-14 13:36:34 +00:00
hallgren
ec82c3af9a
gfse: re-enable example-based grammar construction
2013-11-14 12:54:25 +00:00
kr.angelov
bfd555b452
ring was not marked as irregular verb in the dictionary
2013-11-13 21:00:08 +00:00
kr.angelov
644c2f40d4
fix the valencies of vote and spread_out in the dictionary
2013-11-13 20:59:28 +00:00
kr.angelov
90e2f11045
now ago_Prep is postposition in English
2013-11-13 20:58:08 +00:00
kr.angelov
a18fccd338
add two files from the Android app that were forgoten
2013-11-13 17:27:11 +00:00
kr.angelov
041630e8b1
split degree_N into three senses and add licentiate_N and phd_N in Bulgarian
2013-11-13 16:39:04 +00:00
kr.angelov
63a90f34af
bugfix in the C runtime which had made the parser up to 200 times slower for some sentences
2013-11-13 15:15:28 +00:00
kr.angelov
f904846f0f
few more Bulgarian words
2013-11-13 13:06:16 +00:00
kr.angelov
301fbb0916
typo in DictEngBul
2013-11-13 12:39:21 +00:00
kr.angelov
5c6e0ba964
change in DictEngBul
2013-11-13 12:32:28 +00:00
kr.angelov
a47d37ca67
the dictionary view in the Android app now shows both the source and the target linearizations
2013-11-13 12:29:10 +00:00
kr.angelov
3d410e0fd7
minor bugfix in the translator keyboard
2013-11-13 10:59:03 +00:00
kr.angelov
13084dab4f
now the Android App has a translation keyboard which allows the translations to be done from inside another application
2013-11-13 10:45:20 +00:00
kr.angelov
d1a0e6ca9d
split fire_N into two senses fire_1_N and fire_2_N
2013-11-13 08:59:03 +00:00
hallgren
4a5b9ca8cb
Fix Issue 60: Weird output when executing system commands from the gf shell
...
The system_pipe (aka "?") command creates a temporary file _tmpi containing
the input of the system command. It *both* appends _tmpi as an extra argument
to the system command line *and* adds an input redirection "< _tmpi". (It
also uses and output redirection "> _tmpo" to captures the output of the
command.)
With this patch, the _tmpi argument is no longer appended to the command line.
This allows system_pipe to work with pure filters, such as the "tr" commands,
but it will no longer work with commands that require an input file name.
(It is possible to use write_file instead...)
TODO: it would also be fairly easy to eliminate the creation of the _tmpi and
_tmpo files altogether.
2013-11-12 18:07:38 +00:00
kr.angelov
d40f0e292e
document the four new language features in the reference manual
2013-11-12 16:05:02 +00:00
hallgren
12d86604b2
Fix Issue 68: Cannot use an overloaded operator in table defined using square brackets
...
Add proper type checking of course-of-values tables:
+ Make sure that all subterms have the same type.
+ Resolve overloaded operators.
Note though that the GF book states in C.4.12 that the "course-of-values
table [...] format is not recommended for GF source code, since the
ordering of parameter values is not specified and therefore a
compiler-internal decision."
2013-11-12 13:55:38 +00:00
hallgren
a3de4b6e86
GF.System.Chatch: remove redundant #include
2013-11-12 13:51:11 +00:00
kr.angelov
7585d68dd8
use SOFT_BIND to glue the hyphen in the comparative and superlative forms of the Bulgarian adjectives
2013-11-12 10:34:07 +00:00
kr.angelov
6449bbad9c
use BIND to glue the digits in IIDig for the Bulgarian, English and Swedish grammmars
2013-11-12 10:28:46 +00:00
kr.angelov
d6f73f175f
use SOFT_BIND in the Bulgarian and Swedish grammars
2013-11-12 10:18:35 +00:00
kr.angelov
4b80a15b6c
fixes in DictEngBul and one more paradigm in ParadigmsBul
2013-11-12 09:58:39 +00:00
kr.angelov
1d7b6f44b6
added Predef.SOFT_BIND. This special token allows zero or more spaces between ordinary tokens. It is also used in the English RGL to attach the commas to the previous word.
2013-11-12 09:54:57 +00:00
hallgren
2da15f558e
Fix Issue 41: "," in context-free rules causes parsing failure
...
The CF parser in GF.Grammar.CF assigns function names to the rules, but they
are not always unique, causing rules to be dropped in the follwing CF->GF
conversion. So a pass has been added before the CF->GF conversion, to make
sure that function names are unique.
A comment says "rules have an amazingly easy parser", but the parser looks
like quick hack. It is very sloppy and silently ignores many errors, e.g.
- Explicitly given function names should end with '.', but if the do not, the
last character in the function name is silently dropped.
- Everything following a ';' is silently dropped.
2013-11-11 16:50:43 +00:00
hallgren
d1314dcbcd
Fix issue 61: GF shell cannot parse a system command ending with a space
...
Trailing spaces caused the command line parse to be ambiguous, and
ambiguous parses were rejected by function readCommandLine, causing
the cryptic error message "command not parsed".
2013-11-11 15:13:24 +00:00
aarne
827bd7aee9
some fixes in Fin and Swe translation dictionaries
2013-11-10 09:22:52 +00:00
aarne
eaab0660bd
added voice parameter to Scandinavian VP to enable PassVPSlash with the s-passive; some additions and corrections in DictEngSwe
2013-11-07 21:41:58 +00:00
kr.angelov
6729cca568
factor of 3 speedup for the translation without slowing down the grammar loading. The parser still seems to be 8 times slower than before I introduced the BIND. At least the Android UI now feels a lot more comfortable
2013-11-07 11:14:32 +00:00
kr.angelov
03e7c287fd
bugfix in the binary search implementation in libgu
2013-11-07 11:13:47 +00:00
kr.angelov
ceb156b93b
remove redundant type signature in gu/seq.h
2013-11-07 09:47:07 +00:00
kr.angelov
19700cb52d
a few words in DictEngBul
2013-11-07 09:22:43 +00:00
kr.angelov
fe41356a9d
fix for the memory allocation in the jitter which should work for Windows.
2013-11-07 08:47:35 +00:00
kr.angelov
cbfa65c7ae
the 'Release' configuration in Eclipse is renamed to 'Release (posix)'. In addition now there is 'Release (mingw)' for Windows.
2013-11-07 08:36:17 +00:00
kr.angelov
4265a31003
added #ifdef to detect MinGW in the Java binding and to import the right header for alloca
2013-11-07 08:08:41 +00:00
kr.angelov
d0c06ae2b5
fix in DictEng and DictEngBul
2013-11-07 06:36:03 +00:00
kr.angelov
eb30f5308b
fixes in DictEng, DictEngBul and DictEngSwe
2013-11-06 21:17:21 +00:00
kr.angelov
125aaa9edf
three words fixed in DictEngSwe
2013-11-06 20:36:16 +00:00
kr.angelov
30e49cbd71
more compact inflection tables for Swedish
2013-11-06 20:24:36 +00:00
aarne
2075a77a08
changed startcat in Translate to get robustness; typo in DictEngSwe
2013-11-06 17:25:39 +00:00
aarne
ff36d11cf7
added robustness flags to Translate; added or fixed a number of words in DictEngSwe detected in PhD regulations
2013-11-06 16:26:58 +00:00
hallgren
09e64e92e4
minibar: fix a mistake the previous bracket fix
2013-11-06 16:54:21 +00:00
hallgren
dcbe3533d0
minibar: adapt to changed bracket structure in linearization output
2013-11-06 16:45:24 +00:00
kr.angelov
6c71830c10
fix in the parsing with pre
2013-11-06 16:25:25 +00:00
kr.angelov
cab341c3d9
fix DictEngSwe.here_Adv
2013-11-06 15:16:21 +00:00
kr.angelov
11d7b1324f
added inflection_sv.xml
2013-11-06 14:46:57 +00:00
kr.angelov
5739785c77
bugfix in the Java binding
2013-11-06 14:41:42 +00:00
hallgren
5beded9330
Make PGF.Tree internal
...
The only use of PGF.Tree outside the PGF library was in GF.Command.Commands,
and it was eliminated by using PGF.Expr directly instead.
PGF.Paraphrase still uses PGF.Tree.
2013-11-06 14:29:17 +00:00
hallgren
06453afb1c
Remove PGF.Signature
...
This module should not be part of the public PGF library API, and it was only
used in GF.CompileToAPI, so the code was moved there. The module defined
constFuncs and syntaxFuncs, but only syntaxFuncs was used.
2013-11-06 13:27:29 +00:00
kr.angelov
bd69ad83f7
fix the deserialization of flags from the GFO files
2013-11-06 13:05:51 +00:00
kr.angelov
e783567fa8
remove the beam_size flag from ParseSwe as well
2013-11-06 12:34:39 +00:00
kr.angelov
f85dae2f8f
remove the beam_size flag from the other ParseXXX grammars
2013-11-06 11:02:53 +00:00
kr.angelov
74cb2d1860
use the inflection_cmn.xml in the Android translator
2013-11-06 11:00:39 +00:00
kr.angelov
475f213c99
the content of ParseEngAbs3.probs is now merged with ParseEngAbs.probs. The later is now retrained. Once the grammar is compiled with the .probs file now it doesn't need anything more to do robust parsing. The robustness itself is controlled by the flags 'heuristic_search_factor', 'meta_prob' and 'meta_token_prob' in ParseEngAbs.gf
2013-11-06 10:21:46 +00:00
kr.angelov
d094d671bd
when printing floating literals use %lg instead of %lf for better output
2013-11-06 09:46:29 +00:00
aarne
acefeec541
added a -treebank option to the lc command
2013-11-05 20:42:22 +00:00
aarne
0180ae3929
restored old language codes in android/.../Translator.java (committed by accident in previous patch)
2013-11-05 17:36:21 +00:00
aarne
6bc1baa7f7
linearization by chunks in the GF shell: a new command 'lc' needed because 'l' requires type checking and trees with metavariable function heads don't type check. This will hopefully be a temporary command.
2013-11-05 17:28:47 +00:00
aarne
7e480f1d8a
typo in ParseSwe fixed
2013-11-05 14:56:36 +00:00
aarne
3e159f7d53
some missing Swe functions; ParseEng.who_RP to enable the parsing of "who" as RP, which is now blocked since Eng nouns don't have the human feature marked
2013-11-05 13:53:12 +00:00
hallgren
decd7122de
Eliminate mutual dependencies between the GF compiler and the PGF library
...
+ References to modules under src/compiler have been eliminated from the PGF
library (under src/runtime/haskell). Only two functions had to be moved (from
GF.Data.Utilities to PGF.Utilities) to make this possible, other apparent
dependencies turned out to be vacuous.
+ In gf.cabal, the GF executable no longer directly depends on the PGF library
source directory, but only on the exposed library modules. This means that
there is less duplication in gf.cabal and that the 30 modules in the
PGF library will no longer be compiled twice while building GF.
To make this possible, additional PGF library modules have been exposed, even
though they should probably be considered for internal use only. They could
be collected in a PGF.Internal module, or marked as "unstable", to make
this explicit.
+ Also, by using the -fwarn-unused-imports flag, ~220 redundant imports were
found and removed, reducing the total number of imports by ~15%.
2013-11-05 13:11:10 +00:00
kr.angelov
e6ec23c178
fix which_IQuant and add two more words in DictEngBul.gf
2013-11-05 10:26:03 +00:00
kr.angelov
019a195378
fix in gf.cabal. Data.Binary.IEEE754 needs to be in the other-modules list for the PGF library since otherwise building GF applications will fail
2013-11-05 09:42:22 +00:00
kr.angelov
d2186b71e3
fix the debug mode of the JIT compiler after the refactoring in libgu
2013-11-04 19:33:29 +00:00
kr.angelov
81ef6714db
A simple type checker in the C runtime. Dependent types are not supported yet but HOAS is implemented. The API is accessible from Python as well
2013-11-04 17:10:46 +00:00
kr.angelov
5683367818
bug fix in the linearizer
2013-11-04 12:40:53 +00:00
aarne
6a672f5219
completed most parts of ParseSwe; some dict additions in Eng and Fin
2013-11-03 20:29:40 +00:00
aarne
125826270f
added forms to Swedish present participles to enable the derivation of verbal nouns
2013-11-03 17:14:05 +00:00
aarne
d0a89f3845
added present participles to Scandinavian verbs
2013-11-03 16:48:51 +00:00
aarne
01a98d9a39
some bug fixes in Scand and Fin
2013-11-03 11:37:08 +00:00
aarne
a0380013ba
added linref's and fixed some minor things in Scandinavian
2013-11-03 10:27:20 +00:00
kr.angelov
0cb3245e26
linearization for HOAS trees. It should word but we need a type checker in order to test it properly
2013-11-02 12:34:00 +00:00
kr.angelov
b9cf05073f
remove the include of lexer.h from pgf-parse
2013-11-02 11:28:55 +00:00
kr.angelov
58b20a7e2e
fix the parseval metric after the redesign in the C runtime
2013-11-01 17:36:22 +00:00
kr.angelov
72e0c89abe
bugfix in the linearizer
2013-11-01 17:26:35 +00:00
hallgren
e7073de883
Restore ExtraFre to AllFre
...
ExtraFre was removed from AllFre yesterday for some reason, but it is needed
to compile PhrasebookFre, so I restored it.
2013-11-01 16:30:22 +00:00
kr.angelov
330e33a386
make gu_exn_is_raised non inlined. this is useful to make it callable from Haskell
2013-11-01 16:38:16 +00:00
aarne
fcb5b173f7
changed whichSg/Pl_IDet to which_IQuant in DictEngAbs and Eng, Fin, Swe, Chi implementations
2013-11-01 13:49:21 +00:00
aarne
63806bf87e
left AR's translation project names in android/.../Translator.java as comments instead of leaving the changes uncommitted
2013-11-01 13:46:51 +00:00
kr.angelov
d7cd5ba195
fix the robust parser for unknown tokens
2013-11-01 13:05:17 +00:00
kr.angelov
ffa143f1d2
bugfix in linearizer.c
2013-11-01 11:02:12 +00:00
kr.angelov
9b0f5ea449
ExtraEng.MkVPS should add the extra position field
2013-11-01 10:58:52 +00:00
kr.angelov
8c6e6f7eb8
more in DictEngBul
2013-11-01 09:55:43 +00:00
kr.angelov
1bd9778953
lindef and linref in the Bulgarian grammar
2013-11-01 09:02:20 +00:00
kr.angelov
b05f61e6c6
remove the include to mman.h in jit.c since it doesn't seem to be used
2013-11-01 07:46:24 +00:00
kr.angelov
f2d0d28812
add the forgoten close_arrow.png
2013-10-31 19:04:53 +00:00
kr.angelov
1156ed66cb
trim the input string in the conversation view for better lexical matching
2013-10-31 18:04:02 +00:00
kr.angelov
0b74410b01
make the input mode in the Android translator persistent
2013-10-31 17:34:01 +00:00
hallgren
d7300ba9fb
Add a cabal flag to use the standard binary package
...
The standard binary package has improved efficiency and error handling [1], so
in the long run we should consider switching to it. At the moment, using it is
possible but not recommended, since it results in incomatible PGF files.
The modified modules from the binary package have been moved from
src/runtime/haskell to src/binary.
[1] http://lennartkolmodin.blogspot.se/2013/03/binary-07.html
2013-10-31 15:43:12 +00:00
aarne
43554552aa
corrected DictEng(Chi,Fin,Swe).which_IQuant to whichSg_IDet and whichPl_IDet as in DictEngAbs; fixed ParseSwe.ComplVV with correct anteriority and polarity
2013-10-31 14:55:05 +00:00
kr.angelov
7d55b4c685
update the TAG for the MainActivity
2013-10-31 14:18:39 +00:00
kr.angelov
70180a00d5
store the source and target languages for the Android UI in a preference file
2013-10-31 14:16:37 +00:00
kr.angelov
f4aac34cf8
when the phone is in silent mode the UI should not use the TTS
2013-10-31 13:38:39 +00:00
kr.angelov
bd7b9b0168
fix the parsing error in the Android app
2013-10-31 13:22:53 +00:00
kr.angelov
90cc7b8379
fixed utf-8 decoding problem in libgu
2013-10-31 13:20:12 +00:00
gregoire.detrez
368cc301d1
Small fix in French dict
2013-10-31 12:52:23 +00:00
gregoire.detrez
ae50c0c605
Remove dictionaries from AllXx
2013-10-31 12:36:19 +00:00
kr.angelov
8f565302cc
bracketedLinearize in Python is now using the linref
2013-10-31 09:04:07 +00:00
kr.angelov
40f0ceb2ef
use Simul instead of Anter in linref ClSlash
2013-10-31 08:35:39 +00:00
kr.angelov
8019d3a615
use linref in the C linearizer. The robust linearization is now fully supported
2013-10-30 21:43:52 +00:00
kr.angelov
7a618204c4
fix the lindefs for verbs and VPs in CatEng
2013-10-30 21:42:39 +00:00
kr.angelov
68b40ff0a8
fix the debug mode in the linearizer after the refactoring in libgu
2013-10-30 21:06:55 +00:00
kr.angelov
e50e0de6a1
more lindef and linref definitions in CatEng.gf
2013-10-30 15:23:09 +00:00
gregoire.detrez
fefee01588
Add more dictionary to the compiled RGL
...
Add Swedish and Finnish to be compiled and installed with the RGL
2013-10-30 15:08:40 +00:00
kr.angelov
36a9806d30
added linref for VP in CatEng.gf
2013-10-30 14:44:19 +00:00
kr.angelov
620e880155
linref is now used by the linearizer. The visible change is that the 'l' command in the shell now can linearize discontinuous phrases
2013-10-30 14:42:29 +00:00
gregoire.detrez
9e81b8b224
Add DictFre to AllFre
...
now DictFre is compiled by cabal
2013-10-30 14:24:52 +00:00
hallgren
9b399a1138
GF home page: comment out news from 2012-11 and older
2013-10-30 13:52:42 +00:00
hallgren
acb0b5611e
release-next.t2t: add your notes for the next release of GF here
...
The file will be renamed when the release is made.
2013-10-30 13:44:10 +00:00
kr.angelov
43fb9b3b7a
added the linref construction in GF. The PGF version number is now bumped
2013-10-30 12:53:36 +00:00
kr.angelov
1381d65131
missing binary serialization for PImplArg in the .gfo files
2013-10-30 12:48:58 +00:00
gregoire.detrez
78be477243
Add Estonian to Setup.hs
2013-10-29 18:17:12 +00:00
aarne
1fdc0cc76d
new DictEngSwe: the old one from Folkets lexikon completed with 5k words from Wiktionary
2013-10-28 16:46:49 +00:00
aarne
0997f1e611
some more paradigms for Swe
2013-10-28 16:44:27 +00:00
kr.angelov
56893dbf54
another fix for 'pre'
2013-10-28 13:54:06 +00:00
kr.angelov
453190fcb6
remove very_Adv from Dict*
2013-10-28 13:07:20 +00:00
kr.angelov
ec6ef1aff4
minor fixes in DictEng and DictEngBul
2013-10-28 12:41:03 +00:00
kr.angelov
0f10297346
fix inflection_en.xml
2013-10-28 12:37:37 +00:00
kr.angelov
841880144d
fix the handling of 'pre' in the C runtime
2013-10-28 12:35:37 +00:00
kr.angelov
fad9947aab
bugfix in gu/seq.h
2013-10-28 08:58:36 +00:00
aarne
6c1a22140b
renamed Hindi and Urdu translation dictionaries to DictEngHin and DictEngUrd for the sake of uniformity; chose latest versions from the repository, but there were older versions with different names, which were left as they are.
2013-10-27 20:09:53 +00:00
aarne
ed67c09129
Make entry for TranslateEngChiFinSwe
2013-10-27 16:34:05 +00:00
aarne
27f00964b9
moved DictEngFin from stemmed to main level and checked some critical words for the spoken translator
2013-10-27 16:08:18 +00:00
aarne
8ccf40f8b6
Phrasebook lin's that create punctuation and "please" for NP's overridden, to give uniformity to Translate translations
2013-10-27 15:42:54 +00:00
aarne
8574b77490
fixed Chi ombudsman_N and Scand GenNP.sp
2013-10-27 15:42:14 +00:00
aarne
2abbb55bd4
added TranslateSwe to the Parse+Phrasebook translators
2013-10-27 15:17:10 +00:00
aarne
9afee8afe7
updated DictEngSwe with Folkets lexikon and with 120 most common missing Penn treebank words, the latter manually. Folkets lexicon needs some manual revision (which is the reason not just to link to the automatically generated version).
2013-10-27 15:13:29 +00:00
aarne
6711201e0d
added ext field to Eng.VP for extraposed sentences etc, which should appear after adverb: "she said yesterday that he was ill"
2013-10-25 13:06:21 +00:00
hallgren
ad0e67530b
Functions merge trees into tries in the GF Shell and the PGF web service
...
* In the shell, the new command tt (to_trie) merges a list of trees into a
trie and prints it in a readable way, where unique subtrees are marked with
a "*" and alternative subtrees are marked with numbers.
* In the PGF web service, adding the parameter trie=yes to the parse and
translate commands augments the JSON output with a trie.
Example to try in the shell:
Phrasebook> p -lang=Eng "your son waits for you" | tt
2013-10-24 17:29:02 +00:00
aarne
2aa5736cb4
merged sysu/Assign* with DictEngChi now that they have been checked; fixed some multicharacter problems
2013-10-23 16:13:21 +00:00
hallgren
1fcae658ac
Commands.hs: fix a copy-paste error in the documentation of put_tree
2013-10-24 14:32:11 +00:00
kr.angelov
2bff7d8c21
more in DictEngBul
2013-10-24 08:04:59 +00:00
kr.angelov
5d993bbdad
put was used as regular verb in few places in DictEng
2013-10-23 15:33:33 +00:00
kr.angelov
4c28dc8de0
added dummy inflection template for Chinese. It needs better names for the different inflection forms
2013-10-23 15:23:54 +00:00
kr.angelov
244708e0a9
the first version of the Android's morphology browser
2013-10-23 15:10:13 +00:00
kr.angelov
6d5ff6ee62
fix in DictUrd to make it compile
2013-10-23 15:08:57 +00:00
kr.angelov
eb8e830e66
a few fixes in DictEngBul and DictEng
2013-10-23 15:07:43 +00:00
kr.angelov
c98a9a3266
tabular linearization in the C and Java runtimes
2013-10-23 14:49:28 +00:00
hallgren
5dec00c1d1
GF home page: update PGF library API link
...
GF 3.5 is now on Hackage and the automatic generation of Haddock documentation
succeeded for the first time in a long time!
2013-10-23 14:24:04 +00:00
aarne
d53f46c5fb
Est paradigm documentation in Synopsis
2013-10-22 13:14:20 +00:00
inari
7c7b35ef3b
Add DictEst to Makefile
2013-10-22 12:40:19 +00:00
inari
34d15b505d
fixes to estonian
2013-10-22 12:23:52 +00:00
aarne
098619ceee
added missing PartNP and a classifier to CountNP in Chi
2013-10-22 06:06:25 +00:00
kr.angelov
cf05e78712
clumsy fix for nonExist in pgf-translate
2013-10-21 12:35:34 +00:00
kr.angelov
e3dc98dd0f
bugfix for the custom literals in the C runtime
2013-10-21 12:34:57 +00:00
kr.angelov
8103703858
fix the grammar serialization for nonExist and BIND
2013-10-21 10:03:43 +00:00
aarne
2ada3ff73a
Qiao's corrections to SYSU assignements.
2013-10-20 10:13:50 +00:00
aarne
3e978f2db1
more general Pinyin file generation in Chi
2013-10-19 16:00:07 +00:00
aarne
7a7b7309ef
time adverb word order in Chi ; mkDet in MakeStructural Swe
2013-10-19 15:40:27 +00:00
aarne
075796dbe5
fixed the case of substantival possessives in Eng
2013-10-19 10:07:26 +00:00
aarne
a8fcbef850
Added Est to resource demo. Also have_V2 which was missing in the demo.
2013-10-18 12:17:52 +00:00
aarne
c8c6a6a043
news about Estonian
2013-10-18 12:02:00 +00:00
aarne
53a88f3318
added Estonian to Synopsis and other documentation
2013-10-18 12:01:26 +00:00
aarne
90ee7c7288
Estonian - the 29th complete RGL language. Copied from Kaarel Kaljurand's and Inari Listenmaa's repository in https://github.com/GF-Estonian/GF-Estonian , where later developments will continue to take place.
2013-10-18 11:45:06 +00:00
aarne
02cbf49516
some fixes in synopsis example display
2013-10-18 08:48:18 +00:00
aarne
fdfc8d4dc2
removed that-less variants of ComplVS and SlashV2S from VerbEng, and added constructors ComplBareVS and SlashBareV2S to Extra, so that the library user can control the presence of "that".
2013-10-18 08:45:56 +00:00
aarne
34bc94e76b
corrections in DictEngChi
2013-10-16 14:46:19 +00:00
aarne
34d9a8f3e3
fixed one forgotten Chinese char in pinyin/ResChi
2013-10-16 13:55:32 +00:00
aarne
8f9adc6d22
revised Pinyin versions of Chi files: now called Chi instead of Cmn for simplicity, but resideing in chinese/pinyin, which should appear in path before chinese and alltenses when used
2013-10-16 13:46:18 +00:00
aarne
7ca6c61b52
ResDut was removed by mistake - now it is back
2013-10-16 11:46:31 +00:00
aarne
f0d9b9f6ff
tagged version of Dut: an experiment for glossing
2013-10-15 13:07:07 +00:00
aarne
06e01b0fe9
moved Chi.GenNP to its proper place
2013-10-13 20:00:04 +00:00
aarne
abfa2ee536
completed PhrasebookChi with many expressions, using Google translate as main source
2013-10-12 20:32:05 +00:00
aarne
968c65266f
added TranslateChi and TranslateFin
2013-10-12 18:54:47 +00:00
kr.angelov
9bcc566c1a
few more Bulgarian words
2013-10-13 08:09:39 +00:00
kr.angelov
9e1ed234fc
a big patch which renames a few functions in the Bulgarian morphology. The old names are deprecated
2013-10-12 17:00:47 +00:00
kr.angelov
add86fcf1d
add keyboard input in the android app
2013-10-12 12:28:23 +00:00
aarne
e1c7aaedb4
added links to main index.html
2013-10-11 12:58:53 +00:00
aarne
0052026cc6
Chi phrasebook bootstrapped from Tha; far from finished
2013-10-11 12:16:03 +00:00
aarne
e4a090cd1b
harmonized the paths of Translate*.gf to guarantee the usage of the same DictEngAbs
2013-10-11 11:24:58 +00:00
aarne
d44183b668
added TranslateBul and translator/Makefile
2013-10-11 08:36:09 +00:00
aarne
ebdc70a22d
integration of Parse with Phrasebook, to get idiomatic translations whenever possible
2013-10-11 08:19:04 +00:00
kr.angelov
72fdb2dc7d
more words in DictEngBul
2013-10-11 08:18:00 +00:00
kr.angelov
685ccbda8b
synchronize the target languages in the main activity with the one in the lexicon activity
2013-10-11 08:16:51 +00:00
kr.angelov
167f3f4af3
better lexicon view
2013-10-11 08:15:33 +00:00
kr.angelov
3f3c5d968a
make MorphoAnalysis serializable
2013-10-11 08:10:58 +00:00
kr.angelov
7b1db5d36e
readExpr in the Java binding
2013-10-11 08:10:04 +00:00
aarne
24c64d918e
added 'make ParseFre' and 'make ParseEngFre' to lib/src/Makefile; added the script french/MkWikt.hs
2013-10-10 23:32:05 +00:00
aarne
85f7450427
DictEngFre 19k lemmas from Wiktionary; old one moved to V1_DictEngFre; created ParseFre for robust translation (syntax not yet complete)
2013-10-10 23:18:25 +00:00
aarne
812b22f7c3
fixed progressives and vocative commas in Chi
2013-10-10 17:56:05 +00:00
kr.angelov
fe44835820
an improvised dictionary mode in the Android translator
2013-10-10 15:39:52 +00:00
aarne
506c5a5b4e
added interjection "hi" to Eng and Chi
2013-10-09 16:16:17 +00:00
kr.angelov
e52e8cf1d6
bugfix in ParseBul
2013-10-10 07:49:06 +00:00
kr.angelov
76014aa2cc
added lookupMorpho in the Java binding
2013-10-09 19:39:50 +00:00
kr.angelov
835a15a343
fix in the Java binding
2013-10-09 19:37:57 +00:00
aarne
d8335eabff
a set of interjections added to DictEngChi
2013-10-09 15:53:31 +00:00
kr.angelov
82544f74c0
avoid warning in parser.c when debugging is OFF
2013-10-09 13:41:02 +00:00
kr.angelov
3014b1672b
lexer.c is now exluded from the makefile for Android since the new runtime doesn't need lexing
2013-10-09 12:11:37 +00:00
kr.angelov
b058fdd17d
a major redesign in the C runtime. The parser and the linearizer now fully support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode
2013-10-09 12:08:51 +00:00
aarne
0736a9a2ea
new extra Chi constructions for HSK
2013-10-09 09:52:42 +00:00
kr.angelov
eff9a3011c
added gu_is_space in gu/utf8.h. this helps to avoid the dependency on the broken unicode library for C.
2013-10-09 08:37:42 +00:00
kr.angelov
2c1e049153
remove libjpgf.so from darcs
2013-10-08 14:13:00 +00:00
aarne
3ef9eea5eb
proper parameters in Chi IDet
2013-10-08 19:14:56 +00:00
kr.angelov
adc952a61d
fix the robust parser after the change of GuString
2013-10-08 15:00:42 +00:00
aarne
0e14ae92e8
Chinese verbal adjective predication and repeated verb questions
2013-10-08 14:19:16 +00:00
kr.angelov
227b9ef0a8
rename the Android translator from GFVoiceExample to GFTranslator
2013-10-08 14:10:17 +00:00
kr.angelov
547803f3b6
a quick hack in the Android translation for parsing Chinese
2013-10-08 14:08:40 +00:00
kr.angelov
527ea8fc5c
bugfix in GNU lightning for ARM
2013-10-08 13:33:18 +00:00
kr.angelov
dfb5a78a8d
changes in the English-Bulgarian grammar
2013-10-08 11:17:15 +00:00
kr.angelov
05b483cf40
bugfix in ConjunctionBul
2013-10-08 11:14:23 +00:00
kr.angelov
dfd58065be
use qualified names in ParadigmsBul to avoid warnings
2013-10-07 18:57:27 +00:00
kr.angelov
b0a6e22c53
fix the digits in NumberalBul
2013-10-07 18:50:58 +00:00
kr.angelov
2780ea839b
ensure that the grammar is loaded only once even if the main activity is recreated
2013-10-07 11:50:58 +00:00
kr.angelov
f42bd89676
ensure that the grammar is loaded only once
2013-10-07 11:26:53 +00:00
kr.angelov
872a14d7ca
in case of parse error report the token on Android
2013-10-07 10:11:41 +00:00
kr.angelov
6aa3ade82a
remove the binaries for the grammar, the .so file and .jar file in the Android App. These should be compiled from sources
2013-10-07 09:58:47 +00:00
kr.angelov
5324ce5de3
remove the custom background in activity_main.xml since it is not backward compatible with older versions of Android
2013-10-07 09:57:24 +00:00
kr.angelov
f6b708ecab
fix the grammar printer after the change of GuString in libgu
2013-10-07 09:46:35 +00:00
aarne
6a5979a689
using le for AAnter in Chi; adjustments of CompAP rules in Chi
2013-10-06 21:13:31 +00:00
kr.angelov
2623d53963
remove the grammar copying from the Android UI since now we can load grammars from InputStream
2013-10-04 20:31:58 +00:00
bringert
6adc9f7be4
Add new Android voice translator sample app
...
This adds a simple voice translator Android app that uses
the JNI bindings to the PGF C runtime.
Caveats:
- Since the C runtime doesn't compile for Android right now,
I've bundled an old copy, along with its Java bindings.
That should be removed once the C runtime compiels for Android
again.
- Adding an automated build would be nice.
- Replacing the grammar requires editing a Java file, that should
really be more dynamic.
2013-10-04 16:26:46 +00:00
kr.angelov
0d9d926131
fixes in the Java binding after the refactoring of GuString
2013-10-04 19:53:19 +00:00
kr.angelov
5043b6dfc4
replace latin 'e' with cyrilic 'e' in the paradigms for Bulgarian
2013-10-04 13:24:33 +00:00
kr.angelov
747590b86d
suppress warning in graphviz.c
2013-10-04 12:56:45 +00:00
kr.angelov
2f78333e28
GuString is now an ordinary C string - it makes live easier. In addition PgfSymbolKS, PgfExprFun and PgfLiteralStr now keep their strings as embedded flexible arrays. The latest change gives us the same compactness as the old representation but it is a lot easier to use.
2013-10-04 12:04:39 +00:00
kr.angelov
96399838b7
space leak in the Java binding
2013-10-03 21:00:45 +00:00
inari
4c277ee268
PassVPSlash for Swedish
2013-10-03 13:13:46 +00:00
kr.angelov
357ddfb5d3
the symbol for nonExist in the GF runtime should be the last. this simplifies the binary search in the C runtime
2013-10-03 08:21:31 +00:00
aarne
84c1422e6f
adjectival predication now without copula by default in Chi
2013-10-03 07:37:17 +00:00
kr.angelov
e09104c6d9
something in the typeinferencer of the latest GHC has changed. I need to add a type signature for GF.Compile.GrammarToPGF.genCncFuns in order to compile.
2013-10-02 19:04:30 +00:00
aarne
58f6a91f68
removed yi from Chi plural indef
2013-10-01 16:50:56 +00:00
aarne
4d1804c820
moved Chi ListCN to right place and added some missing words
2013-10-01 16:30:52 +00:00
aarne
e5fe5d55c9
refined the types Adv and Prep in Chi to control the presence of the zai auxiliary
2013-09-28 03:06:55 +00:00
kr.angelov
573654e125
fix the bracketed linearization in Python after the introduction of nonExist and BIND
2013-09-30 11:49:51 +00:00
kr.angelov
cedf848b5d
fix the graphviz visualization after the introduction of nonExist and BIND
2013-09-30 10:38:28 +00:00
kr.angelov
5dca1b7cfc
the compiler now sorts the list of sequences in the PGF files
2013-09-23 13:13:59 +00:00
kr.angelov
c4f68adca9
better handling for nonExist in the C runtime. BIND is also supported in the linearizer but not in the parser yet
2013-09-30 10:25:39 +00:00
hallgren
452164f10f
GF home page: minor style changes
...
+ Split the list of languages into several columns if space permits
(in supported browsers, currently Firefox).
+ Limit the size of the GF logo to 75% of width the window. Looks better on
small screens.
2013-09-29 16:25:16 +00:00
aarne
20003e92f6
Assign_31 from SYSU now compiles and is added to ParseChi.
2013-09-27 16:02:37 +00:00
kr.angelov
9784b72add
use the real nonExist in the Maltese grammar
2013-09-27 15:19:17 +00:00
kr.angelov
efa4bc4d62
a major refactoring in the C and the Haskell runtimes. Note incompatible change in the PGF format!!!
...
The following are the outcomes:
- Predef.nonExist is fully supported by both the Haskell and the C runtimes
- Predef.BIND is now an internal compiler defined token. For now
it behaves just as usual for the Haskell runtime, i.e. it generates &+.
However, the special treatment will let us to handle it properly in
the C runtime.
- This required a major change in the PGF format since both
nonExist and BIND may appear inside 'pre' and this was not supported
before.
2013-09-27 15:09:48 +00:00
kr.angelov
3f65253f0e
use nonExist in paradigm mkN075 for Bulgarian
2013-09-27 11:33:05 +00:00
aarne
775d00205b
one more Chinese assignment
2013-09-27 10:19:48 +00:00
aarne
209f872f1d
two more assignments in Chi ; fixed position of some prepositions
2013-09-27 10:09:37 +00:00
john.j.camilleri
695e3450b0
Rename README to READ_ME so that Apache doesn't hide it
2013-09-27 09:31:20 +00:00
john.j.camilleri
02db134450
Remove empty contrib folder and place README in examples
2013-09-27 09:18:08 +00:00
aarne
662d8ae33e
new version of Assign_32, with correct encoding
2013-09-27 07:25:47 +00:00
aarne
be2fc47e99
Chinese lexicon contributions from Sun Yat-Sen University
2013-09-27 06:55:32 +00:00
aarne
9ce07e699f
fixed many things in ParseChi
2013-09-27 03:45:02 +00:00
aarne
6c28e9743d
fixed prepositional verbs in Chinese, and swapped mkPrep to the natural pre-post order
2013-09-27 02:40:34 +00:00
kr.angelov
a6e0ef76f1
remove pgf/edsl.h from the C runtime
2013-09-26 11:59:35 +00:00
kr.angelov
ab52863534
add gu_variant_close in libgu
2013-09-26 10:41:52 +00:00
aarne
920590a9cc
renamed the ParadigmsChi versions of mkNP and mkDet - to mkp: there shouldn't be mkC functions in Paradigms for phrasal categories
2013-09-26 06:52:02 +00:00
kr.angelov
65ea8814aa
fix the debug mode of the parser after the refactoring in libgu
2013-09-25 10:21:35 +00:00
kr.angelov
be8bf64eb2
added assertion in the JIT compiler which checks that we are not going outside of the compilation window
2013-09-25 07:53:10 +00:00
kr.angelov
b2b5bda43d
fix a typo in src/runtime/javascript/translator.html
2013-09-25 07:13:50 +00:00
aarne
f7c5ec4872
order of Chinese vocative
2013-09-25 01:43:57 +00:00
aarne
7c396da3f7
implemented the top-17 missing functions in ParseChi; shaky definitions though
2013-09-24 15:43:43 +00:00
kr.angelov
a1a4f7a1c1
a small fix in the python binding after the refactoring in the C runtime
2013-09-24 09:14:43 +00:00
hallgren
9be39dd3c7
Link to GF source code browser
...
And the summers chool and the Interactive map are not new anymore.
2013-09-23 13:07:24 +00:00
kr.angelov
62d5dfb71b
GrammarToPGF now looks only at the top modules for the PGF flags
2013-09-23 09:30:45 +00:00
kr.angelov
ae79e7c386
fix a warning in the compiler
2013-09-23 09:20:55 +00:00
kr.angelov
e6dbd74dc9
GF.Grammar.Grammar.allExtends now returns a list of source modules instead of just the module names. This saves extra lookups later
2013-09-23 09:18:27 +00:00
hallgren
a7469a694b
Comment out identifier refreshing code only used by the removed refresh pass
2013-09-20 16:36:24 +00:00
kr.angelov
688796a40d
work on the translation dictionaries and the statistical model
2013-09-20 12:09:54 +00:00
kr.angelov
662d98a354
decrease the heuristic factor for parsing to 0.80 from 0.95. Otherwise we get the wrong result for compound verbs like "look after", "look forward", etc.
2013-09-20 12:07:47 +00:00
kr.angelov
88844d693a
ProgrVP in English should add the verb particle if there is any
2013-09-20 12:07:12 +00:00
kr.angelov
c4be116db4
added PossNP, PartNP and CountNP in the Bulgarian RGL
2013-09-20 12:05:39 +00:00
kr.angelov
d2dc171508
added a version of compoundN which combines adjective and noun into a new noun
2013-09-20 12:04:37 +00:00
hallgren
fd430a40fe
Introduce type RawIdent; only 9 imports of Data.ByteString.Char8 remain
...
The fact that identifiers are represented as ByteStrings is now an internal
implentation detail in module GF.Infra.Ident. Conversion between ByteString
and identifiers is only needed in the lexer and the Binary instances.
2013-09-19 20:48:10 +00:00
hallgren
38fe30c610
Make Ident abstract; imports of Data.ByteString.Char8 down from 29 to 16 modules
...
Most of the explicit uses of ByteStrings were eliminated by using identS,
identS = identC . BS.pack
which was found in GF.Grammar.CF and moved to GF.Infra.Ident. The function
prefixIdent :: String -> Ident -> Ident
allowed one additional import of ByteString to be eliminated. The functions
isArgIdent :: Ident -> Bool
getArgIndex :: Ident -> Maybe Int
were needed to eliminate explicit pattern matching on Ident from two modules.
2013-09-19 18:23:47 +00:00
kr.angelov
7bafc5653c
added a number of interjections and greetings in DictEng and DictEngBul
2013-09-19 12:02:44 +00:00
kr.angelov
aea67b8109
the PGF reader now releases strings that are not used after the loading
2013-09-18 08:26:11 +00:00
john.j.camilleri
58fd2508ba
Add news item for gf-contrib on homepage
2013-09-18 08:20:47 +00:00
kr.angelov
2b14fd2aae
add type signature for gu_string_length in the headers of libgu
2013-09-18 08:03:37 +00:00
kr.angelov
016721d676
bugfix in the ordering of strings in libgu
2013-09-17 19:05:54 +00:00
kr.angelov
b6ba5e7493
gu_buf_binsearch -> gu_seq_binsearch. Improved API
2013-09-17 19:04:46 +00:00
kr.angelov
62019f0881
added order and equality for strings in libgu
2013-09-17 13:45:37 +00:00
kr.angelov
f984bfeb24
a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified
2013-09-17 12:45:00 +00:00
kr.angelov
9810817f4d
fixes in DictEng & DictEngBul
2013-09-17 12:01:05 +00:00
kr.angelov
c5d2a50164
added UttInterj in PhraseBul
2013-09-17 11:59:59 +00:00
john.j.camilleri
431222da5c
Remove Coordination.gf from Nep, Pes, Pun, Sin folders
...
They were just copies of prelude/Coordination.gf
2013-09-16 07:20:59 +00:00
john.j.camilleri
e0c6b0764c
Remove contribs and examples
...
Everything has now been moved to a separate repository at
https://github.com/GrammaticalFramework/gf-contrib
The contents of the examples folder are build during SetupWeb
2013-09-16 07:17:27 +00:00
kr.angelov
5f0b5ecf35
added BSD licenses to the Java binding and the android UI
2013-09-16 06:54:55 +00:00
aarne
30274a9fd6
correct treatment of spaces in NP's in DictEngChi
2013-09-13 18:57:52 +00:00
aarne
e27812f402
removed superfluous de particles from adjectives in DictEngChi
2013-09-13 18:35:08 +00:00
kr.angelov
d5438439dc
remove leftcorner_cat_idx which is now redundant
2013-09-13 13:49:17 +00:00
kr.angelov
605772fda1
minor optimization/refactoring in the grammar reader
2013-09-13 11:02:17 +00:00
kr.angelov
239eb22df5
the leftcorner indexing is now completely removed since it slowed down the loading without speeding up parsing a lot
2013-09-13 10:26:33 +00:00
kr.angelov
40baee9068
fix the debug mode of the parser after the changes in the libgu API
2013-09-13 09:58:20 +00:00
kr.angelov
540de9c2d0
tiny optimization in pgf/reader
2013-09-13 09:50:44 +00:00
kr.angelov
d39003f872
bugfix in utf8.c
2013-09-13 09:50:04 +00:00
kr.angelov
7b6ebbcf1e
fixes in DictEngBul
2013-09-13 09:49:31 +00:00
kr.angelov
d6323291cd
fix a warning in utf8.c
2013-09-13 08:30:57 +00:00
kr.angelov
fc038c5240
optimize the reading of strings in the grammar loader.
2013-09-13 08:28:20 +00:00
kr.angelov
1e17f768fc
more UTF8 cleanup
2013-09-13 08:12:19 +00:00
kr.angelov
30f37feb57
clean up the UTF8 API in libgu
2013-09-13 07:44:45 +00:00
kr.angelov
6080a625f7
fix in Android.mk to make sure that the Android build will always see the ARM headers of GNU lightning
2013-09-12 12:55:55 +00:00
kr.angelov
d51b976d29
remove the logging from libgu
2013-09-12 09:30:02 +00:00
kr.angelov
d88084a2d5
enable the PGF JIT compiler for Android
2013-09-12 09:05:43 +00:00
kr.angelov
b3a644300c
rewrite the ARM port of GNU lightning to a form compatible with the versions for the other CPUs
2013-09-11 20:17:50 +00:00
hallgren
9db040e0da
Some code verbosity reduction
2013-09-10 14:19:11 +00:00
hallgren
51574b96ea
Workaround for a problem with lock fields
...
This problem showed up after delaing eta expansion until just before partial
evaluation
2013-09-10 13:43:59 +00:00
hallgren
72fd7e821f
new-comp: delay eta expansion until just before partial evaluation
...
This seems to work for the most part, but a problem showed up in WordsCat.gf in
the phrasebook.
2013-05-30 16:01:12 +00:00
hallgren
1846e6bf65
Nonlinear patterns in concrete syntax are now detected and reported as errors
...
Before, they were silently converted to linear patterns.
Nonlinear patterns in MorphoCat.gf, ParadigmsGre.gf and ParadigmsFin.gf have
been make linear by renaming pattern variables.
2013-09-09 19:52:08 +00:00
hallgren
f1386b3400
partial evaluator: prettier complaint about nonlinears patterns
2013-09-09 16:23:01 +00:00
hallgren
8479d06f4b
partial evaluator: complain about nonlinear patterns
2013-09-09 15:53:14 +00:00
hallgren
7afdc2e139
Fix an old name shadowing bug in concrete syntax by removing the refresh pass
...
The refresh pass does not correctly keep track of the scope of local variables
and can convert things like \x->(\x->x) x into \x1->(\x2->x2) x2. Fortunately,
it appears that the refresh pass is not needed anymore, so it has been removed.
2013-09-09 14:29:57 +00:00
kr.angelov
4e328d1f33
added exhaustive generation in the Java binding
2013-09-06 07:21:38 +00:00
kr.angelov
fec8720f31
remove the string internalization since it slows down grammar loading with little benefit
2013-09-05 13:34:49 +00:00
kr.angelov
8e2de541b6
move src/runtime/android to src/ui/android/jni
2013-09-05 12:19:59 +00:00
hallgren
6d0c8eaa34
Fix an old bug that prevented pattern matching agains values containg tables
...
The function GF.Grammar.PatternMatch.isInConstantForm returned False for all
tables, causing matchPattern to fail, claiming that "variables occur in" the
term if it contains tables.
This problem is several years old, confirmed present in GF 3.2.10 (Oct 2010).
2013-09-05 15:20:41 +00:00
Herbert Lange
0bfe6a23f4
Fix the bug that prevents latin grammar and so the complete RGL from compiling
2013-09-05 12:52:32 +00:00
kr.angelov
993522eb5a
added version readPGF in Java which takes as argument InputStream. This makes it easier to load grammars from the assets folder in Android
2013-09-05 12:12:01 +00:00
kr.angelov
f8c8194303
fix gu_in_bytes_ to use buffering
2013-09-05 12:10:55 +00:00
kr.angelov
83ca6c4f9f
remove the read and write modules from libgu. this simplifies the i/o layer
2013-09-05 11:20:39 +00:00
kr.angelov
d0f527d0dd
remove dump and yaml from libgu
2013-09-05 10:01:47 +00:00
kr.angelov
bb36597050
bugfix for gu_buffered_in
2013-09-05 09:50:57 +00:00
kr.angelov
cbc2ac1326
add gu and pgf in the library path for building the Java binding
2013-09-04 20:30:43 +00:00
kr.angelov
6e60e12aee
added description file for building jpgf.jar
2013-09-04 18:48:51 +00:00
kr.angelov
4b9ae55925
fix the warnings from the Java binding
2013-09-04 18:23:49 +00:00
kr.angelov
76d1db7dc5
now it is possible to compile the C code for the Java binding from Eclipse. The old and broken Makefile is now removed
2013-09-04 18:09:06 +00:00
kr.angelov
643ca7987c
added Eclipse project for building the Java binding
2013-09-04 14:06:06 +00:00
kr.angelov
d3dad68c9b
fix a few warnings in the Java binding
2013-09-04 13:37:40 +00:00
kr.angelov
94e84a3a77
updated files src/ui/android
2013-09-04 13:34:44 +00:00
kr.angelov
d62cf1363c
added make file for compiling the C runtime for Android. The JIT compiler for Android is temporary disabled
2013-09-04 11:56:47 +00:00
kr.angelov
a690fb7d6f
the code in the C runtime is now complete independent from config.h
2013-09-04 11:51:05 +00:00
kr.angelov
91bb633d1d
remove the dependency on the CHAR_ASCII flag
2013-09-04 10:27:08 +00:00
kr.angelov
49c7a029b6
remove the dependency on the HAVE_STATEMENT_EXPRESSIONS flag. This reduces the dependency on the ./configure script
2013-09-04 10:06:07 +00:00
Herbert Lange
1f91d2287b
Merge private git for latim grammar into official darcs.
...
See https://github.com/daherb/GF orhttps://gitlab.cip.ifi.lmu.de/langeh/gf
for full git commit history
2013-09-03 17:13:58 +00:00
kr.angelov
d2ea52e0ec
avoid using nan() in libgu for portability with Android
2013-09-04 07:36:39 +00:00
kr.angelov
6fa330b49e
added for_sure_Adv in DictEng. renamed ourself -> ourselves & themself -> themselves
2013-09-04 07:11:56 +00:00
kr.angelov
d91762239b
slight optimization for the linearizer in the C runtime
2013-09-04 07:11:14 +00:00
kr.angelov
783b0a0773
bugfix in the robust linearizer
2013-09-04 07:05:27 +00:00
kr.angelov
d3d4400c0e
added ExtAdvNP and ExtAdvVP in the resource grammar
2013-09-03 08:59:47 +00:00
kr.angelov
fd17023eeb
fix for linearization with 'pre'
2013-09-03 08:58:04 +00:00
kr.angelov
e53132fd44
more changes in DictEng/DictEngBul
2013-09-03 08:57:18 +00:00
kr.angelov
321732aad5
"that" in ComplVS and SlashV2S is now optional
2013-09-03 08:12:07 +00:00
kr.angelov
2d06fdfbe4
PredVPovs now puts comma before the verb
2013-09-03 08:11:01 +00:00
kr.angelov
1eadd9f275
exposed ComplSlashPartLast in the parse grammar
2013-09-03 08:08:57 +00:00
kr.angelov
69881dccac
a couple of changes in DictEng/DictEngBul. Added infVV in ParadigmsEng which allows the definition of VVs that take a bare infinitive
2013-09-03 08:06:44 +00:00
kr.angelov
b9192ccccf
RelNP and ApposNP should put a final comma after the inserted phrase.
2013-09-03 08:00:59 +00:00
kr.angelov
ee7307fbfb
fix in the GF compiler and runtime which let us to define pre construct detecting whether this is the last token.
2013-09-03 07:51:25 +00:00
hallgren
c6fbe3d23f
gf.cabal: version: 3.5-darcs
2013-09-02 20:27:47 +00:00
kr.angelov
44db7d7c8b
fix the placement of AdV in PassVPSlash for English
2013-09-02 08:14:31 +00:00
kr.angelov
445c980a00
fix in the spelling of Hong Kong in DictEng
2013-09-02 08:13:52 +00:00
kr.angelov
07b0cc7926
fix the compilation of LangTur
2013-09-01 11:48:02 +00:00
aarne
1f3f604c99
new synopsis again
2013-09-01 09:15:08 +00:00
aarne
906ad92958
restored Afrikaans in synopsis
2013-08-23 17:18:42 +00:00
john
e23cac8513
Maltese RG: add some missing lins for AdV in ConjunctionMlt
2013-08-30 08:00:25 +00:00
john
4f15fe390a
Maltese RG: make pro-drop explicit. Other small fixes in Structural, Lexicon.
2013-08-30 07:40:42 +00:00
kr.angelov
9134df05bb
almost functional version of the javascript runtime
2013-08-29 20:36:06 +00:00
aarne
010e97fc47
gf-english.html added (to be web reachable)
2013-08-29 09:06:08 +00:00
kr.angelov
b37fed3d2d
the PGF class is now using the new Pool class to manage the life time of the memory allocated in C.
2013-08-29 05:38:07 +00:00
kr.angelov
48b6af710d
more carefull tracking of references in the Java binding
2013-08-29 05:35:45 +00:00
kr.angelov
93db90e99c
now Concr.parseBest throws ParseError
2013-08-28 15:35:57 +00:00
kr.angelov
39b82041ea
bugfix which caused the runtime to crash on Android
2013-08-28 15:19:39 +00:00
kr.angelov
de7fbd22e7
fix the error handling in the Java binding
2013-08-28 08:51:53 +00:00
kr.angelov
0efde1e2b0
make the Expr constructor private
2013-08-28 07:09:31 +00:00
aarne
cc259fea43
getting into syntax in the grammar document
2013-08-28 05:59:06 +00:00
aarne
b60cf09a9f
morphological types of English documented
2013-08-26 06:13:40 +00:00
kr.angelov
cb33a971f0
fixes in the Java binding
2013-08-28 00:04:50 +00:00
kr.angelov
109546b227
added PGF.getStartCat()
2013-08-27 23:02:00 +00:00
kr.angelov
416996b713
added method for best first parsing in the Java binding
2013-08-27 22:54:10 +00:00
kr.angelov
2995a16da3
bugfix in the java binding
2013-08-27 22:53:38 +00:00
kr.angelov
c9c599977f
linearization in the Java binding
2013-08-27 22:39:26 +00:00
kr.angelov
75c1100575
small refactoring in the Java binding
2013-08-27 22:37:31 +00:00
kr.angelov
8d82dc66bf
parsing from the Java binding
2013-08-27 21:53:13 +00:00
kr.angelov
59650c0bdb
PassVPSlash must add the preposition
2013-08-27 14:32:12 +00:00
kr.angelov
d866a09633
laugh_at_V2 in DictEng(Abs,Eng,Bul)
2013-08-27 14:31:12 +00:00
kr.angelov
02903a0743
added silly_A to DictEngBul
2013-08-27 14:03:00 +00:00
kr.angelov
35d4b6e846
fix PresPartRS for phrasal verbs
2013-08-27 12:02:57 +00:00
kr.angelov
e381990174
fix make_V2V
2013-08-27 12:02:29 +00:00
kr.angelov
4369ed9f3f
conjunction of AdV
2013-08-27 12:00:38 +00:00
kr.angelov
0ea4c754c0
fix in DictEng.gf
2013-08-27 08:08:41 +00:00
kr.angelov
a6a58ac767
comparison for strings in libgu
2013-08-27 08:07:18 +00:00
kr.angelov
a33f2399c2
quicksort and binary search for buffers in libgu
2013-08-27 08:06:34 +00:00
gregoire.detrez
584ad7adab
Remove script (moved to an other repository)
2013-08-26 12:30:47 +00:00
kr.angelov
83bc4adb96
a few words in DictEngBul.gf
2013-08-26 07:00:39 +00:00
aarne
c75e60e02c
small corrections in RGL document
2013-08-25 21:21:49 +00:00
aarne
f5cd4939b8
refactored the RGL description to general and language-specific parts: new languages can be added by writing the latter ones and adding a Makefile entry
2013-08-25 21:09:52 +00:00
aarne
4e411be3b1
finished general section on words; changed doc file name for future globalization of the rgl description document
2013-08-25 15:28:13 +00:00
kr.angelov
9918fe37c1
bugfix in the Hindi parse grammar
2013-08-25 12:48:11 +00:00
aarne
ba3d0b8566
added semantic types to pos tables
2013-08-25 10:00:39 +00:00
aarne
7492aa01d9
started grammar description text
2013-08-25 09:47:39 +00:00
kr.angelov
288bcafb79
nonExist now does the expected thing
2013-08-23 13:17:45 +00:00
john
e769d5db29
Add INSTALL file for python bindings. Add note about libtool to INSTALL of c runtime
2013-08-23 13:06:58 +00:00
hallgren
fa1f750870
Demo page: added a link to Phrasomatic
2013-08-22 19:27:33 +00:00
gregoire.detrez
27e8ab97f7
Add vim and eclipse in the page about editor modes (fix)
2013-08-22 15:26:26 +00:00
gregoire.detrez
39308cca93
Add vim and eclipse in the page about editor modes
2013-08-22 15:17:30 +00:00
aarne
752d36e7a3
Extra.PurposeVP to express "I work to get rich"
2013-08-21 15:11:01 +00:00
hallgren
142b07ca82
gfse: don't use multiline text boxes everywhere, just for concrete syntax
2013-08-21 14:19:05 +00:00
kr.angelov
8df07fdeb5
change the locale in the test script for the Python binding
2013-08-21 13:17:39 +00:00
kr.angelov
68b6e97251
fix in the C parser
2013-08-21 13:09:21 +00:00
ramona.enache
3db9bcf219
added Facebook grammar from SummerSchool tutorial on best practices for grammar writing
2013-08-21 13:05:22 +00:00
kr.angelov
3ff910a0e9
fix a crash in the python binding
2013-08-21 12:47:40 +00:00
kr.angelov
828290fd17
a bunch of words in DictEngBul
2013-08-20 20:54:20 +00:00
hallgren
c959d041a1
gf -server: fix for directory URLs without a trailing slash
...
When a browser requests a URL that refers to a directory, web server usually
redirect the browser to the same URL with a trailing '/' added, if one was not
already present. This is to prevent relative links in the returned document
from being interpreted relative to the parent directory instead of the current
document. This type of redirection was missing in gf -server.
2013-08-20 15:38:26 +00:00
aarne
ac8fbb50d7
new Foods for Chi, Gla, Ori
2013-08-20 13:27:16 +00:00
hallgren
f4760b2970
download page: link to Inari's notes on installing GF on windows
2013-08-20 08:09:58 +00:00
kr.angelov
2d4f17e30c
word completion in the C runtime now returns multi-word expressions and the category for every expression
2013-08-19 15:34:19 +00:00
hallgren
043ab3e07a
gfse: only try to upload/compile grammars when browser is online
...
Show error message "Offline" if browser is offline.
2013-08-19 15:00:55 +00:00
hallgren
15d52dd5c4
gfse: always open a resizable text box when editing concrete syntax
...
(Also fixed a broken link in gf-web-api-examples.html)
2013-08-19 14:19:18 +00:00
kr.angelov
37b9ed9236
fullFormLexicon in C and Python
2013-08-19 12:16:30 +00:00
kr.angelov
e3c188c8a8
added GuEnum interface for iterating over maps in the C runtime
2013-08-19 12:13:47 +00:00
aarne
b90443cebd
added the library version of StemFin.gf, i.e. the one in finnish/ and implementing full inflection tables. The one in finnish/stemmed/ implements partial tables and adds suffixes to stems at runtime.
2013-08-17 15:17:02 +00:00
kr.angelov
a8ded63c95
implemented lookupMorpho for C and Python
2013-08-16 15:02:24 +00:00
kr.angelov
795df19bfe
provide API to access the language code for the concrete language
2013-08-16 12:54:16 +00:00
kr.angelov
b08925fd3d
fixes in the C and Python API to make them closer to the Haskell API
2013-08-16 12:44:37 +00:00
kr.angelov
9012f9c0b1
fixes in DictEngBul
2013-08-16 12:37:38 +00:00
kr.angelov
2fc9294f6e
added graphvizParseTree in the C and Python runtimes
2013-08-15 15:10:28 +00:00
kr.angelov
0496dec923
graphvizAbstractTree in the C and Python runtimes
2013-08-15 08:06:37 +00:00
john.j.camilleri
1979867f3c
Syntax editor: minor CSS fix
2013-08-13 09:30:13 +00:00
inari.listenmaa
1b595dcbe9
error IrregEng beat_V
2013-08-13 08:26:44 +00:00
inari.listenmaa
f2a2a03aa5
typo in IrregEng know_V
2013-08-13 08:03:52 +00:00
john.j.camilleri
c58359b5ae
Correct #chaptwo to #chapfour URLs in tutorial
...
Thanks to "drbean" from the IRC channel for pointing this out!
2013-08-12 06:55:08 +00:00
hallgren
9ffc434fef
doc/gf-developers.t2t: add some notes on how to create .deb and .rpm packages
2013-08-08 12:51:24 +00:00
hallgren
c012fdc4a9
Better error messages for attempts to redefine predefined constants
...
Instead of just "syntax error", you now get e.g.
PType is a predefined constant, it can not be redefined
This is a simple change in the parser.
2013-08-07 19:36:09 +00:00
aarne
4e7f3766cb
finished the refactoring of Fin with unstemmed (for library use) and stemmed (for large-scale parsing use). All differences are located in the file StemFin.
2013-08-07 09:52:40 +00:00
aarne
df7b8d8016
typo in AdjectiveFin (Posit -> Compar)
2013-08-06 21:44:55 +00:00
aarne
7a446f5cd1
refactored Fin so that the stemmed and the unstemmed versions share all code except StemFin. It is chosen by setting the path; a functor solution would be purer, but it feels like overkill.
2013-08-06 21:36:12 +00:00
hallgren
c836e04764
Update to version 3.5 in gf.cabal and debian/changelog
2013-08-06 15:42:57 +00:00
hallgren
db9e12340d
Move GF 3.5 download page into place. Update home page.
2013-08-06 15:32:20 +00:00
hallgren
fabf992813
Finalize GF 3.4 download page and release notes
2013-08-06 15:28:53 +00:00
john.j.camilleri
d30c9c72c9
Add more info about RGL browser to release notes 3.5
2013-08-06 13:32:13 +00:00
hallgren
ff33f66fba
Next release will be GF 3.5, release notes moved to download/release-3.5.t2t.
...
Some more work on the 3.5 release notes and download page.
2013-08-05 12:38:38 +00:00
hallgren
5c4dbe743e
Update shell reference manual
2013-08-05 11:47:17 +00:00
aarne
ea65882c53
toUpperFirst and toLowerFirst in Prelude
2013-08-01 15:42:37 +00:00
kr.angelov
f1d407de09
added untested port of GNU lightning to ARM
2013-08-01 12:07:06 +00:00
kr.angelov
216f4b1c40
a bit more on the Java to C binding. Now it is possible to load a grammar and query for the list of languages
2013-08-01 10:48:19 +00:00
kr.angelov
f6a152a617
add two more bullets about the Python and the Java bindings
2013-07-30 11:54:20 +00:00
kr.angelov
891c15f8c0
added release notes for the C runtime
2013-07-30 11:51:49 +00:00
kr.angelov
ef497531f8
the first approximation for a statistical model consistent with dependent types in the abstract syntax
2013-07-30 07:29:11 +00:00
hallgren
fb61fc4562
Cloud & PGF service: use Content-Type application/json for JSON output
...
This is in accordance with RFC 4627. http://tools.ietf.org/html/rfc4627
Use application/javascript for JSONP output.
2013-07-29 16:05:54 +00:00
john.j.camilleri
a675b50423
Update Maltese entry in the RGL publications page
...
Somehow a <li> got in there. And added initial in my name.
2013-07-29 15:13:32 +00:00
hallgren
ee81cd5c02
Adding download page and release notes for the next release of GF
...
The suggested next release is 3.4.8 in early August.
Feel free to add things in download/release-3.4.8.t2t.
2013-07-29 13:26:22 +00:00
hallgren
f4519dda8c
minibar: more robust test for availability localStorage
...
Minibar should now work if localStorage is disabled or unavailable.
(In Firefox, disabling cookies also disables localStorage.)
2013-07-29 11:58:17 +00:00
aarne
705991e9eb
updated rgl status with tested and publication attributes
2013-07-26 12:53:17 +00:00
aarne
41acc7a6fd
pointer to RGL publications as main index news item
2013-07-26 08:45:53 +00:00
aarne
8abce11b1b
RGL documentation page now linked from Synopsis
2013-07-26 08:40:33 +00:00
john.j.camilleri
d0f7df60d3
lib/src/api/libraryBrowser/MkLang.hs - allow multiple arguments
2013-07-26 07:41:20 +00:00
hallgren
eb2b5a65d6
Allow cross origin requests to GF cloud & PGF services
...
By adding a header
Access-Control-Allow-Origin: *
to the HTTP responses, web browsers are informed that it is OK to call the
services from web pages hosted on other sites.
This is apparently supported in most modern browsers, so it should no longer
be necessary to resort to JSONP.
See https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS
2013-07-25 16:04:43 +00:00
aarne
b18a531dbc
updated the number of PhD thesis and publications in index.html; started an RGL publications page
2013-07-25 15:24:22 +00:00
john.j.camilleri
adb4109a26
RGL Browser: now includes Syntax Editor tab!
2013-07-25 07:36:34 +00:00
john.j.camilleri
206f8db3e8
RGL Browser: mostly cosmetic improvements
2013-07-24 15:03:48 +00:00
john.j.camilleri
68226a2354
Script for creating LibraryBrowser???.gf for a new language
2013-07-24 11:25:17 +00:00
john.j.camilleri
db637f08b6
Update link to syntax editor in synopsis-browse.txt
2013-07-24 09:34:11 +00:00
aarne
c15faa84bf
some additions to ParseChi
2013-07-24 09:53:31 +00:00
aarne
e5a2cc40c0
hs datatype generation for empty abstract types added
2013-07-24 08:11:16 +00:00
john.j.camilleri
29ed8a8d48
RGL browser: fix scrolling to line
2013-07-24 07:07:50 +00:00
john.j.camilleri
4512d6f197
RGL Browser: fix issue with jumping to code locations
2013-07-23 14:42:59 +00:00
john.j.camilleri
77b987103d
RGL Browse: version 2, including API search
...
Also using a jquery panel framework for layout stuff.
2013-07-23 14:16:42 +00:00
gregoire.detrez
b6267b8296
Script to compute predictability of smart paradigms
2013-07-20 20:24:24 +00:00
kr.angelov
52e2298240
bugfix for parsing floating point numbers in the C runtime
2013-07-18 14:29:58 +00:00
john.j.camilleri
da864069ab
Maltese RG: add synopsis comments for params in Paradigms
2013-07-16 13:51:43 +00:00
john.j.camilleri
8cc37af415
Maltese RG: update ParadigmsMlt to generate a nice table in the RGL Synopsis
2013-07-16 13:16:50 +00:00
hallgren
656f934945
gf-server.cabal: same changes as in gf.cabal for ghc-7.6 compatibility
2013-07-15 17:07:51 +00:00
kr.angelov
51da6e1b2a
the hash function for pgf.Expr is now really added
2013-07-05 05:35:22 +00:00
kr.angelov
4f7369f714
the parser in the C runtime now checks for duplicated results
2013-07-03 12:30:30 +00:00
kr.angelov
96ea257fa3
complete pgf_expr_eq in the C runtime
2013-07-02 20:12:57 +00:00
kr.angelov
6971642cc7
hash function for abstract syntax trees
2013-07-02 19:12:53 +00:00
kr.angelov
1b41792237
C runtime: fix the debug modes in the parser and in the reasoner after the changes in the printer
2013-06-27 11:00:26 +00:00
kr.angelov
5dc59f815c
typos in the documentation for the Python binding
2013-06-27 10:11:49 +00:00
kr.angelov
0d68a20d94
a complete Python API for reading, printing and manipulation of abstract trees and types. This includes dependent types, high-order abstract syntax and implicit arguments
2013-06-27 09:39:15 +00:00
kr.angelov
6ff0b90a33
dummy compute function in the Python binding
2013-06-26 10:36:42 +00:00
kr.angelov
03690ccc4b
we no longer maintain an explicit list of functions per category since now it is implicitly kept in the JIT compiled code
2013-06-26 09:35:50 +00:00
kr.angelov
b47dfd9dbb
forgot to add reasoner.h
2013-06-26 09:09:54 +00:00
kr.angelov
67872578c9
forgot to add jit.h
2013-06-26 09:08:47 +00:00
kr.angelov
c873531172
an optimization in the jitter for generating more compact code
2013-06-26 09:03:51 +00:00
kr.angelov
dba75911b0
patch for adjustable heuristics from Python
2013-06-26 07:36:03 +00:00
kr.angelov
966d3aee3f
compatibility issue for MacOS X
2013-06-26 07:03:32 +00:00
kr.angelov
38b3dfcad6
fix for x86_64
2013-06-26 06:43:33 +00:00
john.j.camilleri
4e1b19c1af
GF homepage: Add section for "getting help" (mentioning IRC channel)
...
and remove "fragments" from Maltese
2013-06-26 06:28:54 +00:00
kr.angelov
16584d4368
Now there is a just-in-time compiler which generates native code for proof search. This is already used by the exhaustive generator. The time to generate 10000 abstract trees with ParseEng went down from 4.43 sec to 0.29 sec.
2013-06-25 19:22:42 +00:00
john.j.camilleri
6aafb6ccbb
Maltese RG: small fixes; moved Maybe to ../prelude
2013-06-24 09:37:39 +00:00
john.j.camilleri
b02853be43
Add Maybe.gf to prelude folder
2013-06-24 09:35:30 +00:00
john.j.camilleri
2cacd43a1c
Synopsis makefile: change "../alltenses" to "alltenses"
2013-06-24 08:50:20 +00:00
john.j.camilleri
0aad8b29c5
Synopsis makefile: change mlt to Mlt
2013-06-24 08:20:48 +00:00
kr.angelov
10eb9dedb6
bugfix for the linearizer in the C runtime
2013-06-24 07:56:42 +00:00
john.j.camilleri
6d6aa75382
Add news about Maltese RG, IRC channel to homepage
2013-06-24 07:49:30 +00:00
kr.angelov
c210da79a9
extensions in DictEngBul.gf
2013-06-22 15:41:52 +00:00
kr.angelov
aacc15b58f
bugfix for the word completion in the C runtime
2013-06-22 15:39:47 +00:00
kr.angelov
72cd14a5ae
add x86_64 support to GNU lightning
2013-06-20 08:27:04 +00:00
normundsg
e7b22ac609
Latvian: a lot of code refactoring
2013-06-21 12:04:26 +00:00
kr.angelov
e720d47700
fíx in the Python binding for compatibility with Python<2.7
2013-06-19 19:31:55 +00:00
kr.angelov
eece31c1ab
fix an issue in the Python binding related to the 32 vs 64 bit compatibility
2013-06-19 18:47:52 +00:00
kr.angelov
ffa6cbd03c
fix for a couple of warnings that are generated when GNU lightning is used
2013-06-17 07:32:41 +00:00
kr.angelov
6c4f52faeb
add the source code for GNU lightning in the source directory for the C runtime
2013-06-17 07:26:00 +00:00
virk.shafqat
73e68685ef
added Sindhi Phrasebook
2013-06-15 20:12:48 +00:00
virk.shafqat
9caa9cd44e
Improvements In Sindhi RG
2013-06-15 20:02:00 +00:00
kr.angelov
c3b344084f
bugfix in the python binding
2013-06-14 07:02:53 +00:00
hallgren
550db69caa
Fix UTF-8 decoding problem in gf -server
...
The package network-2.4.1.1 thoughlessly introduced a backward incompatible
change to the function Network.URI.unEscapeString, see
f2168b1f89
This also affects the function Network.Shed.Httpd.queryToArguments, which is
used in GFServer.hs.
To remain compatible with older and newer versions of the network package,
we need to stay clear of queryToArguments and unEscapeString. A replacement
function has been added to server/URLEncoding.hs.
2013-06-13 08:23:48 +00:00
john.j.camilleri
0937c4b34f
Syntax editor: minor CSS tweak to resemble Minibar more
2013-06-13 07:34:16 +00:00
john.j.camilleri
8b46a3bbae
Syntax editor: AST string always shown, remove export button
2013-06-13 07:26:10 +00:00
john.j.camilleri
f77e290f27
Update RGL status.html for Maltese
2013-06-12 09:02:55 +00:00
john
db3a099990
Update Maltese Foods grammar
...
In preparation for presentation at Maltese Linguistics conference next week.
2013-06-11 09:05:13 +00:00
john
7f952b5f8f
Maltese RG: fix implementation of CountNP
2013-06-11 07:55:48 +00:00
john
1366c2a53e
Maltese RG: first proper release
...
Of course some bugs remain and more testing is needed,
but all functions are complete and Maltese now builds as part
of the normal GF install.
2013-06-10 21:37:10 +00:00
hallgren
860b25fff3
Update the usage text for the --output-format option
...
It needs to be updated manually when the list of available output format
changes.
2013-06-10 12:00:14 +00:00
john
f86d0752b1
Maltese RG: sort out noun paradigms and grammar leaks
2013-06-06 10:54:50 +00:00
aarne
42bd972899
changed Fin.some*_Det from "joku" to "jokin", i.e. from human to non-human, which should be the default.
2013-06-06 08:38:26 +00:00
inari.listenmaa
0c73d8e1e0
Fixed ser_52 in BeschCat
2013-06-04 10:48:01 +00:00
gregoire.detrez
597d657827
[RGL] Comment on the structure of English pronouns (as I undenstand it)
2013-06-03 13:03:00 +00:00
hallgren
4e2337f009
GF.Text.Transliterations: avoid error prone function Data.Map.fromAscList
2013-06-02 10:10:46 +00:00
aarne
000aa35de9
Prasad's sanskrit transliteration ; MiniresourceSan now compiles but is mostly incorrect due to missing paradigms
2013-05-31 16:25:42 +00:00
kr.angelov
1b791158af
now the call Expr.unpack("? e1 e2") in Python returns a pair with None as the first element and a the list [e1,e2] as the second. This makes it easier to decompose partial abstract trees
2013-05-31 09:24:15 +00:00
kr.angelov
3566143f37
improved error message in the Python binding
2013-05-31 09:13:16 +00:00
aarne
026a897eb3
started MiniresourceSan ; doesn't compile yet
2013-05-31 08:00:09 +00:00
kr.angelov
935ae49376
bugfix for the grammar printer in the C runtime
2013-05-30 20:20:02 +00:00
aarne
ebf34a3fd3
phrasebook Nor compiles again; added make ParseChi and ParseEngChi
2013-05-30 15:08:45 +00:00
aarne
54da504bf8
added VW foundation as sponsor and made the title conformant to funding decision on summer school web page
2013-05-28 14:59:15 +00:00
normundsg
598d22a783
PhrasebookLav is now compatible with the latest resource grammar
2013-05-30 14:48:21 +00:00
kr.angelov
0330a2e5e8
the Bulgarian phrasebook works again
2013-05-30 13:16:35 +00:00
john.j.camilleri
bd19bc4564
Remove summer school page from darcs
...
It is now in www/school/2013 and should be edited directly on server
2013-05-30 09:48:00 +00:00
john
1b0f7609e8
Summer school page: add link to Google Group
2013-05-30 07:01:18 +00:00
john
5a86fd3cf3
Summer school page: udpate with directions from Hans
2013-05-30 06:56:55 +00:00
dana.dannells
5ed477c797
"changed 'hur' to 'hvor' in how8many in StructuralDan
2013-05-29 12:17:54 +00:00
dana.dannells
87b6be2a1a
changed 'hur' to 'hvor' in how8many in StructuralNor
2013-05-29 11:45:23 +00:00
unknown
78dfcf6c1b
added more structural words to Hebrew"
2013-05-29 11:37:56 +00:00
kr.angelov
d66dfe13c2
a simple refactoring in the Python runtime
2013-05-29 11:02:18 +00:00
kr.angelov
fac39a78fe
readPGF in the Python runtime now throws "No such file or directory" exception if the grammar is missing
2013-05-29 10:49:56 +00:00
john.j.camilleri
7b13fbda35
Summer School page: minor adjustments
2013-05-29 06:37:23 +00:00
john.j.camilleri
343496887c
Update Summer School page with sponsorship info (Aarne's changes)
2013-05-29 06:29:25 +00:00
aarne
58be37e32c
ParseChi compiles
2013-05-28 20:07:36 +00:00
aarne
0ce3d89bc7
DictEngChi now with 5000+ words, from Kimmo Röppänen
2013-05-28 20:06:41 +00:00
john
ce053c4a98
Maltese RG: big improvements with clitics in VPs
2013-05-28 14:45:53 +00:00
kr.angelov
e969aa69ff
added a test class for the Java API plus a small refinement in the implementation for the binding
2013-05-28 13:32:32 +00:00
kr.angelov
bd859fcf28
an initial skeleton for building a Java binding to the C runtime
2013-05-28 12:59:19 +00:00
kr.angelov
af8cec11f9
substantive and relative nouns in the Bulgarian library
2013-05-23 10:15:10 +00:00
hallgren
6ca2fe5898
Demo page: add a version of the minibar that shows just the MOLTO Application grammars
2013-05-24 14:20:36 +00:00
john.j.camilleri
03f5f02577
RGL browser: escape html when printing code (by using .text() instead of .html())
2013-05-24 09:41:01 +00:00
aarne
87eb018d3a
das Auto
2013-05-23 22:43:08 +00:00
kr.angelov
0a66a17e98
a bunch of changes in DictEng and DictEngBul
2013-05-23 09:29:59 +00:00
kr.angelov
9a6b504407
remove DiffBul.gf which is now obsolete
2013-05-23 08:59:36 +00:00
john.j.camilleri
cb7a2761b6
LexiconEng: fix "openned", "openning"
2013-05-22 14:56:35 +00:00
aarne
6f3a81617b
ExistsNP in Extra for Cat,Eng,Fre,Ita,Spa
2013-05-22 14:25:15 +00:00
aarne
007df17175
improved Swe 2nd declension for nouns ending -er/-en.
2013-05-21 14:03:09 +00:00
kr.angelov
78aab96369
fix the encoding problem with unicode literals in the Python binding
2013-05-21 10:53:20 +00:00
aarne
b5fc542142
annotated Adv's in SentencesI to Syntax.Adv to avoid some clashes
2013-05-20 06:40:40 +00:00
aarne
0f30f62b86
fixed the ordinals 1st and 2nd in Fin
2013-05-16 18:53:18 +00:00
aarne
953bc8dc13
added GenRP to ExtraFin
2013-05-16 16:28:24 +00:00
unknown
c446e1f505
verb patterns corrected
2013-05-15 22:05:11 +00:00
aarne
11521d05e1
Fre and Cat adjective inflection fixes
2013-05-14 06:59:45 +00:00
normundsg
aa80b55f2a
Latvian: code refactoring (an intermediate step) and few bugfixes
2013-05-10 12:03:42 +00:00
aarne
65d29d6ecb
Ioanna's Gre fixes; find_V2 doesn't compile and is commented out.
2013-05-10 08:44:15 +00:00
aarne
78d0bfdf21
CompIQuant in ExtraGer
2013-05-07 09:30:37 +00:00
kr.angelov
f9f0fdcdf8
bugfix for bracketedLinearize which was causing crash if the tree cannot be linearized
2013-05-07 08:35:33 +00:00
kr.angelov
2eb37f6407
bug fix in the management of memory pools in the statistical parser
2013-05-07 08:30:32 +00:00
kr.angelov
561e478ed4
the statistical parser is now using two memory pools: one for parsing and one for the output trees. This means that the memory for parsing can be released as soon as the needed abstract trees are retrieved, while the trees themselves are retained in the separate output pool
2013-05-06 15:28:04 +00:00
aarne
3e22349d2b
mkPredet in ParadigmsIta; should be more general, but this one is enough for the MGL
2013-05-06 15:25:23 +00:00
kr.angelov
307e0854ed
fix the leftcorner filtering after the addition of word completion
2013-05-05 10:30:06 +00:00
kr.angelov
be8d72d64c
bugfix in the C runtime which was causing an infinite loop while linearizing partial trees
2013-05-04 13:32:57 +00:00
normundsg
5182065168
Latvian: parameter optimisation, code clean-up and formatting, renaming
2013-05-04 04:56:46 +00:00
kr.angelov
b7ada4d269
remove /lib/src/english/ParseEngAbs3.probs since now it is moved to /treebanks/PennTreebank/ParseEngAbs3.probs
2013-05-03 21:25:31 +00:00
hallgren
5d7658c081
Download page: the .deb packages also work on Ubuntu 13.04
2013-05-03 13:14:27 +00:00
gregoire.detrez
cf5c6b18d9
[haskell runtime] Remove trailing whitespaces in VisualizeTree.hs
2013-05-03 09:42:29 +00:00
aarne
6380053fb5
started DictEngChi
2013-05-03 09:10:22 +00:00
normundsg
9f5c805ab5
Latvian: an optimized NP linearization type => fixed the double negation support in VPS
...
The flag indicating whether a NP has a negated determiner is now encapsulated in the algebraic parameter Agr, removing the extra field in the NP linearization type.
2013-05-02 13:17:53 +00:00
hallgren
0dbddbb9d7
Setup.hs: comment out ineffective parallelisation
2013-05-02 12:36:16 +00:00
normundsg
e17c87e955
Latvian extra: initial support for VP conjunction (VPS)
...
TODO: subject-dependent double negation, other verb moods (currently only the indicative mood).
2013-05-02 07:41:44 +00:00
normundsg
0660bd3779
Latvian extra: added GenCN - similarly as in ExtraFin
2013-05-01 11:08:32 +00:00
kr.angelov
9cdd96363a
word completion in the C runtime. The runtime/python/test.py example is now using readline with word completion
2013-05-01 06:09:55 +00:00
normundsg
6f4befae68
Latvian: finally handles PassV2 clauses in a more or less adequate way
...
Extends the previously introduced support for specifying the verb valence (verb-dependent subject and object cases), involving functions up to PredVP and RelVP.
In Latvian, the passive voice is not used if the agent (subject) is known; to preserve the information structure (i.e. the word order), a clause like 'A is <done> by B' is linearized in the active voice ('A <does> B') where A has the object case (e.g. Acc), and B - the subject case (e.g. Nom). Thus, the verb valence patterns are swapped on-the-fly.
This is still a rather quick & dirty implementation: parameters and linearization types have to be optimized (VerbLav), the use of PassV2 in AdvVP is problematic as it doesn't apply VPSlashPrep / ComplSlash, etc.
2013-05-01 03:33:58 +00:00
aarne
e31c92f9c3
added Mlt to make synopsis and make resourcedemo but didn't update the actual documents on the web server yet
2013-04-30 19:46:21 +00:00
john
6277bf04f9
Maltese: all functions implemented (though not necessarily correct)
...
Oh, and glad Valborg!
2013-04-30 14:23:17 +00:00
aarne
20d63050a4
missing constructs in ParseSpa, some not so certain. Present participles should be added to the morphology.
2013-04-29 13:36:48 +00:00
hallgren
d2627125e6
Download page & developers guide: add a section about known problems with Cabal
2013-04-29 13:12:37 +00:00
aarne
aac0aa2141
miniresource functor
2013-04-28 09:42:56 +00:00
kr.angelov
6cc44193b8
finally the statistical parser is able to return all possible abstract trees
2013-04-26 20:44:01 +00:00
hallgren
3d984e9ee4
gfse: use alltenses/ instead of present/ when looking up RGL oper types
2013-04-26 15:01:11 +00:00
hallgren
46546a3e93
Add greek to Setup.hs and the web apps
2013-04-26 13:42:01 +00:00
aarne
526af17c52
removed obsolete Gre files
2013-04-26 06:00:42 +00:00
aarne
563b2b185d
added Greek to ResourceDemo
2013-04-25 13:55:08 +00:00
hallgren
56f87a4c34
minibar: remove two more uses of with()
2013-04-25 15:08:26 +00:00
hallgren
debe305484
minibar: fix bug that prevented minibar from working in Webkit browsers
...
The with(...) {...} statement has different scoping rules in Webkit browsers
and Gecko browsers, so it is better to avoid it.
2013-04-25 14:55:24 +00:00
aarne
5612fcfacf
Greek by Ioanna Papodopoulou - complete, 27th RGL language
2013-04-25 13:22:28 +00:00
aarne
7190af9c7c
added Gre to lib/src/Make
2013-04-24 14:25:45 +00:00
hallgren
74ea0c9cf4
PGF service: apply the token binding operator &+ to all linearizations
...
The &+ operator is now consistently eliminated from the output of commmands
that produce linearizations. Before, only the commands translate and
translategroup did this.
2013-04-24 18:32:53 +00:00
hallgren
322968fb5c
js/localstorage.js: don't throw an exception if JSON parsing fails
...
Return the given default value instead.
2013-04-23 14:14:38 +00:00
hallgren
5c19681f2d
gfse: add access to the syntax editor
...
via the minibar
2013-04-23 13:55:00 +00:00
hallgren
dade5c1194
js/gfrobust.js: don't try to translate sentenses that are too long
...
The C run-time responds badly to input that is too long, so we return an
error message here instead.
The limit is 200 URL-encoded characters.
2013-04-23 13:40:38 +00:00
hallgren
d6c01c5414
js/localstorage.js: improved faked localStorage if real localStorage is missing
2013-04-23 12:44:12 +00:00
hallgren
aa37d9d01b
minibar: use the common interface to localStorage
...
...for more streamlined code and better browser compatibility.
2013-04-23 12:39:18 +00:00
kr.angelov
f4cf8deab7
a trivial refactoring of the reasoner in the C runtime
2013-04-23 06:40:14 +00:00
aarne
45a32c632a
new-gf-bib fixes
2013-04-22 20:48:50 +00:00
aarne
85c7571c12
Inari's new batch of words in DictFin: now 4713 checked words
2013-04-12 06:42:00 +00:00
inari.listenmaa
7868774695
new source to new-gf.bib
...
in addition to the previous ones, added also a source that isn't related to GF, but is used as a source in the sublanguage paper.
2013-04-22 17:22:11 +00:00
inari.listenmaa
697547ad40
new sources to new-gf.bib
...
Including sources needed in MTsummit paper about sublanguage. MOLTO deliverables and some conference papers.
2013-04-22 17:19:29 +00:00
normundsg
591c487d2c
Latvian: miscellaneous
2013-04-22 13:51:48 +00:00
kr.angelov
5aee2c4473
bug fix in pgf-translate which was hiding that there are more than one trees per sentence
2013-04-22 13:02:43 +00:00
kr.angelov
e76873c11f
a bit more informative error message in GrammarToPGF
2013-04-22 12:14:39 +00:00
kr.angelov
ffd64cc02a
reverse the direction of the arcs in the dependency trees
2013-04-21 19:20:08 +00:00
virk.shafqat
81bb7c7dde
refinementsDiffHindustani
2013-04-20 09:15:49 +00:00
hallgren
7c24e41d54
gfse: don't add --# -path=.:present
...
Nowadays GF includes alltenses by default in the grammar search path.
2013-04-20 07:25:38 +00:00
inari.listenmaa
038912654d
corrected error in cow_N
2013-04-19 14:47:10 +00:00
inari.listenmaa
b7b3a1160a
New Catalan feminine noun smart paradigm
...
Added a one-place constructor for words that end in "ca" or "ga" in nominative.
2013-04-19 14:32:39 +00:00
hallgren
57e06e7a6a
simple translation tool: minor documentation fix
2013-04-19 14:10:03 +00:00
hallgren
5a9c370cdf
gf-cloud-api.html: fixed a typo
...
in the documentation of command=remake.
2013-04-19 12:17:27 +00:00
hallgren
18f862abbc
gf-cloud-api.html: clarification
...
Unrecoginzed parameter in cloud service requests are silently ignored.
2013-04-19 12:06:00 +00:00
kr.angelov
23bf85e023
the option -old for the vp command is now redundant
2013-04-19 11:15:18 +00:00
kr.angelov
d6d4ae3a6b
remove the dead code left behind by Peter Ljunglöf in VisualizeTree
2013-04-19 11:13:07 +00:00
kr.angelov
b4374a6a52
fix the command options for the vd command in the shell
2013-04-19 11:11:57 +00:00
kr.angelov
15fd8b15ab
the C runtime and the Python binding now have an API for parser evaluation. The API computes PARSEVAL and Exact Match for a given tree. As a side effect the abstract trees in Python are now compared for equality by value and not by reference
2013-04-19 10:57:46 +00:00
kr.angelov
2a0c69a412
added API for computing bracketed strings from Python and C
2013-04-18 13:37:09 +00:00
hallgren
f4a7893e15
simple translator: improved translation with the GF robust parser
...
by separate punctuation from the string sent to the robust parser.
Also added buttons to view parse trees from the robust parser.
2013-04-18 13:11:46 +00:00
hallgren
deb0227168
gfrobust.js: add a method for constructing parse tree image URLs.
2013-04-18 13:11:05 +00:00
hallgren
12d1bbda48
GF home page: add "machine translation" in a meta keywords tag
...
GF does not show up if you google for machine translation. This meta tag might
help, but in general I think it is better for SEO to mention relevant keyword
in the body text than to rely on meta tags.
2013-04-18 12:02:32 +00:00
virk.shafqat
7ddd6db0b0
bugfisxResHindustani
2013-04-18 06:51:35 +00:00
virk.shafqat
731854b0a1
bugFixinResHindustani
2013-04-17 10:33:49 +00:00
hallgren
c1390db368
minibar: syntax editor integration bug fix
...
The minibar has the alternative "All" in the target language menu. This should
not be included when transfering to the syntax editor.
2013-04-17 08:49:31 +00:00
hallgren
5e15ba20f5
minibar: fixes for phrasebook
...
Add minibar option to_multiple to be able to turn off selection of multiple
target languages.
2013-04-17 08:39:39 +00:00
kr.angelov
cb7025dc11
added a malt_tab format to the vd command in the GF shell
2013-04-16 18:22:37 +00:00
kr.angelov
d5666aebd0
the generation of dependency trees in the Haskell runtime is now finally working with bracketed strings. This also fixes some errors in the old implementation
2013-04-16 13:10:48 +00:00
kr.angelov
44828765c3
the compiler now sorts the list of functions per category in probability order. this ensures probability order search in the C runtime
2013-04-15 19:58:57 +00:00
john
61649270a7
Update summer school page
2013-04-13 13:21:03 +00:00
hallgren
4ec1db9065
GF cloud: work on syntax editor integration
...
+ The syntax editor is now accessible from the Simple Translaton Tool.
+ The minibar now automatically provides access to the syntax editor (provided
the necessary JavaScript files and style sheets have been loaded).
+ Preparations for making the syntax editor accessible from the grammar editor.
2013-04-12 18:29:15 +00:00
hallgren
041d8f1a2d
syntax editor: fix references to global object 'server'
2013-04-12 17:50:44 +00:00
hallgren
95e68117a9
minibar/syntax editor integration fixes
...
When starting from the minibar, the selected set of target languages is now
preserved when switching back and forth.
2013-04-12 14:30:27 +00:00
hallgren
965adf74d6
Simple Translation Tool: eliminate &+ in translations from GF
...
Also fixed a bug introduced in previous refactoring.
2013-04-12 13:00:05 +00:00
hallgren
3cebd68a78
gfrobust.js: adding a JavaScript API to the GF Robust Parser translation service
...
Factored out from the Simple Translation Tool.
2013-04-12 12:47:13 +00:00
hallgren
a60e8bb0b7
minibar.html: add debug element
...
to allow debug output from the syntax editor when it is started from the
minibar.
Also fix broken markup.
2013-04-11 11:47:06 +00:00
hallgren
1ad1d427a4
Import Folkets Lexikon: report the number of words found
...
And some other minor tweaks.
2013-04-11 08:54:39 +00:00
hallgren
2d3e242ab3
gf -s/-q now silences "no linearization of" warnings
2013-04-10 23:00:01 +00:00
aarne
63c365c958
added a couple of lin's in ParseSwe to try out Penn translations with something complete.
2013-04-10 20:49:15 +00:00
hallgren
523d7139f4
Import of Folkets Lexikon: the heap size limit was too low for 64-bit systems
...
The default heap size limit has been increased to 3GB. On 32-bit system you
can use a lower limit:
make M=1500M
2013-04-10 16:42:35 +00:00
hallgren
6689677165
Adding a script to import Folkets Lexikon
...
In order to compile DictEngSwe.gf, you must now first run this script to create
FolketsLexikon.gf.
cd lib/src/swedish/folketslexikon
make
This will automatically download and convert Folkets Lexikon.
If the download fails, a dummy version of FolketsLexikon.gf will remain,
allowing DictEngSwe.gf to be compiled anyway.
2013-04-10 16:25:48 +00:00
inari.listenmaa
45197acd2d
fixed Kotus paradigm k42
...
There was an error in the paradigm for "mies", fixed the s in genitive stem ("miesen") to h ("miehen").
2013-04-10 14:15:01 +00:00
virk.shafqat
59fdc8f065
more DictHin
2013-04-10 09:50:31 +00:00
virk.shafqat
7346469aea
more entries in DictHin
2013-04-10 08:59:31 +00:00
aarne
1850861720
500+ checked words in DictFin from Inari: now 4291 words have been checked
2013-04-09 19:14:12 +00:00
aarne
e1ae63e7f9
Inari's DictFin additions
2013-04-09 13:42:33 +00:00
virk.shafqat
029d90adc8
implementation of few more functions in ParseHin,Urd and new entries in DictUrd2
2013-04-09 13:48:04 +00:00
hallgren
0667311adf
PGF.hs: export function missingLins
...
Also in Commands.hs: be explicit about things imported from the PGF library
that are not in the public API.
Also a couple of haddock documentation fixes.
2013-04-08 15:38:11 +00:00
virk.shafqat
ee2a46691f
smallbugfixParseUrd
2013-04-08 15:41:14 +00:00
virk.shafqat
c1762bf320
BugfixUrd
2013-04-08 15:34:10 +00:00
virk.shafqat
f81f902bdd
extension of DictHin and ParseHin
2013-04-08 11:14:29 +00:00
aarne
830e7bfa53
fixes in FIn syntax and lexicon
2013-04-07 21:34:11 +00:00
aarne
d6014786ab
SlashSlashV2V in ParseEng added; new set of checked DictFin words
2013-04-07 13:23:23 +00:00
hallgren
98d068fa3a
minibar: add a visual hint that linearizations can be expanded into tables
2013-04-07 12:06:12 +00:00
aarne
d182ae6fce
checked words for wsj-100 experiments
2013-04-07 10:06:37 +00:00
aarne
70304b45d3
Inari's 390 checked DictEngFin words
2013-04-05 14:53:12 +00:00
aarne
d367947ff7
Inari's additions to DictFin
2013-04-05 12:46:37 +00:00
hallgren
44a83cf04a
Compiler.hs: ghc 7.6.2 compatibility
2013-04-05 20:37:37 +00:00
hallgren
0cb376f813
Simple Translator: add GF Robust Parser to the menu for individual segments
2013-04-05 20:32:20 +00:00
hallgren
f67699398e
Simple Translator: use lextext/unlextext for translations with the robust parser
2013-04-05 15:15:40 +00:00
hallgren
e6286fd376
Simple Translator: initial support for translation with the GF robust parser
2013-04-05 13:25:09 +00:00
kr.angelov
b6bbe96503
now the web service to the robust parser can to translations also
2013-04-05 12:22:52 +00:00
aarne
853c0ce4b2
initialized ParseSwe and ParseEngSwe
2013-04-05 11:40:50 +00:00
kr.angelov
cf0da12b8a
a bugfix which was causing an infinite loop in the C linearizer for some sentences
2013-04-05 09:11:24 +00:00
aarne
1b987a6ce6
added ParseSpa and DictEngSpa as almost dummy templates, but they are compilable
2013-04-05 08:57:12 +00:00
kr.angelov
b850ea2b9b
a very simple linearization for partial abstract trees in the C runtime
2013-04-05 08:42:56 +00:00
aarne
d6cfd33c16
a couple of fixes in Ger
2013-04-05 08:38:13 +00:00
aarne
6ee959de86
changed ParseEngBul to ParseBul for uniformity
2013-04-05 07:51:26 +00:00
aarne
d230533114
changed the name of ParseEngGer to ParseGer for uniformity
2013-04-05 07:47:47 +00:00
aarne
5bb87f85b6
improved entry in DictFin
2013-04-04 20:28:23 +00:00
aarne
a4694ada95
checked >100 penn words in DictFin
2013-04-04 19:11:17 +00:00
aarne
e6e64abb3c
better annotations in DictFin: CHECKED
2013-04-04 16:04:50 +00:00
aarne
8f8b548319
changed 200 old-generation words in DictFin
2013-04-04 15:39:56 +00:00
hallgren
8a1b37a169
minibar/syntax editor integration improvements
...
Work in progress on preserving the start category and selected target languages
when switching between the minibar and the syntax editor.
2013-04-04 14:04:31 +00:00
aarne
16c0fb00f7
missing ParseFin syntax constructs
2013-04-04 13:14:02 +00:00
aarne
205a14cfa4
commented out a couple of unfinished lines
2013-04-04 06:41:15 +00:00
aarne
42e584a2e2
some new stemmed/ParadigmsFin
2013-04-04 06:39:36 +00:00
aarne
0cc41b31ba
some Fin determiners from Penn
2013-04-03 22:47:40 +00:00
aarne
92f3662b3f
300 full-penn top words in Dict
2013-04-03 20:27:34 +00:00
hallgren
d10c6bc85f
Simple Translation Tool: initial support for editing source segments in the minibar
2013-04-03 20:24:57 +00:00
hallgren
0b03908ba8
Adding src/www/js/localstorage.js
...
A common interface to localStorage, to store JSON data under a unique prefix.
2013-04-03 20:23:32 +00:00
aarne
1ae1265a2f
compound word paradigm in Ger
2013-04-03 12:51:23 +00:00
john.j.camilleri
8fbfe494dc
RGL browser: add GF logo, give full name in page title
2013-04-03 07:02:53 +00:00
hallgren
56a299df79
Prevent Unicode characters in warning messages from stopping grammar compilation
...
When compiling a grammar containing characters that are not supported in the
current locale, warning messages could cause GF fail with
hPutChar: invalid argument (Invalid or incomplete multibyte or wide character)
With this quick fix, warning messages that can not be displayed are silently
truncated instead, and compilation continues.
2013-04-03 06:42:08 +00:00
john.j.camilleri
d58d7a4ce3
Maltese RG: Irregular verbs in Dict, Lexicon. Prep, Conj and others.
2013-04-03 06:50:01 +00:00
john.j.camilleri
5dbeb4beee
Replace "CId" with "Language" in type signature for PGF.tabularLinearizes
2013-04-02 09:19:08 +00:00
aarne
bfa7ce816c
reported the chunking translator in Finnish log
2013-04-02 19:42:19 +00:00
hallgren
c457cfe305
gf.cabal: fix tab char problem
2013-04-02 14:53:15 +00:00
hallgren
84c197106b
gf.cabal: gf depends on utf8-string even when compiled without server support
2013-04-02 14:50:01 +00:00
hallgren
40bc49245a
minibar: remember the selected set of target langauges
2013-04-02 13:49:50 +00:00
hallgren
da862e20b4
minibar: abstract syntax trees are now shown with or without category names
...
Function names are always shown.
2013-04-02 11:56:10 +00:00
aarne
3d236a077a
scattered DictEngFin improvements
2013-04-02 06:32:52 +00:00
aarne
9f5a5ec130
another batch of words in DictFin
2013-03-31 20:26:56 +00:00
aarne
5e7f528bd9
weekdays and months in Fin
2013-03-31 14:47:46 +00:00
aarne
f3cb0ae064
fixed the sp form of Eng DetQuant in the presence of card and ord; the code could be simplified now
2013-03-31 14:04:13 +00:00
aarne
dba883fb21
a special form for Finnish verbs needed for oleva/olema; correction to weakGrade of "kt" and the like
2013-03-31 13:56:22 +00:00
aarne
fbe9db8b55
Finnish VV inf forms extended with "näyttää tulevan" and "toivoo tulevansa"
2013-03-31 10:03:41 +00:00
aarne
700365d630
another batch of lexicon corrections in DictFin (see finnish/stemmed/log.txt for details)
2013-03-30 23:21:13 +00:00
aarne
8d4bde1787
a separate compound form for Fin nouns, needed e.g. for nainen->nais
2013-03-30 21:52:25 +00:00
aarne
07d12bdffc
Finnish passive Impf and Condit fixed (both in rgl and stemmed)
2013-03-30 20:44:28 +00:00
aarne
73e0a8e5c6
an improvement in Fin passive infinitives - but still not perfect
2013-03-30 17:39:36 +00:00
aarne
68bf1cc2f9
bug fix in stemmed/NounFin with sp forms of IndefArt
2013-03-30 17:07:57 +00:00
aarne
c2f2fc66a7
revised 200+ most frequent V2's in DictEngFin, leading to changes of patterns for most verbs.
2013-03-30 10:49:41 +00:00
aarne
00a789d624
fixed "date" and "force" in DictFin
2013-03-29 21:46:18 +00:00
aarne
660d21000d
Some more DictFin items. 50 of the 3220 Penn examples remain to be covered.
2013-03-29 21:34:50 +00:00
aarne
5c75ec2cd2
top-ten missing DictEngFin words, now translating 95% of the corpus
2013-03-29 20:51:30 +00:00
aarne
9414503235
a few more words in DictFin, but the most frequent missing ones - now complete lin for over 90% of the complete trees
2013-03-29 17:42:47 +00:00
aarne
01f12a135b
preliminary implementation of GerundN and GerundAP in ParseFin. More coverage, but some strange translations.
2013-03-29 12:45:24 +00:00
aarne
ca73f4554c
option pt -funs to show all fun's in a tree
2013-03-29 11:45:42 +00:00
virk.shafqat
d71d5ae25b
added around 3K new entries in DictHin
...
Place the long patch description above the ***END OF DESCRIPTION*** marker.
The first line of this file will be the patch name.
This patch contains the following changes:
M ./lib/src/hindi/DictHin.gf -25709 +28154
2013-03-29 11:34:14 +00:00
aarne
ed570d37e6
removed unstemmed DictEngFin and ParseFin: they were no more maintained and would not scale up anyway
2013-03-29 10:21:29 +00:00
aarne
ed35291768
updated log.txt of ParseEngFin experiment
2013-03-29 10:20:36 +00:00
aarne
eb791244bd
some new opers in ParadigmsFin, and 200 more words in DictEngFin: out of 3220 Penn trees now 2721 are completely translated (but mostly not so well...)
2013-03-29 10:13:04 +00:00
aarne
27a1811446
second round of completing ParseFin with missing constructs: hundreds more translations
2013-03-29 08:03:20 +00:00
hallgren
0e45b8513f
minibar: show abstract syntax trees without or with function names
...
Click once to show abstract syntax trees without function names. Click again
to add function names.
2013-03-28 16:00:04 +00:00
hallgren
525b983b4c
PGF web API: command=abstrtree not supports the nocat and nofun options
2013-03-28 15:57:17 +00:00
aarne
2eab210435
new DictEngFin in finnished/stemmed. Only 9k lemmas missing.
2013-03-28 14:22:09 +00:00
aarne
abd95ff3c1
preparing a new DictEngFin from WN data
2013-03-28 11:04:09 +00:00
kr.angelov
f11abff7c6
added simple script for estimating the coverage on the PennTreebank
2013-03-28 09:15:38 +00:00
kr.angelov
ad4c97fdf7
added a few more multiword expressions in DictEng and a few words in the abstract syntax are not tagged with their senses. There is a new statistical model too
2013-03-27 20:46:42 +00:00
aarne
26175a69df
mapped DictEng to Fin via Wordnet and Kotus
2013-03-28 08:16:45 +00:00
hallgren
9c7d1328a1
minibar: fix problems with the To: menu
...
Automatically expanding the menu when the mouse is over it seems to cause wierd
scrolling behavior in Chrome (and also in Firefox but less severe).
2013-03-27 23:39:35 +00:00
hallgren
63c09e962a
minibar: documentation update
2013-03-27 16:45:09 +00:00
hallgren
6076ed6ca0
minibar: click on a linearization to obtain a table with all variants and forms
...
Click again to hide the table.
2013-03-27 16:35:56 +00:00
hallgren
e4809aba37
support.js: add function replaceNode
2013-03-27 16:35:32 +00:00
hallgren
ca09371166
PGF web API: add comand linearizeTable
...
The new command linearizeTable outputs linearizations as tables containing all
variants and forms, labelled by parameters
2013-03-27 16:31:52 +00:00
hallgren
b30504a8e2
minibar: fix buttons for abstract syntax trees and word alignment diagrams
...
They stopped working after yesterday's changes.
2013-03-27 14:07:16 +00:00
inari.listenmaa
03f0316dae
Copula and lexical corrections to PhrasebookCat
2013-03-26 16:47:36 +00:00
inari.listenmaa
80f4d1de2e
Pronouns with possessive 'llur'
...
Changed default plural possessive pronoun from llur to "el seu / la seva" etc. and created variants with "llur / llurs" in ExtraCat.
Also changed good_A in LexiconCat to a preceding adjective (prefA).
2013-03-26 16:45:11 +00:00
aarne
a01ac1370d
linking Kotus with FinWordnet
2013-03-26 15:11:59 +00:00
aarne
379647e5d9
a Haskell script for looking up words and compounds in Finnish Kotus
2013-03-25 16:50:51 +00:00
hallgren
cf186f04fb
minibar: documentation update
2013-03-26 14:38:10 +00:00
hallgren
26d846a23e
minibar: show parse trees without or with function names
...
Click once to show the parse tree without function names. Click again to
add function names.
2013-03-26 14:24:22 +00:00
hallgren
45b632d530
PGF service: support all parse tree visualziation options in the web API
...
The new options are
* noleaves, nofun, nocat (booleans, false by default)
* nodefont, leaffont, nodecolor, leafcolor, nodeedgestyle, leafedgestyle
(strings, empty by default)
2013-03-26 14:17:24 +00:00
hallgren
1a64436d78
haddock bug workaround
2013-03-26 13:14:37 +00:00
inari.listenmaa
af53e6e31b
Corrected VRefl in DiffCat
...
Fixed VRefl in DiffCat from "se" to "es" and tonic from "sÌ" to "si". Also some trivial formatting things in MorphoCat and IdiomCat.
2013-03-26 11:33:54 +00:00
hallgren
9a8d2349e4
minibar: initial support for selecting an arbitrary subset of target languages
...
This affects which translations are shown and which languages are included in
the word alignment diagrams.
2013-03-25 17:43:12 +00:00
aarne
2bb9eb5d14
the path to PROBSFILE in lib Makefile
2013-03-25 14:28:12 +00:00
aarne
eb9685e911
added generalized ComplVV to ParseFin
2013-03-25 14:21:46 +00:00
aarne
77a9530cf9
fixed DictHin.quite_Adv which had wrong type
2013-03-19 08:09:31 +00:00
hallgren
2cc9a37db4
Setup.hs: paralell RGL module compilation experiment
...
For this to have any effect, Setup.hs has to be compiled with -threaded, which
cabal-install doesn't do, unfortunately...
2013-03-25 14:03:10 +00:00
kr.angelov
be922d09a1
added the file treebanks/PennTreebank/ParseEngAbs3.probs which is used by the statistical parser for robust chunking
2013-03-25 10:28:53 +00:00
kr.angelov
72556ad1ae
a long list of prepositions from Wikipedia is now imported in DictEng in addition there are a number of small other changes in the dictionary. The statistical model is updated and is now moved to treebanks/PennTreebank/ParseEngAbs.probs
2013-03-25 10:24:24 +00:00
kr.angelov
8b40d4974b
added configuration file which defines the heads for all syntactic functions in ParseEng
2013-03-21 13:39:24 +00:00
kr.angelov
650e1cfa43
the calculation of lexical_prob in the statistical parser doesn't work properly. It should be fixed but for now I just disabled the optimization
2013-03-20 12:28:52 +00:00
kr.angelov
fec34e7622
replace #if with #ifdef when checking for the optional bottom up filtering in the C runtime
2013-03-20 10:47:47 +00:00
kr.angelov
466813f1e8
fix in ParseHin which made it impossible to load the grammar with the C runtime
2013-03-20 10:34:37 +00:00
virk.shafqat
648b3c53a9
pathbugfixParseHin
2013-03-20 10:21:12 +00:00
virk.shafqat
af4ac56b35
smallfixDictHin
2013-03-20 09:17:55 +00:00
kr.angelov
1ddcfc219e
the bottom up filtering in the C runtime is temporary disabled. It takes too much memory and even makes it impossible to load the Finnish and the German parsing grammars.
2013-03-19 10:59:44 +00:00
kr.angelov
8041999405
the ParseFin grammar now excludes ComplVV from VerbFin since this function has a more general type in the parsing grammar
2013-03-19 10:49:13 +00:00
aarne
ed8611c94b
Makefile entries for ParseHin and ParseGer
2013-03-19 07:59:04 +00:00
aarne
6660a47404
Makefile entries for pgf's for robust parsing
2013-03-19 07:26:06 +00:00
kr.angelov
c775d0c5c5
filterout all adjectives and adverbs which could be derived morphologically
2013-03-18 17:31:20 +00:00
virk.shafqat
4fd9c860f3
factorUrdandAddDictGer
2013-03-18 14:42:10 +00:00
hallgren
c823b7fd91
Fix a problem with pattern macros in pre { } expressions
...
The old partial evaluator has special rules to convert pattern macros in
pre { } expressions. These rules were missing in the new partial evaluator.
2013-03-16 13:36:23 +00:00
kr.angelov
34fddf669f
some of the newly added nouns in DictEng were actually variations of already existing lexical entries. Those are removed now.
2013-03-15 23:23:06 +00:00
kr.angelov
e5913189db
massive extensions in DictEng and DictEngBul. This includes all new nouns imported from WordNet by Shafqat, phrasal verbs that I collected from internet and the PennTreebank, plus various other small additions.
2013-03-15 20:18:22 +00:00
aarne
ff879641c8
uncomment a VerbFin function left commented by mistake
2013-03-15 17:40:28 +00:00
aarne
23a310be57
a stemmed version of DictEngFin and ParseFin - now works without trouble!
2013-03-15 15:07:14 +00:00
inari.listenmaa
2295f491c7
Corrections in LexiconSpa
...
Corrected many verbs in LexiconSpa. Also added in BeschSpa oir_51 and corrected morder_50b. In MorphoSpa added words ending in é and á to a regexp for regular nouns.
2013-03-15 17:13:25 +00:00
aarne
87d465594b
stemming in Fin also for verbs now
2013-03-15 11:13:49 +00:00
aarne
3b66a870d1
stemmed version of verbs: from 102 forms to 13 "technical stems" in Fin
2013-03-15 08:55:14 +00:00
aarne
330a2ae094
Stemmed Finnish for N and A. Cuts down the number of forms stored in the lexicon to 30%, requiring more often -bind in linearization. Stored as alternative files in finnish/stemmed; perhaps to be functorized later.
2013-03-14 20:55:59 +00:00
aarne
59cbd2867f
experimental stem-based morphology for Finnish, to minimize lexicon size, started
2013-03-14 15:13:44 +00:00
kr.angelov
cb37254882
bug fix in the linearizer in the C runtime
2013-03-14 12:31:49 +00:00
kr.angelov
f1a42ad78e
update the pgf-service tool from the C runtime after the changes in the API
2013-03-14 10:37:01 +00:00
hallgren
86127d03d0
Update shell reference manual
2013-03-14 08:08:51 +00:00
aarne
54324d5de3
added PassVPSlash to ExtraRomance; it is a generalization of PassV2 already implemented for some languages. As a variant in Spa and Cat, added PassVPSlash_ser with another copula.
2013-03-13 17:07:57 +00:00
hallgren
6045ddae19
PGF web API: add 'to' parameter to the 'alignment' command
...
Word alignment diagrams can now be restricted to a subset of the languages
supported by the grammar.
2013-03-13 15:56:03 +00:00
hallgren
e2bb437943
PGF web API: generalize the 'to' parameter to accept a list of languages
...
Some commands (linearize, linearizeAll, random, generate, translate and
translategroup) by default produce output in all languages supported by the
grammar and the 'to' parameter could be used to restrict output to a single
language. Now you can restrict the output to a list of languages. Languages
should be separated by spaces.
Also removed an unnecessary LANGUAGE pragma and reduced code verbosity.
2013-03-13 15:25:28 +00:00
aarne
18324e5e04
Poss,Part,Count NP implemented in Finnish: tehtaan johtaja, lasi viiniä, kolme pojista
2013-03-13 14:48:23 +00:00
aarne
b3e1908c78
Poss,Part,Count NP in Scandinavian
2013-03-13 14:21:26 +00:00
aarne
0dc182c216
pt -nub to remove duplicate trees from a list returned e.g. by a parser
2013-03-13 13:43:30 +00:00
aarne
31b4b13b65
constructors PossNP, PartNP, CountNP to separete "of" constructions
2013-03-13 13:42:41 +00:00
aarne
05c9934af0
added the nominal possessive form NPNomPoss to NPCase in Eng (covering mine, yours, etc)
2013-03-13 12:34:22 +00:00
aarne
f61a013a40
case endings in Fin symbols: Nom is a special case, since there is no ending
2013-03-12 20:29:31 +00:00
aarne
367123c81b
the proper place of verb particle in Eng passives
2013-03-12 20:06:51 +00:00
aarne
d14589804e
worst case of Fin mkA; default case endings for Fin symbol as PN
2013-03-12 20:01:07 +00:00
aarne
77171607a9
some additions to DictEngGer, e.g. said_Quant
2013-03-12 16:59:38 +00:00
hallgren
7710dc42db
partial evaluator: push predefined functions inside variants
...
This should prevent errors like
Internal error in Compute.ConcreteNew:
Applying Predef.drop: Expected a value of type String, got VFV [VString "gewandt",VString "gewendet"]
2013-03-12 16:36:58 +00:00
aarne
c5d03231d8
removed variants from IrregGer, introducing extra fun's for irregular variants, but none for regular ones.
2013-03-12 16:21:37 +00:00
aarne
9d1be48e0f
command pt -subtrees that analyses a tree into the set of subtrees. Using pt -subtrees <bigtree> | l -treebank for debugging the lin of a big tree
2013-03-12 14:58:06 +00:00
aarne
9cd632497b
AdvVPSlash in Fin
2013-03-12 10:00:15 +00:00
aarne
cae80a3074
fixed DictEngGer to changed lincats
2013-03-12 09:07:15 +00:00
aarne
3eab279825
verb particles in place in DictEng
2013-03-11 19:20:35 +00:00
kr.angelov
2893397fbb
bugfix in the statistical parser
2013-03-11 14:47:43 +00:00
hallgren
cd8cbda3d4
Additional changes for GHC 7.4 & 7.6 compatibility
2013-03-11 12:57:09 +00:00
Sergei Trofimovich
05e5895134
ghc-7.6: allow directory-1.2
...
Get rid of old-time depend (and ClockTime in favour of UTCTime).
time-compat helps to retain backward compatibility with directory-1.1
and lower.
2013-03-09 21:38:43 +00:00
Sergei Trofimovich
6898804a11
ghc-7.6: fix src/server/PGFService.hs (use catch from base-4 Control.Exception)
2013-03-09 21:38:14 +00:00
Sergei Trofimovich
8d00819790
ghc-7.6: add missing Num instance for Bits
...
Fixes the following build failure:
src/runtime/haskell/Data/Binary/IEEE754.lhs:256:17:
Could not deduce (Num a) arising from a use of `mask'
from the context (Bits a)
bound by the type signature for
clamp :: Bits a => BitCount -> a -> a
2013-03-09 21:19:53 +00:00
Sergei Trofimovich
8e4d460c6f
Setup.hs: switch to base-4 exceptions
...
Fixes build failure on ghc-7.6:
$ runhaskell Setup.hs configure
Setup.hs:394:14: Not in scope: `E.try'
base-4 is available/default since ghc-6.10.
2013-03-09 21:18:03 +00:00
aarne
dfd314520b
a typo in ParadigmsGer.mkV2 ; added comma in NounGer.RelCN
2013-03-10 16:17:28 +00:00
inari.listenmaa
d58b0e21d6
Corrected accents in interrogative pronouns
2013-03-08 12:37:12 +00:00
inari.listenmaa
33bab1a6e2
Small corrections in Spa files
...
* WordsSpa: Married with state copula; Warm from "tibio" to "caliente"; corrected a typo in Romania
2013-03-08 12:33:21 +00:00
aarne
dc6812c304
refined the check whether a complement has a preposition by adding a parameter, in Ger
2013-03-08 08:02:06 +00:00
aarne
defdba3d27
in Ger, an NP can be light only if the complement case is Acc
2013-03-07 20:49:04 +00:00
aarne
949d03f90b
more fine-grained place of German negation
2013-03-07 20:47:21 +00:00
aarne
988d5970d6
particle verbs in English: make discontinuous (at last). Accessed by ParadigmsEng.partV (as before, but without real effect) and ExtraEng.ComplSlashPartLast.
2013-03-07 18:12:56 +00:00
inari.listenmaa
2689d1a6a1
Fixed typos in MorphoSpa
...
Just some things that were mistyped in the previous fix (like forgotten parentheses).
2013-03-07 10:56:05 +00:00
virk.shafqat
76902d3215
accedentalBugFixedAllHin
2013-03-05 20:37:48 +00:00
inari.listenmaa
dc56fedfa5
Better smart paradigms for diphthong verbs ending in -er and nouns ending in n
...
In BeschSpa: Fixed bugs in regAlternV and added regAlternVEr. Now the two-place constructor mkN "mostrar" "muestro" now works also for verbs in -er conjugation. (Not for -ir though, they are more irregular.)
In MorphoSpa: Added smart paradigms for nouns with alternation "jardín" "jardines". Now they only need one form.
In LexiconSpa: Corrected Paris to París.
2013-03-05 15:55:27 +00:00
virk.shafqat
c77412d35b
added LinkedDictUrd
2013-03-04 09:09:55 +00:00
virk.shafqat
5e835de380
few changes in ParseHin
2013-03-04 09:05:56 +00:00
hallgren
e61f2f8d03
Fix a bug that could cause "Prelude.head: empty list"
...
In Data.Operations, the function topoTest2 assumed too much about the form of
the input, compared to the older function topoTest.
2013-02-28 17:46:13 +00:00
hallgren
5e3e5821fb
pattern match length estimation code simplication
2013-02-28 15:13:20 +00:00
hallgren
bbc13e9f0c
Faster regular expression pattern matching in the grammar compiler.
...
The sequence operator (x+y) was implemented by splitting the string to be
matched at all positions and trying to match the parts against the two
subpatterns. To reduce the number of splits, we now estimate the minimum and
maximum length of the string that the subpatterns could match. For common
cases, where one of the subpatterns is a string of known length, like
in (x+"y") or (x + ("a"|"o"|"u"|"e")+"y"), only one split will be tried.
2013-02-27 20:59:43 +00:00
hallgren
8174364250
GF grammar pretty printer improvements
...
Allow line breaks in more places to make large terms more readable.
2013-02-27 14:22:47 +00:00
kr.angelov
d924b70888
a bunch of changes in DictEng and DictEngBul plus an updated statistical model
2013-02-27 09:21:29 +00:00
kr.angelov
f001d40ae3
added gu_buf_flush in seq.c which removes all elements from a buffer
2013-02-26 09:48:09 +00:00
john.j.camilleri
348c118fc9
GFEP: update readme
2013-02-22 15:33:52 +00:00
kr.angelov
1a0f85d297
fixes and extensions in DictEng and DictBul
2013-02-22 09:53:54 +00:00
aarne
ed3867789d
spacing in Romance reflexives with infinitives
2013-02-21 16:02:40 +00:00
aarne
f92e245c0a
inversions with intervening -t- for Fre, e.g. fera-t-il, parle-t-elle
2013-02-21 08:40:57 +00:00
aarne
5cb47b863d
the word order of Romance DInv sentences: dove è X esposto -> dove è esposto X. Perhaps a bit too strong; the old version is left in comments, to make later finer distinction easy.
2013-02-20 20:34:28 +00:00
aarne
8eaf3c319e
fixed details of Romance clitics for reflexives, imperatives, infinitives. A change in the type of VP.clit3 was needed.
2013-02-20 19:34:20 +00:00
aarne
07eaf86ab4
fixed agreement to object in Romance SlashVP
2013-02-20 15:55:53 +00:00
aarne
48204048d3
some fixes with Romance clitics and imperatives
2013-02-20 15:27:54 +00:00
kr.angelov
5a54596fe8
the parser in the C runtime should not crash if the start category is not defined
2013-02-19 12:08:48 +00:00
kr.angelov
f86dcb6572
bugfix in the grammar reader in the C runtime
2013-02-19 12:04:10 +00:00
john.j.camilleri
02169db183
Maltese RG: work on numerals, quants, dets, and enclitic pronouns with nouns
2013-02-13 16:18:09 +00:00
kr.angelov
ffb17bd26a
bugfix in the linearizer for the C runtime
2013-02-13 15:39:01 +00:00
hallgren
0f7ebcc10d
Fix for a PGF portability problem
...
GF produced slightly different PGF files on 64-bit systems and 32-bit systems.
This could cause problems when a PGF was produced on a 32-bit system and used
on a 64-bit system.
To fix this, the GF compiler and the Haskell PGF run-time library now reads
and writes PGF files like the 32-bit version even when compiled on a 64-bit
system.
Note: the Haskell type Int is still used internally in GF, which could be
32 bits or 64 bits...
2013-02-13 14:28:06 +00:00
kr.angelov
55203110bb
now the beam size for the statistical parser can be configured by using the flag beam_size in the top-level concrete module
2013-02-12 10:53:13 +00:00
kr.angelov
1f77afcfce
the statistical parser now uses a baseline lexical estimation of the beam size
2013-02-12 09:41:32 +00:00
hallgren
3cf08928f3
translator: add some menu padding for touch devices
2013-02-11 16:46:43 +00:00
hallgren
70f5363f73
translator: small style change
2013-02-11 16:33:48 +00:00
hallgren
84ce2b49ae
translator: remove debug code
2013-02-11 16:13:39 +00:00
hallgren
f4c9a88962
translator: "Open..." doesn't discard the current document anymore
...
It shows available documents and a Cancel button on top of the current
document.
2013-02-11 16:03:17 +00:00
hallgren
6c01b4a236
gf.cabal: version 3.4-darcs
2013-02-11 16:02:50 +00:00
kr.angelov
a6b35a9053
the class PgfConcr from the Python binding now has a property name which returns the name of the concrete syntax
2013-02-11 15:51:26 +00:00
kr.angelov
0b7b939aca
refactoring: now all named objects in the C runtime have an explicit name field
2013-02-11 14:10:54 +00:00
kr.angelov
56c8f91d19
remove the pgf2yaml tool which was both broken and redundant. The declarations for generic programming from data.c are removed as well
2013-02-11 13:51:12 +00:00
kr.angelov
ff25ba8f90
the grammar reader in the C runtime is completely rewritten and it doesn't use the generic programming API
2013-02-11 10:16:58 +00:00
kr.angelov
be405532e6
a bunch of new words and fixes in DictEng and DictEngBul
2013-02-10 22:27:18 +00:00
hallgren
8379e24174
GF home page style update
2013-02-07 13:11:09 +00:00
aarne
499f56afdd
in VerbRus, added UseCopula and fixed the problem with conditionals returning empty complements; not sure if the latter is correct in Russian though
2013-02-06 09:04:24 +00:00
aarne
28c59faf29
pg -lexc now writes a list of multichar symbols and a title ("Root") for the lexicon, as required by Xerox lexc
2013-02-03 10:03:15 +00:00
aarne
5f2a3095f2
added VPSlashPrep to Rus
2013-02-01 17:19:31 +00:00
kr.angelov
e9b5557c6c
This patch removes Gregoire's parse_tokens function in the python binding and adds another implementation which builds on the existing API for lexers in the C runtime. Now it is possible to write incremental Lexers in Python
2013-02-01 09:29:43 +00:00
kr.angelov
eca4a28563
implement gu_exn_caught in gu/exn.c. It was missing
2013-02-01 09:26:30 +00:00
kr.angelov
f4c56b7152
in NumeralAmh: UTF8 -> utf8. The former is not recognized on Windows
2013-01-31 15:08:13 +00:00
kr.angelov
7e5ad6eea6
fix the Windows link
2013-01-31 15:06:42 +00:00
kr.angelov
65bf4d9b9b
added a link to the Windows binary from the download page
2013-01-31 15:03:35 +00:00
hallgren
fec3dd4bd3
download page: add link to Fedora RPMs, mention GitHub
2013-01-31 13:03:37 +00:00
hallgren
2b6706cb56
GF 3.4 download page: add binary packages for Mac OS X and Ubuntu
2013-01-31 00:49:13 +00:00
hallgren
f3c789c2e8
Update download page to GF 3.4
2013-01-30 23:34:50 +00:00
hallgren
d6efe245c1
This is GF 3.4!
2013-01-30 23:27:06 +00:00
hallgren
75389953b8
debian/changelog: updated for GF 3.4
2013-01-30 17:20:46 +00:00
aarne
034779148e
updated resource synopsis and the scripts creating it; added Swahili to main index list
2013-01-30 17:01:22 +00:00
aarne
448a11e594
commented out some old history from index.html, and completed the list of languages
2013-01-30 16:54:51 +00:00
hallgren
0648474e52
download/index-3.4.t2t: download page for GF 3.4
...
Will be renamed to index.t2t when the release is official.
2013-01-30 16:44:16 +00:00
hallgren
7020bd7568
doc/gf-developers.t2t: updated
2013-01-30 16:32:44 +00:00
hallgren
6e08e749d6
gf.cabal: Tested-with GHC==7.4.2 only, older versions cause minor problems
2013-01-30 15:57:35 +00:00
hallgren
08569c6e8a
Setup.hs: eliminate "minimal" mode, fix darcs version info
...
The reported number of recorded changes since the last tagged version was off
by one (because it counted the change that set the tag).
Also added a note that -K32M is not needed when using new-comp. But -old-comp
is still available as a configuration option, so I'm keeping -K32M for now.
2013-01-30 15:48:36 +00:00
aarne
c1aa0b04be
script for resource demo imports updated
2013-01-30 15:35:04 +00:00
hallgren
7fbe2f47a8
release-3.4.t2t updates
...
Don't include names of contributors, link to additional info instead.
2013-01-30 15:08:26 +00:00
aarne
426d797e87
viaggiare in LexiconIta
2013-01-30 10:12:28 +00:00
kr.angelov
a4b0709923
a few fixes in DictEng
2013-01-30 09:58:39 +00:00
kr.angelov
6fce26c9dd
more words in DictEngBul.gf
2013-01-30 09:57:39 +00:00
hallgren
8ba7d32e25
Add note about RGL Browser to 3.4 release notes
...
Also fixed a smalll typo
2013-01-29 20:51:42 +00:00
aarne
f6641d50c4
more on RGL languages in release notes
2013-01-29 17:50:27 +00:00
aarne
467d5330c6
updated the lists of notPresent languages
2013-01-29 16:53:15 +00:00
hallgren
09fb4cdef0
Better error message for unsupported token gluing
...
Instead of "Internal error in ...", you now get a proper error message with
a source location and a function name.
2013-01-29 16:25:03 +00:00
hallgren
79795cb0e7
Fix a bug with record extension
...
Add a conversion rule for ({ l1 = e } ** x).l2 in PMCFG generation. (A rule
for the symmetric case (x ** { l1 = e }).l2 was added some time ago.)
2013-01-29 14:59:16 +00:00
hallgren
4d2de24ce9
Avoid crash in random generation with probabilities
2013-01-29 13:59:20 +00:00
john.j.camilleri
72088a56c5
Maltese: new reduced verb implementation, using binding for pronominal suffixes
...
Also include some syntax stuff adapted from Angelo Zammit's dissertation.
These sections in the code are marked with [AZ]
The old verbs implementation can still be found at this point in the GitHub repo:
7b3f4a049d
2013-01-29 11:35:40 +00:00
john.j.camilleri
229853e46f
RGL browser: move help button, re-add synopsis link
2013-01-29 11:05:26 +00:00
kr.angelov
87545f3f83
bugfix in the reference counting for Python
2013-01-29 09:41:12 +00:00
kr.angelov
d4717d533a
the Python binding is in pure C again
2013-01-29 09:20:32 +00:00
kr.angelov
66282bfcb7
added an API for composing and decomposing abstract trees from Python
2013-01-29 09:07:41 +00:00
kr.angelov
1723d8637c
fixed typos in the python binding: in a few places pgf_ExprType was used instead of pgf_ExprIterType
2013-01-29 09:06:23 +00:00
aarne
064fcf4345
added Heb = Hebrew to the incomplete languages that can be compiled
2013-01-28 18:03:35 +00:00
hallgren
c14e75706e
Quick fix to render some parser error messages from UTF-8-encoded source files correctly.
...
The parser works on raw byte sequences read from source files. If parsing
succeeds the raw byte sequences are converted to proper Unicode characters
in a later phase. But the parser calls the function buildAnyTree, which can
fail and generate error messages containing source code fragments, which might
then containing raw byte sequences. To render these error messages correctly,
they need to be converted in accordance with the coding flag in the source
file. This is now done for UTF-8-encoded source files, but should ideally also
be done for other character encodings. (Latin-1-encoded files never suffered
from this problem, since raw bytes are proper Unicode characters in this case.)
2013-01-28 17:23:02 +00:00
hallgren
764b649959
Better error message for Predef.error
...
+ Instead of "Internal error in ...", you now get a proper error message with
a source location and a function name.
+ Also added some missing error value propagation in the partial evaluator.
+ Also some other minor cleanup and error handling fixes.
2013-01-28 16:12:56 +00:00
hallgren
61323039bd
Setup.hs: add some incomplete languages to the list compiled languages
...
To be specific: Amh, Ara, Lat, Tur and Mlt.
2013-01-28 16:07:44 +00:00
aarne
b77d7c60a0
capitals in Fre character matching
2013-01-28 14:27:04 +00:00
aarne
a36e1de7a6
included capitals in some phonological string pattern matching in Fin and Ita
2013-01-28 14:12:24 +00:00
aarne
6af9575a68
improved error message for overloading in case the given signature looks the same as one of the expected ones: it shows full records rather than just lock fields.
2013-01-28 14:00:23 +00:00
aarne
e1e5ec2bf8
some additions to new-gf-bib.bib
2013-01-28 08:42:00 +00:00
aarne
e14f6a5488
particle verbs in Finnish, to ease Wordnet translation
2013-01-26 21:24:53 +00:00
aarne
827c46a03c
Ger Quant sp field gets a Boolean to manage the use of numerals like in English
2013-01-26 10:52:31 +00:00
aarne
d4062659c9
Hebrew transliteration changed to real utf8, AllHeb added
2013-01-25 14:01:51 +00:00
gregoire.detrez
459a9a855b
Python binding: add a parsing function that accepts directly a list of tokens.
...
Is allows to define a tokenizer in python (or use an existing one, from nltk for instance.)
2013-01-24 13:31:34 +00:00
aarne
748e531dc9
fixed the construction for English indirect questions of name in Phrasebook
2013-01-23 09:29:39 +00:00
inari.listenmaa
64fa0ba3fc
Finnish vowel harmony
...
Changed the structure of N,CN,Det,Quant, and functions that build and use them.
2013-01-22 18:16:24 +00:00
john.j.camilleri
3c5955685e
RGL Browser: a bunch of style updates to make it less fugly
2013-01-21 10:44:30 +00:00
aarne
0a7cb6940c
corrected Ger euere to eure
2013-01-19 14:23:16 +00:00
john.j.camilleri
f633e899e9
Add fun/cat printnames to PGF web service
...
This is accessible vis the `browse` command, by adding the flag `printnames`
e.g.: .../Letter.pgf?command=browse&id=Recipient&format=json&printnames=1
2013-01-18 09:39:50 +00:00
kr.angelov
7b73100e01
switch from CP1251 to UTF8 in DictBul
2013-01-17 15:52:04 +00:00
kr.angelov
c222f86a2a
a few more words in DictEngBul.gf
2013-01-17 08:23:13 +00:00
kr.angelov
a7a7a21722
a few fixes in DictEngBul
2013-01-15 13:24:04 +00:00
kr.angelov
19288d0dda
about 3000 new words in DictEngBul.gf. The words are imported from the Universal WordNet but are not manually checked yet.
2013-01-15 11:17:59 +00:00
hallgren
d55f5b4e7b
gf -server: fix bug in bug fix for current directory
2013-01-13 12:36:58 +00:00
hallgren
f9551337a9
gf -server: small logging improvements
2013-01-12 18:48:23 +00:00
hallgren
cfb72bad8b
gf -server: defend against problems with the current directory caused unhandled errors
2013-01-12 17:11:31 +00:00
hallgren
488624255a
GF 3.4 release notes update
2013-01-11 15:43:32 +00:00
john.j.camilleri
776539803d
Syntax editor: initial support for string literals
...
Also a bug fix when switching to editor, although this still messes up
when using the letters grammar.
Also updated readme with options, and some style improvements.
2013-01-11 15:33:17 +00:00
john.j.camilleri
5dfca98088
Syntax editor: add tooltips to buttons
2013-01-11 12:45:24 +00:00
john.j.camilleri
d13424482d
Syntax editor: remove beta label
2013-01-11 11:38:45 +00:00
hallgren
3712b6988e
partial evaluator: fix token glueing bug
...
"a"+("b"++"c") was simplified to "bb"++"c" instead of "ab"++c.
2013-01-11 15:14:42 +00:00
john.j.camilleri
600761fa05
GFEP: update readme for 1.5.2 release
2013-01-11 10:18:13 +00:00
john.j.camilleri
a0b49dc01e
GFEP: remove doc makefile, updated index.html
2013-01-10 16:19:27 +00:00
john.j.camilleri
c78cc99b4f
GFEP: remove doc images and include redirection file (.htaccess)
2013-01-10 10:41:01 +00:00
hallgren
4b0e05f9c7
Fixes for minibar offline
...
Tested it in Firefox 18 (which has the new Ionmonkey JavaScript engine).
Still get stack overflows.
2013-01-09 16:44:18 +00:00
hallgren
eb21f73fd3
PGF service: new command: download
...
This makes it possible to download PGF files from servers where the PGF service
is installed.
I am also considering making commmand=download the default instead of
command=grammar.
2013-01-09 13:28:45 +00:00
kr.angelov
ccc3d6be0d
fix warnings in pgf-parse.c
2013-01-08 12:53:49 +00:00
peter.ljunglof
168d39bf6d
PGF installation instructions for Mac OSX
2013-01-08 10:23:25 +00:00
peter.ljunglof
88e67b92a4
Made meta probs an optional argument instead of hard-coded in pgf-translate
2013-01-08 10:20:46 +00:00
peter.ljunglof
d2ae113652
New PGF utility: pgf-parse
2013-01-08 10:19:53 +00:00
kr.angelov
79bf7056f2
now the Python binding has an alternative representation for abstract trees which is composed of Python objects. The new representation is not integrated with the core runtime yet
2013-01-07 15:11:12 +00:00
kr.angelov
3be31c62e9
a new reasoner in the C runtime. It supports tabling which makes it decideable for propositional logic. dependent types and high-order types are not supported yet. The generation is still in decreasing probability order
2013-01-07 12:50:32 +00:00
kr.angelov
0be179d7ff
bugfix in the strings library from the C runtime
2012-12-27 21:18:46 +00:00
inari.listenmaa
dee3dcb295
DetNPFem
2012-12-31 14:25:09 +00:00
aarne
9bce0eaff0
changed variants {} to existing forms in some Cat and Spa verb forms, in order to prevent losing the whole table in PMCFG generation
2012-12-28 14:59:24 +00:00
aarne
2e4c3b4593
possessive fixes in Fin
2012-12-28 14:24:56 +00:00
aarne
2e40825dee
changed have_V3 to Extra in Latvian, as in the recent Russian patch
2012-12-28 13:02:46 +00:00
Nikita Frolov
9f9c6abb82
RG and Phrasebook fixes
...
- added a paradigm for alternative plurals
- fixed usage of alternative plurals in Numerals
- added a distinction between numerals and posessive pronouns
- verb omission and appropriate cases in some uses of to be/to have
- fixed declination of personal names
- added a gender parameter to pronouns (similar to Polish RG)
- vowel insertion before short adjective suffix
- don't generate short forms for relative adjectives (might need lexicon update)
- minor Phrasebook fixes
2012-12-27 21:04:26 +00:00
aarne
1caa2a6d90
started GF FAQ; not yet publishable
2012-12-28 10:57:46 +00:00
inari.listenmaa
686174155b
fixed "miinkään" -> "mihinkään"
2012-12-21 13:45:01 +00:00
hallgren
368cd7ffbe
bug fix in the new partial evaluator
...
It can leave wildcard tables in their origial form, but it easy to handle
them in the unfactor function in GeneratePMCFG.
2012-12-20 16:41:43 +00:00
aarne
793ba98249
added alltenses to the default search path (just like prelude)
2012-12-20 16:05:34 +00:00
hallgren
fa6f8f49ce
PGFService.hs: code duplication reduction
2012-12-20 00:15:18 +00:00
hallgren
f73825ddf1
partial evaluator bug fix
...
It failed to delay table selection when the selector contains a run-time
variable, causing "gf: Prelude.(!!): index too large" instead.
Also:
+ Show better source locations on unexpected errors, to aid bug hunting.
+ Removed unused SourceGrammar argument to value2term.
2012-12-19 23:12:37 +00:00
hallgren
4aa3638549
GF.Grammar.Lookup: new function lookupResDefLoc
...
It's like lookupResDef but it includes a source location in the output.
2012-12-19 23:08:56 +00:00
kr.angelov
bb077b8330
bugfix: the linearizer should not generate extra space at the end of the sentence
2012-12-19 11:18:34 +00:00
kr.angelov
f7eaa8a89a
bugfix for linearization of metavariables at the root of a tree
2012-12-19 10:03:05 +00:00
kr.angelov
6201640d7b
rename linearize.{h/c} to linearizer.{h/c} which follows the convention used in parser.c and reasoner.c
2012-12-19 09:17:24 +00:00
kr.angelov
5c9ee467a9
a major reimplementation of the linearizer in the C runtime
2012-12-19 09:07:05 +00:00
jordi.saludes
1e8fcd8b1f
Make distinct Masc~Fem,Pl in artDef Cat.
2012-12-18 21:14:03 +00:00
jordi.saludes
d50df6d404
must_VV in Cat should have the genitive "de" attached.
2012-12-17 21:28:24 +00:00
kr.angelov
008c18a8a7
fixed accidental bug in pgf-parse.c
2012-12-18 15:42:04 +00:00
hallgren
3755ea673a
partial evaluator bug fix
...
Int was missing from the list of predefined canonical constants.
2012-12-18 13:03:20 +00:00
kr.angelov
dc809da91f
the C runtime now can read abstract expressions with literals and meta variables
2012-12-18 12:29:30 +00:00
kr.angelov
51d301d83c
updated statistical model
2012-12-17 10:31:04 +00:00
kr.angelov
a3f28fb521
some fixes in DictEng
2012-12-17 10:24:46 +00:00
normundsg
ce34c399e0
Some fixes to the Russian Phrasebook
2012-12-17 09:57:13 +00:00
kr.angelov
32905c8363
debugging infrastructure in the reasoner
2012-12-14 21:25:00 +00:00
kr.angelov
5cec2d5a50
bugfix for the reasoner in the C runtime
2012-12-14 21:24:17 +00:00
kr.angelov
b367dfd80f
a bit more flexible API for parsing in Python
2012-12-14 16:00:52 +00:00
kr.angelov
8aefd1e072
The first prototype for exhaustive generation in the C runtime. The trees are always listed in decreasing probability order. There is also an API for generation from Python
2012-12-14 15:32:49 +00:00
hallgren
79711380a2
Add language extension for ghc<7.4
...
FlexibleInstances does not imply TypeSynonymInstances, apparently.
2012-12-14 14:21:46 +00:00
hallgren
950832dbba
More work on the new partial evaluator
...
The work done by the partial evaluator is now divied in two stages:
- A static "term traversal" stage that happens only once per term and uses
only statically known information. In particular, the values of lambda bound
variables are unknown during this stage. Some tables are transformed to
reduce the cost of pattern matching.
- A dynamic "function application" stage, where function bodies can be
evaluated repeatedly with different arguments, without the term traversal
overhead and without recomputing statically known information.
Also the treatment of predefined functions has been reworked to take advantage
of the staging and better handle partial applications.
2012-12-14 14:00:21 +00:00
kr.angelov
e1bab39458
bugfix in the lexer from the C runtime. the input sentence doesn't have to terminate with whitespace
2012-12-13 16:45:44 +00:00
kr.angelov
6bc32db1c3
added simple error handling in the Python test
2012-12-13 16:44:39 +00:00
kr.angelov
81428c768c
added a simple test for the Python binding
2012-12-13 16:19:56 +00:00
kr.angelov
eebd9e92c9
a bugfix for building questions in the Bulgarian resource grammar
2012-12-13 15:52:55 +00:00
kr.angelov
cc7ea9260b
an initial API for parsing and linearization from Python
2012-12-13 15:39:07 +00:00
kr.angelov
2ba632dc9f
a top-level API for parsing in the C runtime
2012-12-13 14:44:33 +00:00
kr.angelov
60942c440a
bugfix: the outside probability of a PgfItemConts must always be initialized to zero
2012-12-13 11:11:45 +00:00
kr.angelov
fe51a7fb98
bugfix: pgf_read_expr no longer requires a semicolon at the end of an abstract expression
2012-12-13 11:09:26 +00:00
kr.angelov
162fd5e512
an initial Python binding to the C runtime
2012-12-12 11:29:39 +00:00
kr.angelov
1376df457d
started an official API to the C runtime
2012-12-12 11:25:58 +00:00
hallgren
f39466f787
partial evaluator work
...
* Evaluate operators once, not every time they are looked up
* Remember the list of parameter values instead of recomputing it from the
pattern type every time a table selection is made.
* Quick fix for partial application of some predefined functions.
2012-12-11 15:37:41 +00:00
john.j.camilleri
60f8a6b647
Syntax editor: unwrap feature
2012-12-11 15:09:16 +00:00
john.j.camilleri
acd2f73c8c
Syntax editor: link to about page
2012-12-11 09:48:44 +00:00
john.j.camilleri
64d463dddf
Syntax editor: add about.html (and a Makefile for generating it)
2012-12-11 09:42:57 +00:00
kr.angelov
3182e382dc
bugfix for robust parsing with multi-word units
2012-12-11 12:57:22 +00:00
hallgren
d0d4583bb8
GF home page: link to the Resource Grammar Library coverage map by Tommi Nieminen
2012-12-10 15:17:55 +00:00
hallgren
ab97deae57
Compute.ConcreteNew: add missing case for variant functions
...
Also adding a test case in the test suite for this.
2012-12-10 13:25:32 +00:00
aarne
a4cba91ee6
passive auxiliary to estar in Cat and Spa.
2012-12-10 12:41:03 +00:00
aarne
309c6358f5
added functions to Ron and Chi needed for YAQL
2012-12-09 19:01:19 +00:00
aarne
2e4116c8ed
superlative agreement and position in PhrasebookFre
2012-12-07 15:37:37 +00:00
john.j.camilleri
36d2f165ea
Syntax editor: change startcat when wrapping top node
2012-12-07 15:32:31 +00:00
aarne
9cd8f4e016
fixed external case for countries in PhrasebookFin
2012-12-07 15:25:27 +00:00
aarne
25838cc895
added missing adverb to infinitives in Fin and Rus (but something is still omitted in Rus)
2012-12-07 14:27:22 +00:00
hallgren
f64009fbb3
update debian/changelog
2012-12-07 14:22:14 +00:00
hallgren
e966a4ccc8
Make -new-comp the default and bump the version number to 3.3.11-darcs
...
* -new-comp (the new partial evaluator) is now chosen by default when you run
cabal install (or cabal configure). To revert to using the old partial
evaluator by default, use "cabal install -f-new-comp" (or
"cabal configure -f-new-comp").
* Regardless of the configured default, you can choose which partial evaluator
to use when you invoke gf by using the -new-comp or -old-comp command line
option.
* The cc command in the GF shell uses the chosen partial evaluator by default,
but you can override this by using "cc -new" or "cc -old".
The plan is that these flags will be romeved in a future version.
2012-12-07 14:01:42 +00:00
aarne
a2e5415e78
LexiconEng: fruits -> fruit
2012-12-07 13:53:00 +00:00
aarne
014e622663
Exist with Adv in German, also wie viel
2012-12-07 13:44:51 +00:00
aarne
40d9c5bfdf
Exist with Adv in Swe
2012-12-07 13:35:03 +00:00
john.j.camilleri
fe2fb1c51b
Syntax editor: various small improvements...
...
- separate tree edit buttons from option buttons
- fix bug when wrapping on freshly imported ast
- add interface for import & export of ast
- cleaner internal implementation of Editor.add_refinement
- small style updates
2012-12-07 12:55:17 +00:00
aarne
b4098a8f1a
Idiom.ExistNPAdv and ExistIPAdv added
2012-12-07 09:40:00 +00:00
hallgren
7d0f649f29
Compute.ConcreteNew: bug fix for indirectly defined pattern macros
...
More changes are probably needed to make pattern macros first class values.
Also includes minor changes related to variants and error messages.
2012-12-06 16:44:03 +00:00
john.j.camilleri
44138ff8ce
Syntax editor: wrap now handles multiple possible positions for subtree
2012-12-04 15:45:41 +00:00
virk.shafqat
01cdd10e07
linearizeUrd
2012-12-04 12:26:41 +00:00
aarne
57e4d67f1d
alternative for Chi.with_Prep
2012-12-04 10:43:03 +00:00
aarne
74af56f0ae
MiniresourceChi added as a cloud demo grammars
2012-11-27 13:27:07 +00:00
john.j.camilleri
cf0051bbb3
Syntax editor: add wrap feature
2012-12-03 14:02:47 +00:00
kr.angelov
1863e4c3d6
added experimental script for chunking in the C runtime
2012-12-03 10:07:54 +00:00
kr.angelov
2da23e9872
added INSTALL file and updated README file for the C runtime
2012-12-03 09:09:08 +00:00
aarne
2a5d9ee5e9
make ParseFin compilable
2012-12-02 19:43:41 +00:00
aarne
d34adff894
produce error message instead of failure of irrefutable pattern Ok ty_C in GrammarToPGF, to help find compilation errors; the ones I've found are because an inherited abstract excludes something that the inherited concrete does not exclude.
2012-12-02 19:40:45 +00:00
aarne
33ba636798
Dutch additions enabling YAQL
2012-12-02 09:25:53 +00:00
john.j.camilleri
596cd4d473
Syntax editor: internal optimizations by pre-computing certain stuff
2012-11-30 15:08:46 +00:00
john.j.camilleri
589e1e4f08
Syntax editor: in-place replacement of functions
...
When at a non-leaf node, refinements with identical type signatures
are highlighting and can re placed without destroying the children.
If not, the refinement is greyed and the user is asked to clear
the current subtree first if they wish to replace it.
This aspect of the UI should be polished, but at least it is obvious.
Also, some substantial optimizations can still be made to cache
the processed type signatures (which determine what can be replaced
in-place)
2012-11-30 10:56:42 +00:00
hallgren
7b87169c76
minibar: add a button to get detailed grammar info
...
After pressing the "i" button to view grammar info, there is now a
"More info" button to get more detailed information about all categories and
functions in the grammar.
2012-11-29 19:15:30 +00:00
hallgren
c9522c0a37
minibar: add tool tips to some of the buttons
...
Also move the functions title and attr from editor/editor.js to js/support.js.
Also mention recent changes in minibar/about.html.
2012-11-29 16:05:42 +00:00
john.j.camilleri
d9b0895e57
Syntax editor: internal improvements. re-introduce initialize_from function
2012-11-29 15:40:18 +00:00
john.j.camilleri
a2c0030415
Syntax editor/minibar integration fix
2012-11-29 15:18:02 +00:00
kr.angelov
818ea0d4d6
updated statistical model
2012-11-28 12:44:20 +00:00
kr.angelov
2db296db30
Pakistani is now properly capitalized in the English dictionary
2012-11-28 12:43:45 +00:00
kr.angelov
ee8f296089
translations for several words in the Bulgarian dictionary
2012-11-28 12:42:23 +00:00
kr.angelov
23873c8214
added familiar_A2 in DictEng, DictEngBul and DictEngGer
2012-11-28 12:40:20 +00:00
kr.angelov
0d35636348
bugfix for composite adjectivial phrases in Bulgarian
2012-11-28 12:37:24 +00:00
virk.shafqat
f7b91b46dd
samllfixinIdionHin
2012-11-28 11:02:18 +00:00
virk.shafqat
8b83710ed2
buginStructuralHinfixed
2012-11-27 18:24:27 +00:00
hallgren
bf1ce93220
Convert some documentation to UTF-8
...
Using
%!encoding:utf-8
in txt2tags files ensures that the generated HTML includes an appropriate
charset declaration. This way we avoid relying on browser defaults, which can
be wrong.
2012-11-27 16:03:29 +00:00
hallgren
a6ac00023d
some documentation updates and fixes
...
doc/Makefile: add a rule to regenerate gf-help-full.txt
gf-help-full.txt: updated (new parse tree visualization options)
demo & cloud index: clarifications
minibar documentation: better layout on mobile devices
GF 3.4 release notes: reorganized & updated
2012-11-27 14:11:47 +00:00
virk.shafqat
838010f7ed
DictHinMathandDictUrdMath
2012-11-27 14:08:45 +00:00
virk.shafqat
ebe553f4f8
ParseHinandExtraUrd
2012-11-27 14:00:14 +00:00
john.j.camilleri
53e6546a53
Syntax editor; add new helper for parsing type signatures (not complete)
2012-11-27 12:00:41 +00:00
john.j.camilleri
7faa501542
Syntax editor: add options for GM in editor_online.js
2012-11-27 11:21:28 +00:00
john.j.camilleri
bd6d7327bf
Syntax editor: avoid server calls for each refinement by using cached data
2012-11-27 11:19:12 +00:00
john.j.camilleri
054df2451a
Syntax editor: improvements and fixes with grammar manager
2012-11-27 10:09:40 +00:00
kr.angelov
6542f6ffdd
a bunch of additions in the parsing grammars and dictionaries plus an updated statistical model
2012-11-26 16:43:09 +00:00
hallgren
7d528dc5b3
gfse: add Prelude to the list of RGL modules that can be opened
2012-11-26 15:08:16 +00:00
hallgren
be311aeb07
gfse: more readable layout for not so simple grammars + bug fix
...
To make definitions that span multiple lines more readable in guided mode,
preserve line breaks and indentation when lin and oper definitions are
displayed and edited in guided mode.
Bug fix: moving the cursor by clicking and selecting text by dragging did
not work in textareas and input fields, because those mouse event were
intercepted by the sort-by-drag-and-drop handler.
2012-11-26 14:11:12 +00:00
aarne
4ed5333d1a
Chenpeng's fixes in StructuralChi and AdjectiveChi
2012-11-26 10:28:21 +00:00
ramona.enache
7f1be627ae
added DictEngFre.gf in the french directory
2012-11-25 22:50:56 +00:00
ramona.enache
421354f10c
added ParseEngFre.gf
2012-11-25 18:24:40 +00:00
hallgren
158aafa3af
gf -server + gfse: show modification time of public grammars
2012-11-23 23:21:17 +00:00
hallgren
ba9db76063
gf -server: support overloaded opers in gfse
2012-11-23 19:59:39 +00:00
hallgren
9b3d106ff8
gfse: use POST requests when parsing grammar modules after editing as text
...
instead of GET, to avoid the Apache httpd URI length limitation.
This means that gfse can no longer use JSONP when parsing grammars, so it
has to be located on the same host as the cloud service.
Also clean away trailing white space in support.js.
2012-11-23 18:51:44 +00:00
hallgren
b410cc75cd
Fix a prededence bug in GF grammar pretty printer
...
The pretty printer produced
mkDet pre {"a"; "an" / vowel} Sg
which is not accepted by the parser. The parser assigns pre { ... }, to
prededence level 4, and this is now reflected in the pretty printer, so
it prints
mkDet (pre {"a"; "an" / vowel}) Sg
(This caused a problem in GFSE since it parsers pretty printed grammars...)
2012-11-23 18:44:08 +00:00
aarne
8c986e2a25
miniresource with one module per language for a web IDE demo
2012-11-23 15:57:00 +00:00
john.j.camilleri
dbd5c56049
minibar_online.js: updated to launch Editor using a GrammarManager object
2012-11-23 15:07:51 +00:00
john.j.camilleri
7fe922d5a6
Syntax editor: now uses common GrammarManager object
2012-11-23 15:03:36 +00:00
hallgren
fe9b368b90
syntax editor + minibar: fix bug with repeated switching back and forth
...
By avoiding "this" in callback functions, the code can be kept cleaner.
2012-11-23 13:15:16 +00:00
john.j.camilleri
3ae7f0df0e
Syntax editor: return to editor after having switched to minibar
2012-11-23 08:25:00 +00:00
john.j.camilleri
0dac6fc783
Minibar: call abstract_action with 'this' bound to minibar object
2012-11-23 08:21:00 +00:00
john.j.camilleri
2476383b3a
Minibar: add show/hide functions
2012-11-23 08:08:13 +00:00
hallgren
8c9b90cc90
minibar: can now switch back to the minibar after switching to the syntax editor
...
This is done by including a lin_action when starting the syntax editor from
the minibar.
Also: added some minibar options in the syntax editor for consistency...
2012-11-22 16:42:39 +00:00
hallgren
78a2a90903
PGFService.hs: fix type error caused by change to PGF.graphvizParseTree
...
Note that some of the graphviz functions have backwards incompatible changes
that might also affect other clients of the PGF run-time library.
Also added graphvizDefaults and export it together with GraphvizOptions from
the PGF run-time library.
2012-11-22 15:27:16 +00:00
aarne
ae0666c189
optimized a parameter in Romance clause formation
2012-11-22 15:05:01 +00:00
john.j.camilleri
8b813be742
Syntax editor: can now load minibar (in-place) from a linearised tree
2012-11-22 12:45:20 +00:00
peter.ljunglof
595c475c70
better visualization of parse trees
2012-11-22 08:50:37 +00:00
peter.ljunglof
1789272c9a
Added C compilation notes for Mac OSX
2012-11-22 08:50:49 +00:00
hallgren
1354888b31
minibar: fix bug introduced in previous update
...
It could case JavaScript error
ReferenceError: initial_grammar is not defined
2012-11-21 19:01:52 +00:00
hallgren
bd3b512074
minibar+syntax editor integration, work in progress 2
...
+ Transfer current astract syntax tree when activating the syntax editor
from the minibar.
+ Add options to start the minibar with given input. You need to include
the current grammar url, the current language and the input, like this:
initial_grammar: "/grammars/Foods.pgf",
initial: { from: "FoodsEng", input:["that","fish","is","fresh"]}
+ Fix a style sheet clash.
2012-11-21 17:13:21 +00:00
john.j.camilleri
5d5ac79b2b
Syntax editor: start with initial AST
...
Note that the argument has been renamed to initial.abstr
(Where abstr means an abstract syntax tree in string form, NOT an AST object)
2012-11-21 15:24:44 +00:00
hallgren
73a458dc66
minibar+syntax editor integration, work in progress
2012-11-21 15:07:59 +00:00
john.j.camilleri
12ed92eac2
Syntax editor: start with initial grammar, startcat, to: languages
2012-11-21 11:22:35 +00:00
john.j.camilleri
11e431d330
support.js: elem() returns false when as is undefined
2012-11-21 11:13:46 +00:00
hallgren
b62d41b8f6
gfse: remove obsolete files
2012-11-20 15:31:31 +00:00
hallgren
fdab9fab6c
GF cloud: move gf-web-api-examples.html out of minibar directory
2012-11-20 15:18:05 +00:00
john.j.camilleri
1dfa2ad5b8
Update gf.cabal to copy new common js files
2012-11-20 14:04:09 +00:00
john.j.camilleri
bee1afd7b8
Syntax editor: update to use common js files
2012-11-20 13:56:56 +00:00
aarne
59ee4e97f4
fixes in ExtraFin
2012-11-20 13:51:08 +00:00
hallgren
f402d1687d
GF cloud: move support.js and pgf_online.js
...
Created the folder js and moved minibar/support.js and minibar/pgf_online.js
there, to emphasize their status as app independent support libraries.
There are probably more files that should be moved here.
The cloud apps have been updated, externally hosted apps that link directly
to our server need to be updated too.
2012-11-20 12:56:48 +00:00
john.j.camilleri
47eae4035c
Syntax editor: random generation of trees (and subtrees!)
2012-11-20 09:36:50 +00:00
kr.angelov
f8c302f9ef
remove the duplicated definition of PgfProductionIdx in parser.c
2012-11-19 14:16:31 +00:00
kr.angelov
ac2ea8a579
fix in ParseEngAbs3.probs
2012-11-19 14:14:08 +00:00
kr.angelov
6b0020f834
a statistical model for robustness in lib/src/english
2012-11-19 12:24:11 +00:00
kr.angelov
17ae9548d9
updated ParseEngAbs.probs with the latest statistics
2012-11-19 12:15:25 +00:00
john.j.camilleri
07e57fb0fa
Fix date of 2013 summer school on home page (it said 2011)
2012-11-19 10:58:09 +00:00
aarne
fc7de1cb8f
index: news on summer school and Chinese
2012-11-19 09:58:26 +00:00
aarne
e81f96fc48
synopsis updated with Chi
2012-11-19 09:57:51 +00:00
aarne
c85e85e36e
more Chinese fixes by Chen Peng
2012-11-19 09:55:05 +00:00
aarne
b5df913041
di_Prep and a_Prep in ParadigmsIta ; newcomp in lib/src/Make.hs
2012-11-18 22:11:35 +00:00
aarne
e0fc932a92
Chen peng's StructuralChi edits
2012-11-18 21:11:05 +00:00
hallgren
4ec77e5664
GF web service API examples: update examples of the browse command
...
Also some style tweaks.
2012-11-17 17:42:30 +00:00
hallgren
57ab3564c0
PGF service: command=browse&format=json returns info on all cats and funs
...
The browse command used to have a required parameter id=... and it returned
info on the given identifier only. Now, if format=json, the id=... parameter
can be omitted to get info on all identifiers at the same time. The returned
JSON structure in this case is
{cats:{...},funs:{...}}
where the inner objects contain one field per category and function,
respectively, in the same format as when you request info on one category or
function.
2012-11-17 14:22:30 +00:00
hallgren
34ce2ab81e
GF web service API examples: added the "abstrjson" command
...
It converts an abstract syntax tree (represented as a string) to a JSON
structure.
Also some HTML code cleanup.
2012-11-17 11:55:32 +00:00
aarne
d6c4a0eb14
trying to fill the complement in Bul.VPSlashPrep"
2012-11-16 16:55:05 +00:00
john.j.camilleri
03a64e2ec7
Syntax editor: work on importing AST as string (eg for generate random)
...
But it's still not complete. Need an efficient way of getting the cat info to accompany funs.
2012-11-16 14:35:37 +00:00
kr.angelov
71b7c09ffe
bugfix for the building of bottom-up filter in the C runtime
2012-11-16 13:27:15 +00:00
hallgren
cf00c8bd0b
new-comp: rewrite f (x|y) into (f x|f y)
...
With this change, all languages in molto/mgl/mixture except German and Polish
can be compiled.
2012-11-16 13:47:10 +00:00
aarne
ba1ad29b57
Chenpeng's fixes in NumeralChi
2012-11-16 13:15:03 +00:00
kr.angelov
ba57ad3367
a couple of fixes and new words in DictEng and DictEngBul
2012-11-16 09:56:20 +00:00
john.j.camilleri
cb92b80aba
Syntax editor: select subset of available languages
...
Also added a basic readme file with a list of todo's
2012-11-16 09:33:55 +00:00
hallgren
19f5112b9f
Updated summer school links
...
You can now use the following links to refer to GF Summer School web pages:
- Latest summer school: http://school.grammaticalframework.org/
- 2009 summer school: http://school.grammaticalframework.org/2009
- 2011 summer school: http://school.grammaticalframework.org/2011
- 2013 summer school: http://school.grammaticalframework.org/2013
This is accomplished with DNS and web server configuration. No files have
been moved, so this does not break any existing links (except that
http://school.grammaticalframework.org/ now refers to the latest summer school
instead of the 2011 summer school).
2012-11-15 21:05:10 +00:00
aarne
82ae797d86
temporary hacks in VerbBul and StructuralBul to compile YAQL - please fix
2012-11-15 20:41:25 +00:00
hallgren
5a920eea11
download/release-3.4.t2t: starting to prepare for the next release of GF
...
Feel free to add to the release notes.
The file can be renamed if the next release will not be called GF 3.4.
2012-11-15 19:33:42 +00:00
john.j.camilleri
48dbabcbbe
Syntax editor: jump to next hole in tree
2012-11-15 15:38:17 +00:00
john.j.camilleri
3216a5def6
Syntax editor: fix bug in Firefox, Seamonkey
2012-11-15 12:40:14 +00:00
hallgren
586d7488f2
Add flag --document-root for user with gf --server
...
This can make it easier to test cloud service updates before installing them.
2012-11-14 13:52:45 +00:00
hallgren
0ef7b8a3b5
GF usage message fixes
...
Change the command name from gfc to gf in the usage message header.
Correct spelling of "overide" to "override" in -gf-lib-path description.
2012-11-14 13:49:10 +00:00
kr.angelov
a3ba1991f4
revised heuristic in the statistical parser
2012-11-14 12:34:22 +00:00
john.j.camilleri
7a69d9d5e5
Add first demo of new syntax editor
...
As part of the GF cloud stuff, it can be accessed from
http://cloud.grammaticalframework.org/syntax-editor/editor.html
2012-11-13 15:14:49 +00:00
hallgren
b6f392b4e1
Adding a new experimental partial evalutator
...
GF.Compile.Compute.ConcreteNew + two new modules contain a new
partial evaluator intended to solve some performance problems with the old
partial evalutator in GF.Compile.Compute.ConcreteLazy. It has been around for
a while, but is now complete enough to compile the RGL and the Phrasebook.
The old partial evaluator is still used by default. The new one can be activated
in two ways:
- by using the command line option -new-comp when invoking GF.
- by using cabal configure -fnew-comp to make -new-comp the default. In this
case you can also use the command line option -old-comp to revert to the old
partial evaluator.
In the GF shell, the cc command uses the old evaluator regardless of -new-comp
for now, but you can use "cc -new ..." to invoke the new evaluator.
With -new-comp, computations happen in GF.Compile.GeneratePMCFG instead of
GF.Compile.Optimize. This is implemented by testing the flag optNewComp in
both modules, to omit calls to the old partial evaluator from GF.Compile.Optimize
and add calls to the new partial evaluator in GF.Compile.GeneratePMCFG.
This also means that -new-comp effectively implies -noexpand.
In GF.Compile.CheckGrammar, there is a check that restricted inheritance is used
correctly. However, when -noexpand is used, this check causes unexpected errors,
so it has been converted to generate warnings, for now.
-new-comp no longer enables the new type checker in
GF.Compile.Typeckeck.ConcreteNew.
The GF version number has been bumped to 3.3.10-darcs
2012-11-13 14:09:15 +00:00
kr.angelov
70c68f0527
bugfix in the statistical parser
2012-11-13 09:48:23 +00:00
aarne
4d34018abb
added UseCopula to Fin,Ger,romance since needed in YAQL
2012-11-13 09:48:26 +00:00
kr.angelov
08ee662944
two simple heuristics which speed up the statistical parser more than seven times.
2012-11-12 22:17:40 +00:00
kr.angelov
68170d5b08
a simple refactoring in the statistical parser
2012-11-12 21:48:22 +00:00
kr.angelov
a2771552d6
more counters in the profiler for the statistical parser
2012-11-12 15:36:21 +00:00
kr.angelov
46de62c452
now we store the state instead of the offset for every continuation in the chart for the statistical parser
2012-11-12 14:04:52 +00:00
kr.angelov
9967c3ad04
in the statistical parser: move the outside probability from the parse items to their continuation. this makes the value slot shared between many items
2012-11-12 13:43:43 +00:00
aarne
aa5475c8e6
number of Fin.or_Conj
2012-11-12 13:33:10 +00:00
kr.angelov
9d23093492
small refactoring in the C runtime
2012-11-12 13:05:35 +00:00
kr.angelov
a50c7c24b8
use size_t consistently as the type for constituent indices in the C runtime
2012-11-12 12:51:27 +00:00
kr.angelov
1e531e8237
implemented gu_map_count in runtime/c/gu/map.c
2012-11-12 12:42:19 +00:00
hallgren
c2b7288411
Eliminate warnings about deprecated use of catch and try
...
This is also needed for compatibility with GHC 7.6.
2012-11-08 15:53:46 +00:00
hallgren
ad74dfe527
GF.Grammar.PatternMatch: relax overly restrictive type signatures
2012-11-07 17:23:08 +00:00
hallgren
a912ad813d
Some changed/new utility functions
...
GF.Data.Utilities: Rename mapFst to apFst, mapSnd to apSnd.
Add apBoth, mapFst, mapSnd, mapBoth.
GF.Data.Operations: Remove onSnd (same as apSnd)
2012-11-07 15:31:45 +00:00
virk.shafqat
64cbf59dac
refinemtsParseUrd
2012-11-06 16:43:31 +00:00
hallgren
d441b2c629
gf -server: make it possible to pass arbitrary flags/options to gf when compiling grammars
...
For example, you can add -optimize-pgf:
http://localhost:41296/cloud?dir=...&command=remake&-optimize-pgf=&Foods2Eng.gf=&Foods2Swe.gf=
2012-11-06 15:29:38 +00:00
virk.shafqat
f7344b8f38
unicode4k-changed
2012-11-05 16:44:31 +00:00
virk.shafqat
7c04eede85
refinementsParseUrd
2012-11-04 17:06:32 +00:00
virk.shafqat
0301db4724
addDictUrd2
2012-11-04 16:39:57 +00:00
normundsg
a9d5cd527b
PhrasebookLav: synchronised with the latest changes in the resource grammar
2012-11-01 02:36:29 +00:00
Normunds Gruzitis
5a71256fda
Latvian: extensions to the verb paradigms
...
Added support for -ts/-ta participles (in addition to -is/-usi; other participles - on demand) and fixed some palatalization exceptions.
2012-10-30 22:37:11 +00:00
hallgren
78120c84b5
TransQuiz: use the grammars from the same server
...
Unlike the other web apps in the cloud, the translation quiz was configured
to use the grammars at http://www.grammaticalframework.org/grammars .
2012-10-30 14:36:55 +00:00
john.j.camilleri
7ad9b839b2
Small update to summer school 2013 page
2012-10-30 13:41:20 +00:00
john.j.camilleri
c41bfe8d7d
Add initial page for 2013 summer school
2012-10-30 13:32:42 +00:00
virk.shafqat
e0d96dc949
parseUrdChanged
2012-10-29 11:05:54 +00:00
kr.angelov
52255664be
use prob_t instead of float in a few places
2012-10-29 08:52:56 +00:00
john.j.camilleri
bcabfbc72e
Minibar: cursor over editable words is now a "hand"
...
This had been bugging me for ages!
2012-10-26 15:00:19 +00:00
hallgren
2013ee4e36
GF home page: avoid line breaks in dates in the news section
2012-10-26 14:05:27 +00:00
john.j.camilleri
58cb521629
Add RGL API grammar modules for Maltese
2012-10-26 13:12:00 +00:00
hallgren
5bfaed7b10
gf.cabal: version of parallel needs to be >=3
2012-10-26 09:25:45 +00:00
aarne
44dc93ae8f
some fixes to Chinese suggested by Shanghai colleagues
2012-10-26 08:52:20 +00:00
john.j.camilleri
c482b9f938
Added my name to authors list
2012-10-26 08:47:00 +00:00
kr.angelov
0ad2405d69
forgot to add one #ifdef
2012-10-25 18:37:22 +00:00
hallgren
4f161ee5b3
GF.Grammar.Macros: add function collectPattOp
...
collectPattOp :: (Patt -> [a]) -> Patt -> [a]
2012-10-25 16:12:21 +00:00
kr.angelov
9721833680
a major refactoring in the robust parser: bottom-up filtering and garbage collection for the chart
2012-10-25 14:42:53 +00:00
hallgren
71dd493987
GF.Grammar.Macros: add function composPattOp
...
For Patt, analogous to composOp for Term.
2012-10-24 22:40:18 +00:00
hallgren
b841664a63
Compute.ConcreteNew: support variants
...
Also add a missing check for Predef values in apply.
2012-10-24 17:49:20 +00:00
hallgren
eed724271f
GeneratePMCFG: prefix messages about "impossible" errors with 'Internal error:'
...
Just to make them easier to spot when wading through thousands of lines of
warnings...
2012-10-24 17:08:52 +00:00
hallgren
9a99bcb54d
Link to the GF Developers Guide from the download page
2012-10-24 15:08:20 +00:00
hallgren
3c24b72147
gf-cloud-api.html: document the new command=remake
...
Also improve the documentation of the responses to the upload and make
commands.
2012-10-23 21:16:31 +00:00
hallgren
87b280fd4f
gf -server: introduce command=remake for recompiling previously uploaded grammars
...
Also remove some old commented out code.
2012-10-23 20:23:01 +00:00
hallgren
c2d02e1fca
fracas: code to generate HTML treebank
2012-10-23 12:55:32 +00:00
hallgren
7565ba8b87
cleanup
...
Simplify the implementation of writeUTF8File and use it in one more place.
Remove unused imports left over after a previous change.
2012-10-23 11:48:23 +00:00
john.j.camilleri
c084e1b040
Maltese: finished morphology for derived verbs
...
Of course it's never really finished. There's more cases I should write treebanks
for and test, but I think the coverage is good enough and the implementation
for the verbs is solid enough that only minor fixes may arise.
There's also the issue of verb participles, but I'll come back to those
when I am looked more closely at the syntax.
2012-10-23 09:41:00 +00:00
Normunds Gruzitis
6fb15ecc2f
Latvian: fixed some adjective paradigms, changed the default word order in ComplN2
...
The issues were unveiled while testing AttemptoLav in a more realistic domain
2012-10-23 00:12:36 +00:00
hallgren
c70c01745b
Add Chinese to the list of installed RGL languages and support it in the web apps
...
Aarne says the Chinese resource grammar is complete, but not yet completely
correct.
2012-10-22 10:16:10 +00:00
Normunds Gruzitis
1817c7d168
Latvian: two important fixes regarding V2 clauses
...
Agreement with the focus part (the object) works not only for Pers3, but also for Pers1 and Pers2 NPs (if the verb requires non-typical subject/object valences).
Object-dependent double negation works (in addition to the subject-dependent double negation).
The first one is motivated by PhrasebookLav, the second one - by AttemptoLav.
Also a couple of minor fixes.
2012-10-21 21:23:56 +00:00
hallgren
d0e1187b10
Refactor compileSourceModule
...
There was 55 lines of rather repetitive code with calls to 6 compiler passes.
They have been replaced with 19 lines that call the 6 compiler passes
plus 26 lines of helper functions.
2012-10-19 20:14:11 +00:00
hallgren
885aaca6de
Consistenly use SourceGrammar instead of [SourceModule] when calling compiler passes
2012-10-19 19:56:00 +00:00
hallgren
edb700ddf8
Phrasebook: make clean
2012-10-19 14:08:09 +00:00
inari.listenmaa
1addebfb95
fixes to previous
2012-10-19 11:52:54 +00:00
inari.listenmaa
ac75702130
spanish_catalan_corrections
2012-10-19 11:45:45 +00:00
inari.listenmaa
80bf7a8f62
removed_stuff_from_paradigmsspa
...
I removed mkQuant, mkDet and mkOrd from ParadigmsSpa and moved them to MorphoSpa. So from ParadigmsSpa you only need to remove mkAdv and mkAdN.
2012-10-19 11:02:08 +00:00
inari.listenmaa
072d62c2a2
spanish_quantifiers_bugfixes
2012-10-19 10:57:07 +00:00
inari.listenmaa
bbfeb933e4
spanish_impneg
2012-10-19 09:48:38 +00:00
inari.listenmaa
606f8bece8
catalan_smart_paradigms
...
MorphoCat and ParadigmsCat: smart paradigms for adjectives.
ExtraCat: added costruction for negative imperative.
2012-10-19 09:36:37 +00:00
aarne
e666fa838f
test results and documentation for Chinese
2012-10-19 07:15:50 +00:00
hallgren
1d6cbf8189
Use NOINLINE for build info and darcs version info
...
... to avoid unnecessary recompilation of other modules.
2012-10-18 20:01:22 +00:00
hallgren
cf44576573
gfse: grammars can now contain one-line descriptions
...
Also fixed two small problems with public grammars.
2012-10-18 12:48:39 +00:00
peter.ljunglof
ab074c9dc3
added autogenerated files for the FraCaS treebank
2012-10-17 08:49:34 +00:00
hallgren
a74e619c3f
gfse: small fix
2012-10-16 23:06:37 +00:00
hallgren
d63d350cef
gfse: identify inherited grammars by their unique id
...
This helps avoiding problems if an inherited grammar is renamed, or if there
is more than one grammar with the same name.
2012-10-16 22:10:49 +00:00
Normunds Gruzitis
21e61f4516
Latvian: added support for double negation, fixed some structural words
...
Double negation: sebject-dependent - works, object-dependent - still has to be fixed (in VerbsLav).
Structural words: everybody, somebody, nobody.
Both motivated by AttemptoLav.
2012-10-16 13:54:52 +00:00
hallgren
eff4d46fba
GF.Command.Command: turn CommandOutput into a newtype
...
The output from commands is represented as ([Expr],String), where the [Expr] is
used when data is piped between commands and the String is used for the final
output. The String can represent the same list of trees as the [Expr] and/or
contain diagnostic information.
Sometimes the data that is piped between commands is not a list of trees, but
e.g. a string or a list of strings. In those cases, functions like fromStrings
and toStrings are used to encode the data as a [Expr].
This patch introduces a newtype for CommandOutput and collects the functions
dealing with command output in one place to make it clearer what is going on.
It also makes it easier to change to a more direct representation of piped
data, and make pipes more "type safe", if desired.
2012-10-16 13:01:03 +00:00
aarne
7fa0407a6f
fixes in clefts and V3 in Chi; new pinyin versions
2012-10-16 09:36:05 +00:00
aarne
fefb95ecc7
fixes to Det and ComplSlash in Chi
2012-10-15 20:03:13 +00:00
aarne
d21c9913cf
fixes with Jolene in Chinese
2012-10-15 16:05:32 +00:00
aarne
20ff29a8d6
Pinyin versions of chinese, named Cmn; mostly automatically generated
2012-10-15 12:51:55 +00:00
aarne
71c1a06ff8
enable full language list in MkSynopsis
2012-10-15 10:00:52 +00:00
aarne
fd48db6b33
added Chi to the synopsis languages that can be compiled, but didn't update synopsis yet.
2012-10-15 09:59:44 +00:00
aarne
2eb5438e6f
compile resource demo for Chi
2012-10-15 09:32:46 +00:00
aarne
5472b4b5e7
some fixes to make Phrasebook compilable more easily
2012-10-15 09:02:39 +00:00
aarne
a8965d587b
updated documentation to Chinese; not yet in synopsis though
2012-10-15 08:28:00 +00:00
aarne
754949f5cc
chinese (Chi) in place and compiles, based on work by Jolene Zhuo Lin Qiqige
2012-10-15 08:07:17 +00:00
Normunds Gruzitis
1db0efc7a4
Latvian: some fixes / additions to the structural words, lexicon, and passive voice
2012-10-14 14:09:15 +00:00
hallgren
5af6af0dd8
demo page: adding a link to the question answering demo from the ICFP 2012 GF tutorial
2012-10-12 15:33:38 +00:00
kr.angelov
28b58b6267
add teyjus/simulator/builtins/builtins.h
2012-10-11 11:10:17 +00:00
kr.angelov
f0583bfd93
added the forgoten libteyjus.pc.in file in the C runtime
2012-10-11 04:22:38 +00:00
Normunds Gruzitis
4df3ce107f
Latvian: added no_Quant, changed otherwise_PConj and therefore_PConj
...
Other changes are due to formatting.
2012-10-09 18:46:46 +00:00
hallgren
ea4ed8b4db
gfse: adding a section about public grammars in about.html
2012-10-09 14:54:50 +00:00
hallgren
02e128d493
gfse: show the grammar list if the currently selected grammar can not be loaded
...
Avoid showing a blank page if there is an unexpected problem with the grammars
in localStorage.
2012-10-09 13:44:34 +00:00
hallgren
aaae3aecd4
gf -server: /parse command now supports input with character codes > 255
...
This enables the use of arbitrary Unicode character in text mode in GFSE.
2012-10-09 13:14:18 +00:00
Normunds Gruzitis
b6c589afac
PhrasebookLav: few more improvements
...
- Alternative variants in AScared.
- The order of adv. modifiers: first time, then place (PSeeYouPlaceDate).
- Fixed: the object valence in QWhatAge; Day.point linearization.
- PSeeYouPlaceDate is now less formal.
- Open/Closed and SeeYou functions are ok now, except that the word order in Open/Closed is a bit clumsy. TODO: "<what> <when> is open/closed" (currently not supported by the RG).
2012-10-08 07:30:16 +00:00
Normunds Gruzitis
a838a855d1
PhrasebookLav: fixed four more functions and introduced few typical alternatives (paraphrases)
...
Fixed QWhatName, QWhatAge, HowMuchCost and ItCost, however, the solutions have to be reviewed.
Introduced a Lav-specific type for Language (affected also NPNationality etc.) to support a different realization of ASpeak.
Introduced alternative realizations for AHasName and ASpeak (the most typical/simple variant is the default one).
2012-10-06 21:16:46 +00:00
hallgren
28f87140c7
Factor out code for setting the console encoding
...
Moved similar low-level code blocks in Main and GFI for setting the console
encoding to the new module GF.System.Console.
2012-10-05 12:54:49 +00:00
aarne
70dd62b4a0
script for cloning a resource grammar project
2012-10-05 08:36:55 +00:00
hallgren
3d47d7b6f9
simple translator: make it usable on iOS devices
...
To make the popup menus accessible, use a simple trick to activate the
simulate-hovering-by-tapping behaviour.
2012-10-04 22:29:42 +00:00
hallgren
99b0e42e12
simple translator: bug fix
...
"Edit/Add a segment..." stopped working at some point.
(Importing text still worked.)
2012-10-04 18:02:31 +00:00
hallgren
5e1da255a3
gfse: various code improvements and prelimiary support for public grammars
2012-10-04 15:21:30 +00:00
hallgren
dad8d4a0ea
gfse: fix a bug caused by sharing when copying a linearization function in the row view
...
Functional programming is easier than imperative programming!
2012-10-03 13:54:35 +00:00
hallgren
edc51c6a2f
gfse: some refactoring
2012-10-03 13:22:50 +00:00
hallgren
432a354b91
gfse: row view: add a button to copy a linearization
...
When adding a new function, you can enter a linearization for one language
and then copy it to the other languages with one button click.
2012-10-03 12:37:47 +00:00
hallgren
a64b4a7c79
gfse and cloud service documentation update
2012-10-02 17:32:52 +00:00
hallgren
59f693e891
index.html: better news formatting
2012-10-02 14:19:33 +00:00
hallgren
ba31d0c332
index.html: change to and explicitly declare that the character encoding is UTF-8
...
...to avoid complaints from HTML validators and potential problems in browsers
with different default character encodings.
2012-10-02 13:57:10 +00:00
hallgren
57a63d2512
gfse: you can now add new functions from the matrix view
2012-10-02 13:50:35 +00:00
hallgren
2925aed17c
gfse: more intuitive buttons for switching between the column, matrix & row views
2012-10-02 13:09:56 +00:00
hallgren
5ec3f70224
gfse: adding a "row" view
...
Accessed by clicking on a function in the Abstract column in the matrix view.
2012-10-01 21:08:09 +00:00
hallgren
00e333dc11
gfse: matrix view improvements
...
+ You can click on a column header to switch to column view (i.e. the
corresponding abstract/concrete syntax tab).
+ The categories and functions in the abstract syntax can be edited directly
in the matrix view.
2012-10-01 16:29:59 +00:00
hallgren
42ffd2e24e
demo page: update the links to Mathbar and GFSE to point to the latest version
2012-10-01 11:22:29 +00:00
kr.angelov
bd08d98c7d
move examples/PennTreebank to /treebanks/PennTreebank
2012-10-01 08:52:54 +00:00
kr.angelov
00e85e55f8
Added as_Subj and UttAdV in the parsing grammars. Replaced plus_Prep with plus_Conj
2012-10-01 08:47:52 +00:00
kr.angelov
953633240e
typechecking and better error reporting in the training script for PennTreebank
2012-10-01 08:45:46 +00:00
kr.angelov
475109a40f
added the GF version of Talbanken which was imported by Malin
2012-10-01 08:33:43 +00:00
hallgren
8b1cec5610
gfse: small linearization type display adjustment
2012-09-30 19:53:57 +00:00
hallgren
bd00109cc5
gfse: display "??" instead of "null" in linearization types when lincats are missing
2012-09-30 19:47:30 +00:00
hallgren
3c826315d7
gfse: show the types of linearization functions when hovering over their names
2012-09-30 19:33:25 +00:00
hallgren
fc09b7e604
PGF service & minibar: put a limit on the number of parse trees
...
+ In the PGF web service API, the commands parse, translate and translategroup
now accept a limit parameter. It limits the number of parse trees returned.
If no limit is given, the behaviour is backwards compatible, i.e. no limit
is applied.
+ In minibar, the limit is now set to 25 by default.
This change is based on a suggestion by Kaarel Kaljurand.
2012-09-30 15:35:25 +00:00
hallgren
26cb037a78
Make two more page more mobile friendly
2012-09-28 20:55:30 +00:00
hallgren
0dbe9a6d50
Make the GF web site more mobile friendly
...
Most of the pages on the GF web site have an exemplary simple design,
with just one column of text. This make them adapt exceptionally
well to screens of different sizes. In particular, they should be
easy to read even on smartphones.
However, smartphone browsers like Mobile Safari and the default
Android Browser assume that pages do *not* adapt well to small
screens, so by default they emulate a big screen, forcing the user
to zoom in to a part of the page to be able to read it. By adding
the meta tag
<meta name = "viewport" content = "width = device-width">
the big screen emulation can be turned off, allowing pages to be
formatted to fit the actual screen size and text to be displayed
at a readable size.
2012-09-28 20:26:13 +00:00
hallgren
253ddde6c3
gfse & cloud improvements
...
+ Added "Symbolic" to the list of resource modules that can be opened.
+ Clicking on the name of an opened resource module now displays the list
operations it provides. (Implemented using show_operations in the GF shell.)
+ Added a GF version info link to the cloud service start page.
2012-09-28 14:27:18 +00:00
hallgren
98989e1f20
GF shell, show_operations: nicer looking types for linearization functions
...
Adding a lock field to the result type of linearization functions.
TODO: figure out how to add a lock field to the argument types too.
2012-09-28 12:38:26 +00:00
hallgren
45094fca23
GF shell, show_operations: also show the types of linearization functions
...
This is a simple change in GF.Grammar.Lookup.allOpers, which is used only in
the implementation of the show_operations command in the shell.
This is useful when importing a concrete syntax (like LexiconEng) as a resource.
However, the types don't always look as nice as I hoped...
2012-09-27 15:55:20 +00:00
hallgren
3c66e95176
Setup.hs: add Maltese to the list of known RGL languages, but don't compile it by default
2012-09-27 14:28:59 +00:00
kr.angelov
6b7f1d2c6c
added AdvVPSlash and AdVVPSlash to VerbGer and an extended version of PPartNP which uses VPSlash in ParseEngGer. I guess the definitions so they might not be quite correct
2012-09-27 11:44:25 +00:00
kr.angelov
3845564625
added ParseEngGer.gf
2012-09-27 09:54:13 +00:00
kr.angelov
25e9f28fa4
add ApposNP and UncNeg to the Bulgarian parsing grammar
2012-09-27 09:31:37 +00:00
kr.angelov
933bdda844
use CNNumNP in the parsing grammars
2012-09-27 09:31:04 +00:00
kr.angelov
73823dbadc
remove no_RP from the parsing grammars and use EmptyRelSlash instead
2012-09-27 09:29:59 +00:00
kr.angelov
6084647328
added EmptyRelSlash in ExtraBul and ExtraGer. For Bulgarian and German the function simply inserts the default relative pronoun
2012-09-27 09:28:31 +00:00
kr.angelov
1b571d69ff
added according_to_Prep and ofter_AdA in DictEng, DictEngBul and DictEngGer
2012-09-27 09:11:04 +00:00
kr.angelov
e9800fa3eb
a few more words in DictEngBul
2012-09-27 09:09:49 +00:00
kr.angelov
dfc474580d
now in the parsing grammar ComplVV gets as additional arguments the polarity and the anteriority
2012-09-27 09:05:47 +00:00
hallgren
2b4182409d
SIO bug fix
...
Line breaks were missing when capturing stdout. (putStrLn acted like putStr.)
2012-09-26 18:13:47 +00:00
hallgren
a82eae9985
phrasbook/Compile.hs: make it work with ghc>=7.2
2012-09-26 15:37:37 +00:00
hallgren
3bc65ba527
gf -server: add a GF version info request
...
GF version info can now be obtained from http://localhost:41926/version
Also removed some unused imports.
2012-09-26 15:23:29 +00:00
hallgren
da0dcab111
Setup.hs: Persian does not support mkPresent
2012-09-26 15:21:34 +00:00
hallgren
2546a841dd
Add Persian to the list of installed RGL langauges
2012-09-26 13:04:18 +00:00
aarne
e8f6cf7d62
new instance of mkN2 in Swe
2012-09-26 13:04:16 +00:00
kr.angelov
3f334fe321
an optimization in the German grammar for the dative/genitive variants
2012-09-26 11:11:42 +00:00
kr.angelov
e95e500b33
a bit of reordering in DictEngGer.gf
2012-09-26 09:16:17 +00:00
kr.angelov
b3f5835f8a
fixes in DictEngGer.gf
2012-09-26 08:52:18 +00:00
kr.angelov
fc89eaacca
260 new words in DictEngGer which are taken from the lexicon for patents
2012-09-26 08:26:39 +00:00
kr.angelov
8ba5e3fd64
fixes in the German parsing grammar and cleanup in DictEngGer.gf
2012-09-25 20:12:38 +00:00
hallgren
7c65cd4073
Use the SIO monad in the GF shell
...
+ The restrictions on arbitrary IO when GF is running in restricted mode is now
enforced in the types.
+ This hopefully also solves an intermittent problem when accessing the GF
shell through the web API provided by gf -server. This was visible in the
Simple Translation Tool and probably caused by some low-level bug in the
GHC IO libraries.
2012-09-25 19:08:33 +00:00
hallgren
ad536c1369
GF.Infra.SIO.hs: adding the SIO monad (where S = Shell or Safe)
...
The SIO monad is a restriction of the IO monad with two purposes:
+ Access to arbitrary IO operations can be turned off by setting the environment
variable GF_RESTRICTED. There is a limited set of IO operations that are
considered safe and always allowed.
+ It allows output to stdout to be captured. This can be used in gf -server
mode, where output of GF shell commands is made part of HTTP responses
returned to clients.
2012-09-25 18:38:13 +00:00
hallgren
31ac2add1f
GF.Command.Commands: allCommands is now a constant
...
The dependency on PGFEnv has been moved from the list to the exec function of
the commands in the list. This means that the help command no longer needs
to generate a new list of commands and that the state of the shell
(type GF.Command.Interpreter.CommandEnv) no longer needs to contain the list
of commands.
2012-09-25 11:42:32 +00:00
kr.angelov
249d6cc2f8
fixes in the Bulgarian resource grammar. extensions in DictEng and DictEngBul
2012-09-24 09:41:14 +00:00
kr.angelov
18fe8af964
now the meta probability for a category is explicitly specified in the statistical model instead of computed internally. this avoids rounding errors while computing the sum of a large number of small values.
2012-09-24 09:37:21 +00:00
kr.angelov
bb15542a85
in the robust parser we don't have to care about trees which yeld empty strings. this makes the parser a lot faster
2012-09-24 09:30:20 +00:00
aarne
5f4637da08
ListRS added to api
2012-09-23 21:59:14 +00:00
aarne
d41dc9961a
VPSlashPrep in Fin and Romance; the word order in VPSlash not yet fixed.
2012-09-23 09:35:04 +00:00
aarne
c8ac4a9551
refactoring German VP
2012-09-23 07:46:43 +00:00
hallgren
539856de26
GFServer.hs: code improvements
...
Use a monad in the request handler to make the code a bit more modular and
readable.
2012-09-22 22:10:10 +00:00
aarne
2149c26da2
missing rule: Verb.VPSlashPrep, implemented in Eng Scand Ger. Also helped detect a bug and its fix in object insertion in Eng and Scand, which had caused wrong word orders in Verb.Slash2V3 (*he gave to me it). Fix remains to do in Ger, and also the new rule in other languages.
2012-09-22 21:35:28 +00:00
hallgren
f79838c299
gf -server: also restrict the paths of uploaded files
2012-09-21 14:53:11 +00:00
hallgren
620207802f
gfse: added a new "matrix view" of grammars
2012-09-21 10:45:10 +00:00
hallgren
29e2e8c9a4
simple translator: make it possible to delete documents
2012-09-21 09:07:31 +00:00
hallgren
3d3ee05704
gf -server: improved security checks
...
+ More restrictive limits on which file paths can be downloaded and removed.
+ Add more extensions to the list of file types that may be removed. In
particular, allow documents created by simple translation tool to be removed.
2012-09-21 09:00:48 +00:00
hallgren
efedb1f7ba
simple translator: bug fix
...
A bug in the line break change prevented text import from working.
2012-09-20 07:49:13 +00:00
aarne
3e13ae37ab
link to ICFP slides, part 1
2012-09-18 13:44:36 +00:00
kr.angelov
f75d1374ff
the Haskell runtime now exports 'functionsByCat' which returns the list of all functions for a given category
2012-09-18 09:48:21 +00:00
kr.angelov
e98d62c42a
a few changes in DictEng
2012-09-18 09:25:22 +00:00
kr.angelov
44df7a33cf
the C runtime now has a type prob_t which is used only for probability values
2012-09-18 09:18:48 +00:00
kr.angelov
dd0e9411e1
catch all case in GenerateBC.genFun
2012-09-18 08:32:21 +00:00
aarne
a38588fc08
negative patterns in gfmorpho
2012-09-14 08:56:09 +00:00
hallgren
1a4f828870
simple translator: accept DOS, Mac and Unix line breaks when importing text
2012-09-17 15:58:40 +00:00
hallgren
fd298007be
minibar-api.html: documentation fixes
2012-09-17 15:52:57 +00:00
Normunds Gruzitis
841a3deac1
PhrasebookLav: the word order generated by "action" functions (ALike, ALive etc.) is now natural
2012-09-17 13:45:22 +00:00
Normunds Gruzitis
a93a6f4fc6
Latvian RG: improved support for verb-dependent clauses (word order & agreement)
2012-09-17 13:41:31 +00:00
aarne
507dc623a9
ExtraDut.zullen_VV
2012-09-17 08:36:57 +00:00
aarne
d6d33332d5
shall_VV in ExtraEng
2012-09-17 08:29:06 +00:00
aarne
4b1202a0a0
bug fix in Dut.mkA
2012-09-17 07:01:33 +00:00
hallgren
745a949980
doc/icfp-2012: adding a link to my slides
2012-09-14 21:18:36 +00:00
aarne
ba0c2667a1
make Lang for languages that have complete morphology when running make in lib/src
2012-09-13 07:20:57 +00:00
aarne
b89d32469e
example with computer terminology from the Wikipedia
2012-09-12 14:04:39 +00:00
aarne
fa683d7ce2
First version of a web server for morphological paradigms.
2012-09-12 12:52:03 +00:00
aarne
a92fbfa8c1
added Mlt to lib/src/Make.hs ; removed spurious Hindustani files from lib/urdu
2012-09-12 12:37:48 +00:00
hallgren
2700a4e604
doc/gf-developers: a few more small fixes
2012-09-11 19:08:50 +00:00
hallgren
f4fcaf3e25
doc/gf-developers: fixed a typo
2012-09-11 18:43:40 +00:00
hallgren
f55d644e90
simple translator: export GlobalSight Download Files
...
TODO: consider using a better way to save to a local file
2012-09-11 14:30:09 +00:00
hallgren
9748da631f
simple translator: more work on GlobalSight support
...
Disable editing source segments in GlobalSight documents
2012-09-11 13:23:05 +00:00
hallgren
e5fd93b213
simple translator: more work on GlobalSight support
...
+ Retain metadata from GlobalSight Download Files.
+ Disable adding&removing segments when editing a GlobalSight documents.
2012-09-10 21:16:58 +00:00
hallgren
2687d1fae9
minibar: fix links to Wikipedia article on JSONP
...
Wikipedia moved it.
2012-09-09 23:06:26 +00:00
hallgren
bccc2a3ad0
simple translator: support for importing GlobalSight Download Files
...
TODO: support for export translations in the same format.
2012-09-09 21:17:31 +00:00
kr.angelov
93220a2d87
The training script for the PennTreebank is updated to compute more statistics
2012-09-07 08:18:11 +00:00
kr.angelov
cd3cca4aa2
bugfix in the C parser
2012-09-06 14:52:19 +00:00
kr.angelov
1d8fb27656
updates to ParseEng and ParseEngBul
2012-09-06 13:27:08 +00:00
kr.angelov
e34d18310a
update the statistical model for ParseEng
2012-09-06 13:26:16 +00:00
hallgren
95b372b281
Add type info to "Warning: ignoring lock fields in resolving..."
2012-09-06 13:15:48 +00:00
kr.angelov
5c1183ebc8
extensions to the English and the Bulgarian grammars. Infinitives with polarity and anteriority
2012-08-31 09:31:36 +00:00
hallgren
25144980ba
simple translator: make it work even if Apertium is unavailable
...
Since Apertium is unavaiable at the moment, I can't check that things
still work properly when Aprtium *is* availalbe.
2012-08-30 13:09:22 +00:00
kr.angelov
37e1ced6cf
another fix for teyjus
2012-08-30 08:09:30 +00:00
kr.angelov
fe27540c49
the loading of PGF files was broken by the Teyjus patch. Now this is fixed
2012-08-30 07:41:49 +00:00
peter.ljunglof
f78505d88e
Use nub' instead of nub in some places, remove some unused nub imports
2012-08-29 21:48:34 +00:00
peter.ljunglof
87260365c7
Added an O(n log n) version of nub
...
The new nub is called nub', and it replaces the old sortNub which was
not lazy and did not retain the order between the elements.
2012-08-29 21:45:10 +00:00
peter.ljunglof
7ad4616d9c
Emacs only recognizes utf-8, not UTF-8, in file headers
2012-08-29 21:40:49 +00:00
kr.angelov
9cf52d1f56
a few fixes in DictEng, DictEngBul and ParseEng
2012-08-29 11:46:58 +00:00
kr.angelov
fd5220038d
A basic infrastructure for generating Teyjus bytecode from the GF abstract syntax
2012-08-29 11:43:02 +00:00
aarne
c9e497179b
added Lav in compilation; commented out extensions of Words that are only available for a fraction of languages; fixed a couple of type errors in WordsLav, to be checked
2012-08-28 11:29:54 +00:00
hallgren
ffedf0a165
minibar documentation URL typo fix
2012-08-27 15:00:37 +00:00
hallgren
9ab4c04b5c
minibar documentation updates
2012-08-27 14:56:10 +00:00
aarne
6aa7806b10
typo in extmini
2012-08-24 12:31:32 +00:00
aarne
c5cff90a3a
in lib/src/, make dict compiles the unilingual dictionaries to alltenses/.
2012-08-24 12:06:48 +00:00
aarne
9506a01aab
extended mini resource grammar in examples, with Eng, Ita, Cmn (Mandarin Chinese by Jolene)
2012-08-24 06:30:10 +00:00
Normunds Gruzitis
d217f20c60
A major update to the Latvian resource grammar
...
The case of the topic part of a clause (~subject) can now depend on the verb, allowing for less frequent agreement.
E.g. "man[Dat] garšo pica[Nom]" ("I like pizza").
The default case for the topic/subject remains the nominative case.
2012-08-23 23:05:16 +00:00
Normunds Gruzitis
d6e3d07db1
Improvements to PhrasebookLav
...
AHasAge, AHasChildren, AHasRoom, AHasTable, ALike - "almost" done: phrases (cases) are grammatically correct, but the word order has to be changed (TODO in the resource grammar).
2012-08-23 13:12:08 +00:00
hallgren
461b5d2f39
Add 'make deb' to Makefile, for creating Debian packages
...
Also updated the debian/* files.
It should now be easy to create Debian packages under Ubuntu 11.10 & 12.04.
See also the notes in the Makefile.
2012-08-22 17:25:10 +00:00
Normunds Gruzitis
1e1298b828
First (public) version of PhrasebookLav
...
Tested on Actions:
- Temp: AHasName, ALike.
- ToDo: AHasAge, AHasChildren, AHasRoom, AHasTable.
- FixMe (in the resource grammar):
+ YouPolMale/YouPolFemale agreement (AHungry, AIll, AMarried, AReady, AScared, AThirsty, ATired);
+ Missing commas in multiple ObjAndObj constructions (AWant);
+ Use (the currently missing) Irreg_Give (AWantGo).
2012-08-18 05:07:10 +00:00
Normunds Gruzitis
3aa95e3fe9
More improvements to the Latvian resource grammar (motivated by PhrasebookLav)
...
- Few bug-fixes (agreement between Pron and ComplAP; C1 verb paradigm; how8much_IAdv / how8many_IDet).
- Differentiation between male and female pronouns.
- Irregular verbs now can have prefixes.
- Code refactoring.
2012-08-18 04:56:33 +00:00
kr.angelov
20d3862b17
fixes in DictEng and extensions in DictEngBul
2012-08-09 12:09:21 +00:00
Normunds Gruzitis
8b1ea40b45
Some improvements to the Latvian resource grammar
...
- some missing functions (needed for Phrasebook)
- few bug-fixes (verb paradigms)
- naming, formatting, clean-up
2012-08-08 09:45:15 +00:00
hallgren
ed8119c224
record unrecorded rmdir
2012-08-06 16:55:18 +00:00
hallgren
598d1747c8
Updated the GF Developers Guide
...
+ The instructions have been modernized and simplified slightly and should now
work again. (I have not verified it on Windows.)
Using 'cabal' instead of 'runghc Setup.hs' avoids some problems.
+ Also, download/index.html has simpler installation instructions sufficient
for many users, so mention it in the main README file.
+ Also adjusted the main Makefile.
2012-08-06 16:14:47 +00:00
kr.angelov
3ef3108314
fix some warnings in teyjus
2012-08-03 12:30:01 +00:00
hallgren
636d0649f8
translator: keep cloud docs and local docs apart
...
+ show a cloud icon next to the document name if it is stored in the cloud
+ in addition to the name of the current document, remember if it is stored in
the cloud, so that the right document is loaded next time you open the
translator.
2012-08-02 12:54:15 +00:00
hallgren
4d526b152a
gfse: matching colors in cloud download/upload icons
2012-08-02 12:12:59 +00:00
hallgren
860a014f2e
GFServer.hs: binary files can now be uploaded to the cloud
...
Karel wants to upload PGF files.
2012-08-01 18:10:00 +00:00
hallgren
dca98c3533
gf-cloud-api.html: markup fix
2012-08-01 15:39:30 +00:00
kr.angelov
b34232c6dc
the first draft of GF.Compile.Instructions
2012-08-01 09:21:59 +00:00
kr.angelov
2844742afd
An initial import of the teyjus source code in the C runtime for GF. The two runtime are still not connected but the source code compiles.
2012-07-31 15:16:04 +00:00
hallgren
8da1bbd17d
translator: code cleanup and bug fixes
2012-07-27 15:06:02 +00:00
hallgren
7e68ae7248
translator: remove debug logging
2012-07-25 14:31:39 +00:00
hallgren
63fd9d44e7
translator: per segment translation method selection
2012-07-25 14:27:27 +00:00
john.j.camilleri
01c58b4e23
Significant advances in Maltese verb morphology
2012-07-19 16:19:56 +00:00
john.j.camilleri
4884087c2f
RGL Browser: added favicon
2012-07-17 08:01:43 +00:00
john.j.camilleri
0fba4d4c5a
RGL Browser: updates
2012-07-11 13:27:00 +00:00
john.j.camilleri
71098e9a73
GFEP: updated readme
2012-07-10 12:16:28 +00:00
john.j.camilleri
58f2d624fd
GFEP: added images for ontology grammar plugin
2012-07-10 12:15:28 +00:00
peter.ljunglof
2e8d9d3829
Minor changes in Python export
2012-07-02 21:11:20 +00:00
kr.angelov
696a34bc22
DictEngBul is extended to 5000 words and there are few more functions in ParseEngBul
2012-06-29 09:57:02 +00:00
aarne
e2fdf3747f
github news, new languages in the list on index
2012-06-29 09:57:36 +00:00
peter.ljunglof
a82a63cc69
Fixed minor bug in prolog export
2012-06-28 07:01:29 +00:00
peter.ljunglof
035b7731e5
major changes to the prolog export
2012-06-27 23:29:05 +00:00
peter.ljunglof
871eb6eabc
cleanup in the python export
2012-06-27 23:27:01 +00:00
hallgren
8444821759
Experiment with parallel grammar checks
...
Introduced the function
parallelCheck :: [Check a] -> Check [a]
that runs independent checks in parallel, potentially allowing faster grammar
compilation on multi-core computers, if you run gf with +RTS -N.
However, on my dual core laptop, this seems to slow down compilation somewhat
even though CPU utilization goes up as high as 170% at times.
(This is with GF compiled with GHC 7.0.4.)
2012-06-26 17:01:15 +00:00
hallgren
e3a01cdf49
GF.Infra.CheckM: comment out unused Context argument
2012-06-26 15:08:18 +00:00
hallgren
5b577baf02
Report many type errors instead of stopping after the first one
...
In GF.Compile.CheckGrammar, use a new topological sorting function that
groups independent judgements, allowing them all to be checked before
continuing or reporting errors.
2012-06-26 14:46:18 +00:00
kr.angelov
852d923786
added VPI category and AdvVPSlash to the Bulgarian RGL
2012-06-26 09:54:06 +00:00
hallgren
0b1a963d7a
Fix for warning messages from checkMapRecover
...
Reimplemented it with the new function accumulateError.
Also keeping the formatting of errors and warnings unchanged for now, to avoid
potentially causing problems in the GF Eclipse Plugin.
2012-06-25 15:55:59 +00:00
aarne
af4886dace
removed spurious empty warnings
2012-06-25 14:47:09 +00:00
hallgren
abb1aedd3d
GF.Compile.Rename: report many errors instead of stopping after the first one
...
Using accumulated errors in the Check monad.
TODO: some errors are still not accumulated, but thanks to checkMapRecover
at least one error per judgement is reported.
2012-06-25 14:15:02 +00:00
hallgren
ca4091599f
Check monad: support for accumulated errors
...
In addition to warnings, the Check monad in GF.Infra.CheckM can now accumulate
errors. There are two new functions
checkAccumError: Message -> Check ()
accumulateError :: (a -> Check a) -> a -> Check a
The former (with the same type as checkWarn) is used to report an accumulated
(nonfatal) error. The latter converts fatal errors into accumulated errors.
Accumulated errors are reported as regular errors by runCheck.
Also, the Check monad type has been made abstract.
2012-06-25 14:01:58 +00:00
peter.ljunglof
a1c16e36b0
Export PGF in Python format
2012-06-25 14:16:24 +00:00
aarne
e62e53aeb2
warnings shown in checkMapRecover
2012-06-25 11:49:50 +00:00
aarne
7f047a0ab5
checkMapRecover: find undefined idents in all jments in Rename
2012-06-25 11:14:52 +00:00
aarne
8392cf45c3
printing ResValue judgements as comments, to provide useful information when a conflict is found between parameter constructors
2012-06-25 09:24:04 +00:00
ramona.enache
f871c3cd42
cleaned up the patents query grammar
2012-06-25 10:34:55 +00:00
aarne
236372c76e
overload problem in Phrasebook fixed
2012-06-22 09:02:13 +00:00
hallgren
bd7a332b21
translator: parallel text view layout adjustments
...
And some other small code changes.
2012-06-21 23:06:07 +00:00
hallgren
0a5d3006dd
translator: bug fix for copy/paste import
2012-06-21 23:03:12 +00:00
hallgren
49ad3a6a23
gfse/sort.js: make it more resusable
...
Move the gfse-specific list of sortable tags and class names from sort.js
to editor.js.
2012-06-21 15:39:31 +00:00
ramona.enache
4062bbad61
added French grammar for patent queries
2012-06-21 14:21:18 +00:00
hallgren
9d32b629a9
translator: insert and delete segments
...
You can now insert new segments anywhere, now just at the end.
You can now delete any segment, not just the last one.
2012-06-21 14:14:36 +00:00
ramona.enache
7c0c90c7a0
added patents queries in new_patentsQuery
2012-06-21 11:17:34 +00:00
ramona.enache
4f23ce962e
fixed and completed the patent query grammr for English
2012-06-21 10:45:05 +00:00
kr.angelov
70dc5d2c21
bugfix in GenRP in ExtraEng
2012-06-21 09:00:46 +00:00
kr.angelov
87401fcc4d
added few missing functions in the Bulgarian RGL
2012-06-21 09:00:21 +00:00
kr.angelov
78bd39ace7
various extensions to DictEngBul
2012-06-21 08:59:37 +00:00
aarne
27f11cf813
QueryFre instances, don't compile yet because of type discrepancies
2012-06-21 06:22:47 +00:00
aarne
60b2261ef0
factored Query by taking our Proton parts and introducing an interface
2012-06-21 06:06:05 +00:00
aarne
ead4781cdb
removed gfo files from query dir
2012-06-21 06:05:27 +00:00
hallgren
31d68ca225
gf-people.html: updated some broken links
...
www.cs.chalmers.se -> www.cse.chalmers.se
2012-06-20 20:40:26 +00:00
ramona.enache
fc16f5e81f
added first draft of patents query grammar
2012-06-20 14:33:55 +00:00
hallgren
c15f9f73c1
GF home page: link to PGF library API documentation
2012-06-20 12:04:04 +00:00
kr.angelov
87818d4404
extensions to DictEng and addition of parallel DictEngBul which is partly imported from Apertium
2012-06-20 09:06:59 +00:00
hallgren
983c72ba66
translator: style adjustments
2012-06-19 14:45:50 +00:00
hallgren
5a96795039
translator: expanatory text for local file import
2012-06-19 14:09:24 +00:00
hallgren
2a55b77d4b
translator: import text from local files
...
It works in Chrome, Firefox and Opera, but not Safari.
(The browser must support the File, FileList and FileReader APIs.)
2012-06-19 13:59:19 +00:00
hallgren
7a7beabe03
GF cloud api doc fixes
2012-06-18 15:18:02 +00:00
hallgren
b82c93ddf6
cloud service: add preliminary cloud service API documentation
2012-06-18 13:08:32 +00:00
hallgren
d726999bc7
transaltor: reduce code duplication
2012-06-18 13:08:15 +00:00
virk.shafqat
6743534fa0
ParseHinUrd2
2012-06-18 08:02:38 +00:00
virk.shafqat
0deb6d8587
ParseHinUrd
2012-06-18 07:50:26 +00:00
hallgren
fe34a29f4f
Add file name to error message when reading a bad .gfo file (in some cases)
...
This turns error messages like
gf: too few bytes. Failed reading at byte position 1
gf: /some/path/somefile.gfo: too few bytes. Failed reading at byte position 1
but a better fix would be to ignore bad .gfo files and compile from source.
The problem is the way this decision is made in
GF.Compile.ReadFiles.selectFormat...
2012-06-15 10:15:16 +00:00
hallgren
d0281ef22f
translator: added support for the Apertium translation service
...
Also added feedback to source & target language menus to indicate which
languages are supported by the selected translation method. For Apertium, the
source language menu shows all possible source languages, and the target menu
shows the possible target languages for the chosen source language.
2012-06-13 21:34:59 +00:00
john.j.camilleri
5fd00972fe
GFEP: updated readme
2012-06-13 11:22:15 +00:00
kr.angelov
5b22d474ef
fix UncNeg in ParseEng
2012-06-13 06:10:51 +00:00
kr.angelov
3a352a953f
Use a separated tag for meta productions in the robust parser. This cleans up the code a lot
2012-06-13 05:49:30 +00:00
hallgren
70b338de20
translator: documents can now be saved in the cloud
...
some other small fixes
2012-06-12 15:36:41 +00:00
hallgren
0089dcdb78
gfse & translator: change language code for Japanese to Jpn
2012-06-12 13:07:54 +00:00
hallgren
636e8ac75b
gf-help-full.txt: updated with new command option 'ma -known'
2012-06-12 11:34:47 +00:00
kr.angelov
7549a4876d
now there is a limit of 2000000 items in the chart of the robust parser. This prevents from explosion in the memory size but it will also prevent us from parsing some sentences.
2012-06-12 11:30:01 +00:00
john.j.camilleri
8828a226a0
GFEP: updated readme
2012-06-12 11:27:23 +00:00
john.j.camilleri
b7347b1fef
GFEP: updated readme
2012-06-12 11:04:59 +00:00
kr.angelov
8f53e010d1
improved script for training from PennTreebank
2012-06-12 10:05:17 +00:00
kr.angelov
9775c1002b
fix the path in DictEngGer.gf
2012-06-12 10:04:15 +00:00
kr.angelov
99d117534d
more in DictEng
2012-06-12 09:58:01 +00:00
kr.angelov
b765b0c054
now the robust parser is purely top-down and the meta rules compete on a fair basis with the grammar rules
2012-06-12 09:29:51 +00:00
aarne
ebfd7ac5cd
synopsis with Jpn
2012-06-11 21:11:47 +00:00
aarne
2951361732
tried to change Jap to Jpn everywhere
2012-06-11 20:08:14 +00:00
lizazim
2c371f5f33
JPN
2012-06-10 21:38:10 +00:00
hallgren
60d8ec58a2
minibar-api.html: small documentation improvements
2012-06-11 16:00:03 +00:00
hallgren
8b465dcaff
GF home page: link to GF clouds service (cloud.grammaticalframework.org)
...
Also some small cloud service documentation updates.
2012-06-11 15:34:16 +00:00
hallgren
da80a1d3dd
translator: source segments can now be edited
2012-06-11 14:10:26 +00:00
john.j.camilleri
04895ef3ab
RGL Browser: bug fix
2012-06-11 10:43:41 +00:00
john.j.camilleri
53d66d5e98
GFEP: updated readme
2012-06-11 08:32:16 +00:00
john.j.camilleri
c4bf308cc7
GFEP: updated readme
2012-06-11 08:29:52 +00:00
john.j.camilleri
c5af228c7f
GFEP: updated readme
2012-06-11 08:29:12 +00:00
john.j.camilleri
d50ed66979
GFEP: updated readme
2012-06-11 08:15:35 +00:00
aarne
29fe4718fa
RGL status update
2012-06-10 19:00:48 +00:00
aarne
b2973b9c08
one more instance of symb in Symbolic
2012-06-10 14:11:47 +00:00
aarne
8ef8af479f
command option ma -known to drop unknown words
2012-06-10 10:43:57 +00:00
gregoire.detrez
8412792d66
Small Setup.hs bug fix
...
Setup.hs failed to generate DarcsVersion_gf if dist/build/autogen does not exists.g
Added a line to create the directory if absent.
2012-06-09 12:49:01 +00:00
hallgren
1aecfe605b
More detailed version info in the output of "gf -version"
2012-06-08 11:17:46 +00:00
hallgren
6a1e6eed29
translator.css: restore lost width of input field
2012-06-08 11:16:21 +00:00
aarne
e7f272f4fe
SSubjS in Scandinavian and Dut
2012-06-08 08:51:03 +00:00
aarne
1838781123
nominalization in Extra Dut and Eng (from Ramona)
2012-06-06 09:48:05 +00:00
dana.dannells
694564d275
reorder code lines
2012-06-06 22:53:30 +00:00
dana.dannells
c4bf79e105
minnor change
2012-06-06 22:45:15 +00:00
dana.dannells
dc93e3df8c
heb verb acc
2012-06-06 22:41:39 +00:00
dana.dannells
fa33a915e2
heb possessive pronoun fix
2012-06-06 05:20:14 +00:00
aarne
97fcdd5fa2
Dut no_geV and fixprefixV
2012-06-05 15:35:11 +00:00
aarne
529fdea499
some fixes in Synopsis
2012-06-01 14:22:29 +00:00
john.j.camilleri
58bf2cef29
GFEP: updated readme and removed examples folder
2012-06-01 14:21:26 +00:00
aarne
0ea5455e24
fixes to Ja
2012-06-01 13:43:24 +00:00
aarne
c1dc5b7355
Penn Treebank probabilities from Krasimir
2012-06-01 13:32:35 +00:00
aarne
61870666d8
new version of DictEngGer
2012-06-01 13:32:09 +00:00
john.j.camilleri
c66f87099b
GFEP: updated readme
2012-06-01 12:45:39 +00:00
john.j.camilleri
e38b5c1b3b
GFEP: Updated readme
2012-06-01 12:43:44 +00:00
aarne
3f4791edb3
adding structural words to DictEngGer
2012-06-01 08:43:41 +00:00
aarne
34bc9b704b
Erzsébet's DictEngGer: a baseline translation dictionary
2012-05-31 18:23:07 +00:00
aarne
89ac3e1926
optional hiding in LibraryBrowser
2012-05-31 15:57:56 +00:00
aarne
e24008bdf2
swapping some arguments in LibraryBrowser
2012-05-31 11:48:29 +00:00
aarne
e905764fe6
some more mkText API functions
2012-05-30 20:13:29 +00:00
hallgren
2e4aedd211
Setup.hs: fix two problems with querying darcs
2012-05-30 16:15:59 +00:00
hallgren
25c5ad2bf0
More detailed version info in the startup message
...
The Setup.hs script now queries darcs to create more detailed version info
to include in the startup message.
Note thought that with distributed version control systems like darcs,
the only way to uniquely identify a version is by the set of patches included.
Since the patches are not totally ordered, just looking at the last patch is
not enough.
For official releases, we tag the current set of patches so we can refer to
it by name (e.g. RELEASE-3.3.3).
2012-05-30 15:45:45 +00:00
aarne
ee6321d774
better treatment of pronouns in LibraryBrowser
2012-05-30 13:58:01 +00:00
aarne
f674200079
the substantival form of every and some other Det's in English
2012-05-30 12:07:32 +00:00
aarne
e84720622f
make linearizations in browser Makefile
2012-05-30 08:56:47 +00:00
aarne
12e142724b
make for library browser
2012-05-30 08:42:11 +00:00
aarne
7e467eb431
LibraryBrowser grammar - another attempt to parse into library terms
2012-05-30 08:30:49 +00:00
aarne
a4650144be
LangAPI display grammar for whole resource (not quite finished)
2012-05-29 20:28:00 +00:00
aarne
5c3aada95c
lexicon corrections Fin and Eng
2012-05-29 18:32:14 +00:00
aarne
c5afb08b55
API term as ResourceDemo view
2012-05-29 17:55:57 +00:00
aarne
db8cab8272
ExtraJapAbs.gf added, new try
2012-05-29 15:38:20 +00:00
hallgren
07e6ff8963
translator: segment imported text based on punctuation
2012-05-29 14:47:59 +00:00
aarne
8e650eafd3
showing API in ResourceDemo (started)
2012-05-29 14:47:17 +00:00
aarne
48a403d192
ExtraJapAbs.gf added
2012-05-29 13:55:30 +00:00
aarne
5f2ea46913
Dut irreg verb fixes
2012-05-29 13:04:16 +00:00
aarne
bd21a33079
plural forms added in DictGer
2012-05-29 12:06:01 +00:00
aarne
fde8175c95
Erzsébet's DictGer
2012-05-29 07:55:10 +00:00
aarne
508b205b8a
synopsis with e.g. the latest Jap patches
2012-05-29 07:23:27 +00:00
aarne
b2206f09d8
Liza's patch to Jap
2012-05-29 07:18:16 +00:00
aarne
fa4fcdab35
Text as startcat in ResourceDemo ; adjustments in Finnish NP's
2012-05-28 15:14:45 +00:00
hallgren
5108292f80
translator: better support for ambiguous translations
...
The translator picks "the first" translation by default, but the user can
choose among the generated translations from a popup menu.
2012-05-28 16:42:02 +00:00
aarne
806d9f4127
plural articles in ResourceDemo
2012-05-28 12:51:08 +00:00
hallgren
a3a491d8fc
GFServer.hs: apply UTF8 encoding when saving uploaded files
...
This fixes a bug introduced on May 16.
2012-05-28 11:21:30 +00:00
aarne
6dfd337568
adjusting German negation place for some indefinite determiners; this is difficult and not yet conclusive
2012-05-28 09:17:19 +00:00
aarne
5014c38e6d
Romance negation: word order dependence
2012-05-28 07:38:25 +00:00
dana.dannells
9f1738124e
Hebrew RGL files added
2012-05-27 21:37:58 +00:00
aarne
95f46e9afd
comma in embedded sentence in Ger
2012-05-27 21:15:03 +00:00
aarne
cb4c2322a7
Ger negation adjusted once more
2012-05-27 21:09:17 +00:00
aarne
fa4ccf176a
VPS and conjunction in Romance, by means of repeated unstressed pronouns (in Fre) or prodrop (other languages)
2012-05-27 20:50:59 +00:00
aarne
ccf7ba8510
VPS in Dut
2012-05-27 19:36:04 +00:00
aarne
231f3ad571
VPS in Ger
2012-05-27 19:22:57 +00:00
hallgren
3eeb3d2377
translator: adding "Parallel texts" view
...
This is in addition to the existing "Segment by Segment" view.
Also some minor documentation updates.
2012-05-27 19:19:54 +00:00
aarne
9bae66073a
place of negation in Ger
2012-05-27 18:50:41 +00:00
aarne
8717bfc401
memory on demo/Compile
2012-05-27 15:35:54 +00:00
aarne
590c1c55fd
polarity handling for Fin, e.g. "kukaan ei nuku" as equivalent to "nobody sleeps"
2012-05-27 15:03:50 +00:00
aarne
336e32a9df
Romance negative polarity of NP, Det. Quant: the positive form (and direct translation) of "he loves no woman" is "il n'aime aucune femme", "lui non ama nessuna donna", etc.
2012-05-27 14:29:46 +00:00
aarne
bc522704cd
middle polarity for French in Romance (for "personne ne dort")
2012-05-27 12:55:32 +00:00
hallgren
25435a6912
gf -server: remove debug output
2012-05-27 11:52:15 +00:00
aarne
76ae3e50e6
Erzsébet's fixes to Ger
2012-05-26 08:57:01 +00:00
aarne
aba003fed2
fixes in Fin: cases of plural indefinites; VPS and its conjunction; negative determiners (only work in negated sentences though)
2012-05-26 08:16:00 +00:00
hallgren
33165aa8e3
translator: you can now import text by copying and pasting
2012-05-25 16:48:03 +00:00
aarne
bc5363de1b
completions to ParseEngFin
2012-05-25 14:37:07 +00:00
john.j.camilleri
62bcfe933b
RGL Browser: Improved UI, history support
2012-05-25 09:49:12 +00:00
aarne
2d52a34091
DictEngFin improved by giving preference to RGL Lexicon whenever available
2012-05-25 07:52:29 +00:00
kr.angelov
5a27861038
several updates to DictEng and ParseEng
2012-05-25 07:33:40 +00:00
kr.angelov
cab4602b62
the viterbi probability for the epsilon categories is now updated properly
2012-05-25 07:30:35 +00:00
kr.angelov
ec00a42ee6
fixed an alignment bug in libgu which leads to crash on some platforms
2012-05-25 07:29:29 +00:00
kr.angelov
bd102d54d9
fixed memory leak in the pgf-translate tool
2012-05-25 07:28:18 +00:00
kr.angelov
fdcd0de336
added pgf-service.c in the robust parser'
2012-05-25 07:27:29 +00:00
aarne
723421fba3
ParseEngFin now works - with mostly awful translations!
2012-05-24 14:56:03 +00:00
aarne
6e6d2611dc
DictEngFin: a translation dictionary based on Finnish wordnet, Kotus, and frequency list. Not yet quite functional.
2012-05-23 15:46:12 +00:00
hallgren
842b321ce9
translator: use a more robust test for localStorage support and show a warning if it is missing
2012-05-23 14:39:05 +00:00
john.j.camilleri
69c7da92ab
Spanish: added a bunch of stuff to StructuralSpa which was missing
...
The implementations are a "best guess" and should be checked by an expert.
2012-05-23 10:31:57 +00:00
john.j.camilleri
be963009dd
Spanish: added restricted inheritance of CatSpa in NumeralSpa
2012-05-23 09:49:27 +00:00
john.j.camilleri
4a834dcd17
Dutch: added restricted inheritance of CatDut in NumeralDut
2012-05-23 09:40:33 +00:00
john.j.camilleri
f4e36b0a40
Catalan: added restricted inheritance of CatCat in NumeralCat
2012-05-23 09:32:25 +00:00
john.j.camilleri
470a531931
RGL Browser: some interface and behavioural improvements
2012-05-23 07:11:59 +00:00
john.j.camilleri
2a6ab3543e
Urdu: restricted inheritence of CatUrd in NumeralUrd
2012-05-23 07:04:29 +00:00
kr.angelov
3549db552e
a bunch of new things in DictEng and ParseEng a simple fix for the VPI category in ExtraEng
2012-05-21 15:06:41 +00:00
kr.angelov
bd8046f23d
another attempt to port the robust parser to MacOS
2012-05-16 15:18:44 +00:00
hallgren
eb380dfb80
translator: fix typo
2012-05-16 14:56:32 +00:00
hallgren
ced72bf07b
translator: update About page
2012-05-16 14:54:16 +00:00
hallgren
e5ec226716
translator: use GF's text lexer/unlexer to obtain more natural looking text
...
Note though that the unlexer does the wrong thing with initial words that are
supposed to be capitalized, e.g. "I am ready.", "Spanish wine is good.", so
these sentenses are not translated at the moment.
2012-05-16 14:42:26 +00:00
hallgren
8172cf7d94
GFServer.hs: apply UTF8 decoding to all server input
2012-05-16 14:03:09 +00:00
hallgren
5c880fc15b
translator: file browser shows files alphabetically now
2012-05-16 13:25:18 +00:00
kr.angelov
e342e5e7d6
small fix for compiling the robust parser on MacOS
2012-05-16 12:18:50 +00:00
hallgren
75144d2f7a
translator: bug fix
...
My menu hiding hack didn't work in Gecko browsers because of a difference in
the behaviour of the JavaScript setTimeout function.
2012-05-16 11:53:27 +00:00
john.j.camilleri
ebbee9c096
RGL Browser: proper syntax highlighting for GF
2012-05-16 10:37:29 +00:00
hallgren
aa105f2916
Adding a Simple Translation Tool
...
It is part of the cloud services available with gf -server.
2012-05-15 15:36:06 +00:00
john.j.camilleri
0ed07b14bb
RGL browser: bug in "show local". better screen-space usage.
2012-05-15 14:03:41 +00:00
john.j.camilleri
ab28a26db5
RGL Browser: added show local option
2012-05-15 13:32:49 +00:00
hallgren
d13f71a27e
Integrate Japanese
...
* Update Setup.hs to build Japanese by default.
* News item about Japanese on the home page.
* Add Japanese to the supported RGL imports in the grammar editor (gfse).
2012-05-15 13:11:32 +00:00
hallgren
496897c8e1
Quick updates to doc/gf-developers.t2t
2012-05-15 12:51:58 +00:00
john.j.camilleri
dd6e3bd973
RGL Browser updates
...
Added files which didn't get added in previous patch (bloody darcs)
2012-05-15 12:10:30 +00:00
john.j.camilleri
87e812455f
RGL Browser updates
...
- Better layout
- Jump to defition
- Syntax highlighting, line numbers
2012-05-15 12:08:18 +00:00
aarne
d59f54ba41
missing case in partial evaluation of + fixed
2012-05-15 11:48:30 +00:00
aarne
c15c55a142
some Ger corrections by Erzsébet
2012-05-15 09:16:57 +00:00
aarne
f6b87a7d88
fixed some discontinuous categories in synopsis by wrapping with mkUtt
2012-05-15 08:02:12 +00:00
john.j.camilleri
d6ae92f1df
RGL Browser: small user guide, less crash-prone
2012-05-14 14:29:11 +00:00
john.j.camilleri
050c8b7396
Fixed encoding issue in Web RGL Browser
2012-05-11 13:49:43 +00:00
aarne
670b92fd16
some new functions in ResourceDemo
2012-05-11 12:09:42 +00:00
john.j.camilleri
99c7579e85
RGL Browser
...
(added files which didn't add in previous patch)
2012-05-11 12:00:52 +00:00
john.j.camilleri
94f99118ad
Added RGL Browser tool
...
Quick and dirty web-based tool for browsing the scope & source of the RGL.
Announcement to be posted in gf-dev group
2012-05-11 11:54:40 +00:00
aarne
e4c310ec2e
renamed lib/src/mini/MiniGrammar to lib/src/demo/ResourceDemo ; added Jap
2012-05-10 11:54:30 +00:00
aarne
36b1e82edb
another fix in Ger Quant, for "gute Häuser"
2012-05-08 13:45:31 +00:00
aarne
e64cd561c9
Emil Djupfeldt's correction to PhrasebookGer
2012-05-08 12:10:36 +00:00
kr.angelov
4aca965109
a new unbiased statistical parser. it is still far from perfect use it on your own risk.
2012-05-08 12:13:28 +00:00
aarne
4a62dae5e1
adjective form with Ger determiners
2012-05-08 11:54:36 +00:00
kr.angelov
38ed063405
fixes in DictEng and ParseEng
2012-05-07 21:40:14 +00:00
kr.angelov
ed6a53609b
yet another fix for parsing literals
2012-04-18 15:50:55 +00:00
kr.angelov
c6c54f8815
some fixes in the robust parser and a new API for literals
2012-04-12 06:55:25 +00:00
aarne
13f4eef70c
Japanese added to status
2012-05-07 12:35:08 +00:00
aarne
ddf3a01c9b
Japanese added to RGL Make and synopsis
2012-05-07 12:31:34 +00:00
aarne
245a2b0007
new japanese from Liza 30 April
2012-05-07 11:31:05 +00:00
hallgren
3fed5b1cbc
Demos: add a note that the WebAlt Math translator is out of order
2012-05-04 12:52:05 +00:00
hallgren
2774275bf7
alex 3 incompatibility workaround
...
As a temporary workaround, alex is no longer invoked automatically when
building with cabal. Developers who want to modify the lexer need to run
alex on Lexer.x manually and record the modified Lexer.hs.
src/compiler/GF/Grammar/lexer/Lexer.x -- hidden from cabal
src/compiler/GF/Grammar/Lexer.hs -- update it manually
2012-05-04 12:39:07 +00:00
hallgren
d19854cf0f
minibar_offline: fix the link to the regular minibar
2012-04-30 14:03:58 +00:00
hallgren
b57b7bdc4b
minibar_offline: Update the API exported by pgf_offline.js to be compatible with pgf_online.js
...
This makes the minibar offline demo work again.
2012-04-30 13:53:55 +00:00
hallgren
82e1ee4a95
minibar: word-for-word replacements: use concrete syntax for replacement words when possible
...
Instead of showing the name of a function in the abstract syntax, linearize it
and show the result. For functions with argument, e.g. That : Kind -> Item,
the function is applied to the right number of placeholder arguments: 'That ?'.
If the linearization fails, the name of the function is shown anyway.
2012-04-27 14:00:01 +00:00
hallgren
5241469c8e
minibar&gfse: grammar extension user interface improvements
...
The grammar extension is now done with a regular HTML form, so you can use the
TAB key to move between the fields and press ENTER to submit the extension when
you are done.
TODO: more immediate error feedback
2012-04-24 17:13:33 +00:00
virk.shafqat
f8e224f0ab
refinments
2012-04-24 12:14:47 +00:00
virk.shafqat
b3afadcdb9
WNDictEng
2012-04-24 12:01:23 +00:00
hallgren
42f96474a6
minibar & cloud service: minor style changes
...
Also include the GF logo on the cloud service start page.
2012-04-19 15:34:56 +00:00
hallgren
22a2945d02
Minibar documentation update
...
Document recent additions in minibar/about.html.
2012-04-19 12:36:03 +00:00
john.j.camilleri
171c26fad3
GFEP: updated readme for 1.5.0
2012-04-19 09:44:42 +00:00
hallgren
fe53747a45
minibar: add buttons to use generated translations as input
...
This functionality was available in the origial Fridge Poetry app, but has been
missing in minibar until now.
2012-04-18 16:26:49 +00:00
aarne
7b2ae94895
Japanese RGL by Liza Zimina - almost complete!
2012-04-18 11:29:32 +00:00
hallgren
c5308e99da
download page: fixed a typo
2012-04-14 11:50:11 +00:00
hallgren
da98d9b527
download page: added a note that Xcode 3.2.3 or later is needed on Mac OS X
...
The Haskell Platform page for Mac states that Xcode 3.2 or later is ok, but
there seems to be a problem with Xcode 3.2.2.
Also added some other small clarifications.
2012-04-14 10:03:27 +00:00
hallgren
645b29b769
minibar: fix to prevent the typed input field from losing focus when turning word-for-word replacment on or off
2012-04-11 14:03:39 +00:00
aarne
836bcfa4f7
substantival IndefArt in Ger (einer, eines, eine); DetNPMasc and DetNPFem in Extra
2012-04-10 20:50:50 +00:00
hallgren
840f982fd4
minibar: internal state type change
...
The current intput is now represented as an array of words instead of as a
string.
(This is the kind of change is scary to do in a dynamically type language
like JavaScript. In a statically typed language like Haskell you can do it
with confidence, since you know the compiler can help you catch all mistakes...)
2012-04-10 18:00:13 +00:00
hallgren
69623bf5d0
minibar_input.js: internal state simplification
...
Get rid of list of previous states, which was only used to delete the last
word.
2012-04-10 16:49:51 +00:00
hallgren
15bf21c091
minibar/pgf_online.js: pass arguments to the browse function in the same way as the other functions
...
Also document it in gf-web-api-examples.html.
2012-04-10 13:33:12 +00:00
kr.angelov
18185aba97
insert spaces in the hyphenated words in DictEng. Various small fixes in DictEng and ParseEng
2012-04-10 09:15:37 +00:00
hallgren
4ddf81c05f
minibar&gfse: grammar extension user interface fixes
...
It works OK now, but it could be better, e.g. the number of mouse clicks
required to enter an extension could to be reduced...
2012-04-05 15:25:10 +00:00
hallgren
be89ed18b3
minibar&gfse: first working grammar extension interface in minibar
...
There are still some user interface wrinkles to iron out.
2012-04-04 17:00:25 +00:00
john.j.camilleri
13aa9a9dbc
GFEP: updated readme
2012-04-04 10:19:11 +00:00
john.j.camilleri
499cc097ad
GFEP: updated readme
2012-04-04 08:00:56 +00:00
hallgren
117ae47436
minibar: remember current input
...
If you leave the minibar and later return, the previous input will be
restored. One input string per grammar is rememebered, so you can also switch
back and forth between grammars without losing the input.
This is implemented using localStorage, i.e. the data is stored locally on
the user's device.
2012-04-03 14:53:23 +00:00
kr.angelov
99cc07ad67
simple cleanup in the robust parser
2012-04-02 19:01:18 +00:00
hallgren
ad8a889894
minibar: better implementation of word replacement
...
Instead of trying to reconstruct the abstract tree from the bracketed string,
use the node numbers (the field called "fid") to identify which node in the
abstact syntax tree a word in the bracketed string corresponds to.
2012-04-02 16:05:11 +00:00
hallgren
d3e809f95b
gf-server.cabal: mtl is needed to build pgf-server now
2012-04-02 15:58:21 +00:00
hallgren
df4183d92e
PGFService.hs: add web API function "abstrjson"
...
Abstract syntax trees are represented as strings in the web API. To make them
easier to manipulate in JavaScript, the new function converts them to JSON.
To support structural editing, the nodes are numbered in the same way as in
the bracketed string created when linearizing an abstract syntax tree.
Example: "Pred (That Fish) Fresh" is converted to
{fun:"Pred",fid:3,
children:[{fun:"That",fid:1,
children:[{fun:"Fish",fid:0}]},
{fun:"Fresh",fid:2}]}
2012-04-02 15:42:43 +00:00
hallgren
58e45457f2
support.js: add an implementation of Array.isArray for older browsers that lack it
2012-04-01 18:23:28 +00:00
hallgren
836b5f6afa
gf.cabal: removing -O2
...
Removing "ghc-options: -O2" from gf.cabal has the following advantages:
+ Compiling GF is faster (time drops from 182s to 142s on my laptop)
+ Compiling the RGL is faster (time drops from 159s to 155s on my laptop)
+ Without the hardwired optimization level, the 'cabal configure' options
--enable-optimization=<n> and --disable-optimization work as expected
(so if you still want -O2, use --enable-optimization=2)
+ GF can be compiled with ghc-7.2.2 and ghc-7.4.1 (-O2 triggers a bug in
these versions of ghc, it seems. Another workaround, discovered by
Sergei Trofimovich, is to use -O0 in Data.Binary.)
2012-03-30 15:07:12 +00:00
aarne
eb4a3aa766
started hungarian project
2012-03-30 09:22:52 +00:00
hallgren
7114c59827
gfse&minibar: work in progress on grammar extension fromminibar
2012-03-29 17:10:36 +00:00
hallgren
bb44210ff0
gfse: show an informative error message in browsers that lack support for localStorage
2012-03-29 14:11:38 +00:00
virk.shafqat
4fd6d6b0c4
extraParadigmsHin
2012-03-29 09:06:24 +00:00
john.j.camilleri
ee868b2580
GFEP: page is now valid HTML and uses the gf.org stylesheet
2012-03-28 12:52:12 +00:00
hallgren
8195c36f6f
Workaround for bug in ghc-7.2.2
...
An apparent bug in ghc-7.2.2 causes the type Value to be exported from PGF.Data.
Workaround: restrict the imports from PGF.Data in GF.Command.Abstract and
GF.Compile.GeneratePMCFG to avoid the clash with locally defined type Value.
(ghc-7.0.4 and ghc-7.4.1 appear to be free from this bug.)
2012-03-26 23:56:56 +00:00
Sergei Trofimovich
73040e9c50
compiler/GF/Text/Coding.hs: fix build failure against ghc-7.2
2012-03-26 20:48:57 +00:00
Sergei Trofimovich
4404be284d
Fix List.foldl / Map.foldl ambiguosity
...
Fixes the following error:
src/runtime/haskell/PGF/Expr.hs:111:14:
Ambiguous occurrence `foldl'
It could refer to either `List.foldl',
imported from `Data.List' at src/runtime/haskell/PGF/Expr.hs:27:1-24
(and originally defined in `GHC.List')
or `Map.foldl',
imported from `Data.Map' at src/runtime/haskell/PGF/Expr.hs:28:1-40
2012-03-26 20:18:23 +00:00
hallgren
3f1f9211db
minibar: support for adding grammars from several servers to the grammar menu
...
You can also add grammars from several directories on the same server of course.
The included minibar configuration file adds the user's own grammars from the
grammar editor.
2012-03-26 17:17:54 +00:00
hallgren
833f72b2e1
gfse: enable word replacement in minibar when activated from the editor
2012-03-26 17:13:40 +00:00
hallgren
ecd6d193ce
gfse&minibar: fix bug caused by function name clash
...
+ Function div_id was defined in both editor.js and support.js. Solution:
moved the more general version from editor.js to support.js.
+ Function div_class was defined in both editor.js and support.js. Solution:
resolv incompatibility with an argument type test and put the generalized
function in support.js.
2012-03-26 17:08:29 +00:00
hallgren
dc67d6015e
gf-book: apply GF style sheet
...
Also brought index.txt and index.html back in sync. (It looks like someone
updated index.html instead of updating index.txt and regenerating index.html.)
2012-03-26 15:02:15 +00:00
hallgren
402ec51ac4
doc/icfp-2012.t2t: link back to ICFP 2012 web site
2012-03-23 13:27:08 +00:00
hallgren
4d28af9352
GF home page: News: GF Tutorial at ICFP 2012
2012-03-23 13:20:58 +00:00
hallgren
68b8a78e76
minibar: word-for-word replacement fixes
...
Check that the reconstructed abstract syntax tree is type correct before
enabling word-for-word replacement. Show an error message if word replacement
nevertheless fails.
2012-03-22 14:33:42 +00:00
hallgren
f899d54057
pgf_online.js: error callbacks
...
To enable customized error handling, the methods in the pgf_online objects and
the AJAX server call functions in support.js accept an error callback function
as an extra argument, in addition to the callback (continuation) for normal
results.
2012-03-22 14:09:53 +00:00
john.j.camilleri
891ef8e08a
GFEP: updated readme
2012-03-22 08:51:37 +00:00
john.j.camilleri
6c195eaf3d
GFEP: updated readme
2012-03-21 10:00:24 +00:00
aarne
63cc2fc6e8
Cond and Fut Simul in Dut and Afr fixed
2012-03-20 23:00:46 +00:00
hallgren
45ba976e3e
ICFP 2012 tutorial page: use the GF stylesheet for a consistent look
2012-03-20 14:04:57 +00:00
hallgren
e988171c5c
minibar: word-for-word replacement fix
...
Turn off the highlighting that indicates that word-for-word replacement is
enabled when it is no longer available (e.g if a word is deleted and there no
longer is a complete parse).
2012-03-19 15:24:35 +00:00
hallgren
053a29bd67
minibar: fix for recently introduced bug affacting Webkit browsers
...
It seems that in Gecko browsers, the effect of "with(x) stmts" reaches inside
the bodies of local functions in stmts, but in Webkit browers it does not.
2012-03-19 15:15:47 +00:00
john.j.camilleri
476c8cd59e
GFEP: added more images for readme
2012-03-19 13:45:04 +00:00
john.j.camilleri
ec5f5ed86d
GFEP: Added video tutorial
2012-03-19 12:48:30 +00:00
hallgren
253244bad9
minibar: don't try to select the most recently used grammar if it isn't in the current grammar list
2012-03-19 00:35:10 +00:00
hallgren
3398e1060b
minibar: automatically select the most recently used grammar when returning to the minibar
2012-03-18 23:54:50 +00:00
hallgren
c234e58a6a
PGF run-time library: function names in BracketedString (experimental)
...
+ Make room for function names in the BracketedString data structure.
+ Fill in function names when linearizing an abstract syntax tree to a
BracketedString.
+ Fill in wildCId when it is not obvious what the function is.
+ Function bracketedLinearize: for compatibility with the other linearization
functions, return Leaf "" instead of error "cannot linearize".
+ Export flattenBracketedString from module PGF.
+ PGFServce: make function names available in the JSON representation of
BracketedString.
2012-03-18 20:12:26 +00:00
hallgren
c62a015eca
minibar: word-for-word replacement (experimental)
...
The new functionality also needs some new PGF service functionality, which will
be provided in a separate patch.
2012-03-18 20:02:11 +00:00
hallgren
2b845b49e4
Cloud service start page layout fix for small screens
2012-03-17 16:23:54 +00:00
aarne
9fc7b4ae54
icfp tutorial web page
2012-03-17 14:13:42 +00:00
hallgren
7de13a100c
Adding a .ghci file to make it easier to load GF in ghci.
2012-03-16 14:01:29 +00:00
hallgren
661d7edfe7
PGFService.hs: command=browse can now produce output in JSON format.
...
To get JSON output, add the parameter format=json. The JSON structure contains
the output from the function PGF.browse.
The default is format=html for backwards compatibility.
2012-03-16 13:55:19 +00:00
aarne
0e70fc8d14
e/ed in Ita
2012-03-14 14:39:07 +00:00
aarne
0f5445d887
OVS in ExtraFin
2012-03-14 09:58:06 +00:00
kr.angelov
2bf3f22fac
libpgf: a new implementation for literals which also allows custom literals. the same mechanism is now used for the metavariables
2012-03-12 14:25:51 +00:00
kr.angelov
c1b2246fa9
libpgf: added simple lexer
2012-03-09 09:14:44 +00:00
hallgren
f5737e8222
minibar: add an option to make it easy to select png or svg output
...
for abstract synax trees, parse trees and word alignment diagrams.
2012-03-08 15:30:31 +00:00
hallgren
b3a66202ae
GF home page: direct link to Issues
...
"Wiki" is a word with very low information scent: there is no way to know
what type of informaiton is hiding behind the Wiki link, e.g., that there is
a bug tracker (or an FAQ), so not many users will click on it.
2012-03-08 15:24:26 +00:00
aarne
c721c3d8ec
mkV 2 in Swe
2012-03-08 14:14:28 +00:00
hallgren
5837ba990b
gf.cabal: update version number to 3.3.3-darcs
2012-03-08 13:03:25 +00:00
hallgren
7091ba131a
PGFService.hs: add output format option to the commands abstrtree, parsetree and alignment
...
Supported output formats: gv, png, svg.
2012-03-08 11:25:15 +00:00
aarne
988d171bed
added Fre mkV with 2 args
2012-03-08 12:36:59 +00:00
kr.angelov
1da464a4cc
libpgf: implementation for built in literal categories
2012-03-07 16:39:29 +00:00
kr.angelov
bf81c0f77f
libpgf: simple fix in the parser debugger
2012-03-07 12:23:07 +00:00
kr.angelov
e871330665
libpgf: two APIs - one for finding all parse results and another for finding the best parse result
2012-03-07 11:00:17 +00:00
hallgren
5a43e69f30
gfse: small usability improvements
2012-03-06 23:04:36 +00:00
john.j.camilleri
28f8545efa
GFEP: updated page
2012-03-06 12:07:51 +00:00
aarne
2f5ce9de5a
added Pes to the list of langs in make Symbolic
2012-03-06 07:20:31 +00:00
aarne
af21bdc48c
some Dutch verbs
2012-01-12 16:13:01 +00:00
hallgren
1b4f1863c6
gfse: more helpful hints about grammar parts and RGL modules
2012-03-05 21:12:33 +00:00
hallgren
61be155fc3
gfse: bug fix: avoid hickup when inhertiting from a missing concrete syntax
2012-03-05 20:47:52 +00:00
hallgren
139e90b2e1
gf-server.cabal: always build the fastcgi module (pgf-server), lower version requirement on the cgi package
...
+ The flag fastcgi is removed: building the fastcgi is the main purpose of
this cabal file again.
+ pgf-http superseded by gf-server, but is still available as an option
+ Require cgi>=3001.7.3 instead of cgi>=3001.8.0.
2012-03-05 16:38:54 +00:00
john.j.camilleri
2c8f4ec075
GFEP: Updated readme, more screenshots
2012-03-05 15:17:15 +00:00
aarne
c3ef27293a
Phrasebook now compiles for Hin and Pes
2012-03-05 15:13:28 +00:00
aarne
487acccef5
some additions to help compile PhrasebookUrd and Pes
2012-03-05 13:28:56 +00:00
aarne
bf0187b33f
some pronoun forms in Ita fixed once mor
2012-03-02 13:37:40 +00:00
hallgren
7c6ea86357
minibar: tool tip on the feedback button and hint in the feedback form
...
that the user should select a language from the To: menu to suggest a better
translation to a particular language.
2012-03-05 14:54:42 +00:00
virk.shafqat
412dcf41f0
extrahin
2012-03-05 14:02:15 +00:00
kr.angelov
791a1a17b0
libpgf: now all concrete functions and categories are explicitly linked to their abstract counter parts
2012-03-05 12:59:31 +00:00
john.j.camilleri
94e29b65d0
GFEP: more screenshots
2012-03-05 11:50:20 +00:00
john.j.camilleri
439b5a25c9
GFEP: updated readme
2012-03-05 10:39:14 +00:00
john.j.camilleri
59142b0caa
GFEP: updated screenshots
2012-03-05 10:37:25 +00:00
john.j.camilleri
a833668c3b
GFEP: updated examples
2012-03-05 09:50:29 +00:00
virk.shafqat
aaae004e5e
HinPesPhrasebook
2012-03-05 09:46:05 +00:00
virk.shafqat
2617a29867
refinements
2012-03-05 09:33:23 +00:00
hallgren
b6736ae159
Update home page and download page for GF 3.3.3 release
2012-03-03 11:53:10 +00:00
kr.angelov
fdf6dd7798
libpgf: preliminary version for the statistical ranking. we use naive statistical model with random weight for the meta variables.
2012-03-02 19:25:01 +00:00
hallgren
c2289b5f21
GF download page: Windows binary package added
2012-03-02 17:54:38 +00:00
kr.angelov
79c7141973
libpgf: simple optimization in the implementation for heaps
2012-03-02 17:43:46 +00:00
hallgren
a4ed7a17f7
GF 3.3.3 download page: initial set of binary packages added
2012-03-02 16:12:51 +00:00
peter.ljunglof
c867909e70
added HTML readme file to fracasbank
2012-03-02 14:57:44 +00:00
hallgren
993380720e
Fix release notes typos
2012-03-02 13:43:02 +00:00
hallgren
b401b1087e
Updated GF 3.3.3 release notes
2012-03-02 13:33:37 +00:00
hallgren
8c29d8247a
gf.cabal: update version number to 3.3.3
...
but I am not tagging it yet, there is still time for some changes
2012-03-02 10:57:08 +00:00
hallgren
7458562652
Update doc/gf-help-full.txt
...
* echo help -full -t2t | gf -run >doc/gf-help-full.txt
* Insert 3 empty lines first in the file.
2012-03-01 19:39:42 +00:00
hallgren
2394a09cc0
gfse: bug fix
...
Fix a problem opening grammars created before grammar extension was introduced.
2012-03-01 18:11:58 +00:00
hallgren
ec04f9118c
WebSetup.hs: avoid ? wildcards because of odd behaviour under Win32
...
There is some discussion here: http://www.xxcopy.com/xxcopy18.htm
2012-03-01 16:33:32 +00:00
hallgren
c48e7aab7c
doc-phrasebook.txt: update link to minibar doc
2012-03-01 15:53:22 +00:00
hallgren
127d8ccbd5
doc-phrasebook.txt: update hyperlinks
...
Link to www.grammaticalframework.org instead of code.haskell.org/gf.
2012-03-01 15:45:05 +00:00
hallgren
4d4aefebdd
GF home page minor style update
2012-03-01 14:51:16 +00:00
hallgren
9260797e6b
Setup.hs: include Hindi and Thai by default in RGL builds
2012-03-01 14:25:41 +00:00
hallgren
9f6dc5e6e5
WebSetup.hs: use </> instead of '/' for Win32 compatibility
2012-03-01 14:21:47 +00:00
hallgren
8df2f298b5
Rename FoodsThai.gf back to FoodsTha.gf
...
so that it is included by default when building Foods.pgf for gf -server mode.
2012-03-01 13:53:48 +00:00
kr.angelov
862e89db8d
libpgf: an API for building heaps from buffers in gu/seq.c
2012-02-29 18:51:21 +00:00
hallgren
1fed3349f7
gfse & minibar: minor style adjustments
2012-02-29 17:37:13 +00:00
hallgren
4ae34abd04
gf -server: update start page, add links to some documentation
2012-02-29 17:05:45 +00:00
hallgren
74b643bfc3
gfse: add missing file sort.js to the repository
2012-02-29 16:36:28 +00:00
hallgren
cc2299dde7
PGFService.hs bug fix: pattern match failure in doParse
...
doParse was missing a branch for PGF.ParseIncomplete.
Also introduced the operator .= to simply the code that builds JSON objects.
2012-02-29 16:21:34 +00:00
hallgren
c73d252155
Updated GF 3.3.3 release notes
2012-02-28 17:47:10 +00:00
kr.angelov
aca0bd5ee5
libpgf: the first prototype for the robust parser
2012-02-29 14:43:08 +00:00
kr.angelov
65a69cab91
libpgf: the choice object should remember integers instead of single bytes
2012-02-29 13:41:59 +00:00
john.j.camilleri
aae0ddc22a
Minor updates to Maltese RGL
...
removed "definiteness" as a noun param; articles should be treated separately.
2012-02-29 08:33:56 +00:00
hallgren
eb1b4ecf3f
gfse: Translation Quiz integration
...
Also moved the translation quiz from demos/TransQuiz to src/www/TransQuiz so
that it will be installed by 'cabal install' along with the other files that
are installed for use by gf -server mode.
2012-02-28 17:24:34 +00:00
hallgren
a68331d287
gf -server mode: JSONP support for grammar lists
...
Needed by the translation quiz.
2012-02-28 17:20:59 +00:00
kr.angelov
e0bf3c0a07
libpgf: another fix in the parser debugger
2012-02-28 16:37:12 +00:00
hallgren
725747ef62
GF 3.3.3 release notes: mention the new RGL languages
2012-02-28 15:53:08 +00:00
aarne
8b07c2607d
bug fix in AppPredefined: don't compare values that contain variables. this should be checked even more generally.
2012-02-28 15:13:32 +00:00
hallgren
d5cf95bbbd
Updates for the GF 3.3.3 download page
2012-02-28 14:51:09 +00:00
kr.angelov
9536cecae8
libpgf: the time measurement in pgf-translate should be made after pgf_parse_result for more accurate timing
2012-02-28 13:14:24 +00:00
kr.angelov
3aa26948de
libpgf: fix in the parser debugger
2012-02-28 13:12:38 +00:00
john.j.camilleri
15b3da98c6
Updated 3.3.3 release doc
...
Added link to GFEP page.
2012-02-28 12:56:31 +00:00
hallgren
7445ca2ae5
Adding release notes and download page for version 3.3.3
...
Feel free to add to the release notes!
2012-02-28 11:02:08 +00:00
kr.angelov
df0fe4363d
buf fix in the compiler for HOAS
2012-02-28 08:10:47 +00:00
aarne
6eaf59d102
fixed Italian loro->li
2012-02-28 07:55:38 +00:00
hallgren
ae6ec34337
gfse: recognize Predef categories Int, Float and String
...
but don't show them in the startcat menu.
2012-02-27 17:18:05 +00:00
hallgren
6191dc4f51
gfse: text mode improvements
...
+ Preserve the startcat flag.
+ Preserve judgement order when possible (GF's parser does not preserve order
and does not record exact source locations, only line numbers)
2012-02-27 16:50:06 +00:00
kr.angelov
9604f3623a
libpgf: pretty printing for expressions with metavaraibles
2012-02-27 13:50:35 +00:00
hallgren
e0963de363
Phrasebook feedback: hide feedback submitted by Googlebot
2012-02-27 13:18:03 +00:00
aarne
08f17194f8
Hin and Snd in MiniGrammar demo
2012-02-25 09:53:09 +00:00
hallgren
fc784e92df
gfse: text mode editing: accept grammars with printname judgements
...
But printname judgements are ignored for now.
Also fixed an UTF-8 encoding bug when parsing uploaded grammars in gf -server
mode.
2012-02-24 17:12:38 +00:00
hallgren
8b33d91317
GF home page: News: Hindi, Sindhi
2012-02-24 15:42:57 +00:00
hallgren
69066a7ecd
gfse: text mode tweaks
2012-02-24 15:16:37 +00:00
kr.angelov
695c776065
libpgf: fix in pgf_read_into_map
2012-02-24 15:15:07 +00:00
kr.angelov
0faffc6ffd
libpgf: simple fix in the grammar printer and the reader
2012-02-24 13:52:21 +00:00
aarne
a3cab384e3
resource status updated
2012-02-24 10:04:12 +00:00
aarne
dbcf503472
New synopsis with Hindi and Sindhi
2012-02-24 10:01:43 +00:00
aarne
5e64690949
Hindi and Sindhi in resource Make
2012-02-24 10:01:02 +00:00
aarne
a777481313
the Predef function eqVal to compare equality of parameter values
2012-02-24 10:00:27 +00:00
hallgren
643b7ee0e4
demos/index.html: some demos are not new anymore
2012-02-23 16:48:34 +00:00
hallgren
9dbe4ba41a
src/server/ContentService.hs: fix compilaton problem
2012-02-23 16:46:21 +00:00
virk.shafqat
3daf76c559
code-cleaning-hindi
2012-02-23 14:32:55 +00:00
virk.shafqat
c75bf50ec7
urdu-hindi-numeral
2012-02-23 14:07:36 +00:00
virk.shafqat
1695d265de
hindi-api
2012-02-23 13:55:57 +00:00
virk.shafqat
9aede98c7f
hindi-resource-grammar
2012-02-23 13:36:50 +00:00
kr.angelov
f1d2852c4d
libpgf: now we have both complete bottom up index for robust parsing and fast lexical lookup from the same index
2012-02-22 21:27:54 +00:00
hallgren
4eaa41eaf0
gfse: layout fix
...
Style options inteded for some buttons used in example-based editing was
unintensionally applied to some other OK/Cancel buttons as well.
2012-02-22 16:45:46 +00:00
hallgren
39c1b5a5fa
gfse: experimental support for editing concrete syntax in text mode
2012-02-22 16:30:42 +00:00
hallgren
51432622ef
gfse: some refactoring
2012-02-22 14:12:31 +00:00
kr.angelov
440b208144
libpgf: two small fixes in the parser debugger
2012-02-22 14:06:49 +00:00
kr.angelov
831de53573
libpgf: the map curr_lindefs must be allocated from a temporary pool
2012-02-22 08:49:08 +00:00
kr.angelov
dc4c3d3b28
libpgf: added index for fast lexicon lookup. Still not perfect
2012-02-21 21:17:50 +00:00
kr.angelov
eff8e1134a
utils/pgf-translate now reports the parsing time
2012-02-21 20:17:18 +00:00
kr.angelov
f7fa0395be
fixes in the script for the conversion of PennTreebank
2012-02-21 17:26:04 +00:00
kr.angelov
516c31835b
extensions to DictEng
2012-02-21 17:25:23 +00:00
hallgren
b35b48a701
gfse: edit abstract syntax in text mode with instant syntax error reporting
...
This is an experimental feature. It requires server support for parsing and is
thus not available while offline, unlike most other editing functionality.
2012-02-21 16:58:18 +00:00
john.j.camilleri
8c00c7bcd6
Maltese RGL: removed 'case' inflections from nouns
2012-02-21 14:39:19 +00:00
virk.shafqat
cf221bd363
Sindhi-resource-grammar
2012-02-21 09:20:38 +00:00
virk.shafqat
14e0237950
sindhipatch
2012-02-21 09:02:42 +00:00
hallgren
b19f57df0f
GF.Inra.UseIO: add instance Functor IOE, add method fail to instance Monad IOE
2012-02-20 17:26:49 +00:00
normundsg
1966ce5eb6
Latvian: 1) added some extra things that are used by the Attempto grammar; 2) added notpresent tags; 3) compiles with Setup.hs and lib/src/Make.hs
2012-02-20 02:42:07 +00:00
kr.angelov
30d3fc8b4d
libpgf: now the debugging mode for the parser is available only with compilation option.
2012-02-18 19:30:16 +00:00
kr.angelov
0f7b3ed9f4
libpgf: remove the now redundant field extra_ccats in PgfConcr
2012-02-18 16:25:53 +00:00
kr.angelov
0147885e2f
libpgf: now the linearization index is created during the grammar loading which also makes the types PgfLzr and PgfParser redundant.
2012-02-18 16:22:40 +00:00
kr.angelov
75b724ab54
libpgf: simplify the loading of PgfCncCat
2012-02-17 14:26:08 +00:00
kr.angelov
1bb13787a7
libpgf: added printer.c
2012-02-17 14:11:29 +00:00
hallgren
3d9760d90d
gfse: when uploading/compiling a grammar, automatically upload inherited grammars as well
2012-02-17 16:07:28 +00:00
hallgren
b6104d4a29
gfse: bug fix
...
...in the function that computes the transitive closure of the grammar
inheritance relation.
2012-02-16 17:05:12 +00:00
hallgren
ce9fbc964f
gfse: you can now remove grammars from the list of inherited grammars
2012-02-16 16:44:44 +00:00
hallgren
961290d651
gfse: style sheet fixes
2012-02-16 16:17:34 +00:00
hallgren
2ad8625dbe
gfse: more work on grammar extension
...
Grammars can now inherit from several other grammars.
Hovering over a catagory name in a function type in the abstract syntax
shows where the category was inherited from.
2012-02-15 17:35:09 +00:00
hallgren
739cdf56e9
minibar_translations.js: bug fix
...
Two methods used the global variable p instead of declaring a local variable p.
This caused the function p (that constructs HTML <p> elements) in support.js
to suddenly be redefined as a number.
2012-02-15 17:23:52 +00:00
hallgren
208a5ffc45
gfse: make categories from inherited grammars available in the startcat menu
2012-02-14 17:18:06 +00:00
hallgren
08b661bb59
gfse: bug fix in grammar download from cloud
2012-02-13 19:23:52 +00:00
hallgren
aab3e37146
Recording changes in automatically generated HTML files on the server
2012-02-13 18:19:51 +00:00
hallgren
0e06a04f1a
gfse & minibar: small fixes
2012-02-13 18:11:46 +00:00
hallgren
aa3c11ba9b
minibar: fix problems with the feedback form
2012-02-13 17:58:06 +00:00
hallgren
5e915fe766
gfse: better integration of the minibar
...
The minibar is now displayed inside the editor, intead of on a separate page.
This makes the context clearer and makes it more obiovous how to return to the
editor.
2012-02-13 17:31:39 +00:00
hallgren
facdfb6373
minibar: bug fix: accidental reference to global variable "server"
2012-02-13 17:25:37 +00:00
hallgren
c4406c146a
gfse: added a button to go directly from the editor to the minibar
...
If there is an error in the grammar, the error message is shown below the
grammar instead.
Also: GFServer.hs now returns compiler output in a JSON structure instead of
as a HTML page.
2012-02-13 15:24:05 +00:00
hallgren
53e5308d74
gfse: stay on the same page when compiling grammars
...
The link to the minibar (or compiler errors) are now shown below the grammar
on the same page. If you go to the minibar, you only have to press the back
button once to get back to the editor.
Also some output formatting changes in GFServer.hs.
2012-02-10 17:26:02 +00:00
hallgren
a6acb994e8
gfse&minibar: select the right grammar in minibar when invoked from gfse
...
The grammar that the user is currently working is now the one shown initially
in minibar, instead of the first grammar in alphabetical order.
Also GFServer.hs now removes absolute paths to the grammar files on the server in error messages from GF returned to to gfse.
2012-02-10 15:24:59 +00:00
hallgren
196d17c961
gfse: bug fix: syntax check in concrete syntax wasn't working
...
In newer versions of GF the shell says "syntax error" instead of "parse error".
2012-02-10 13:38:24 +00:00
aarne
78e41a193f
Afrikaans fixes by Laurette and Laurette
2012-02-10 08:22:37 +00:00
hallgren
86d5973b2e
gfse: initial support for module extension
...
There is a new way to create a new grammar based on an existing grammar:
by extending it. (It is also possible to clone an existing grammar, a before.)
2012-02-09 18:00:36 +00:00
hallgren
4079e1b413
gfse: document the representation of GF grammars used by the editor.
2012-02-07 17:27:23 +00:00
john.j.camilleri
ec12036165
Updated GFEP page
2012-02-08 13:28:17 +00:00
john.j.camilleri
6d0ca0e58b
Udpated GFEP readme
2012-02-02 08:55:31 +00:00
hallgren
28c2a4ce5e
gf -server: better error message for requests with unsupported HTTP methods
2012-02-01 17:34:23 +00:00
hallgren
4c1c115217
gf -server: fix bug that caused '+' to be converted to ' ' in uploaded grammars
...
Fixed buggy workaround for bug in httpd-shed function queryToArguments.
2012-02-01 17:17:46 +00:00
hallgren
ac5ee00e21
GF home page: adding an experimental site search box
2012-01-31 14:18:00 +00:00
john.j.camilleri
171e4851b9
Updated GFEP page
2012-01-31 14:08:41 +00:00
peter.ljunglof
f275db930c
Added the FraCaS Treebank to the examples
2012-01-27 22:56:14 +00:00
kr.angelov
92cbbe9173
libpgf: switch to using callbacks and lazy prediction in the parser. this reduce the parsing time from 11 sec down to 3 sec.
2012-01-26 12:32:26 +00:00
kr.angelov
0e05fc08d5
libpgf: use a temporal pool for allocating the arrays in the continuation map of the parser
2012-01-26 09:03:08 +00:00
kr.angelov
469d8cf804
libpgf: fix a warning in reader.c
2012-01-26 08:58:23 +00:00
kr.angelov
51def0c381
libpgf: fix in string.h
2012-01-26 08:58:03 +00:00
kr.angelov
b62d57fd30
libpgf: few fixes to make the loading of grammars with def rules possible
2012-01-24 14:47:11 +00:00
kr.angelov
5b96b55184
libpgf: extra_ccat is now redundant and was removed
2012-01-23 19:47:08 +00:00
kr.angelov
81191787fe
libpgf: forgot to add utils/pgf-print.c
2012-01-23 16:34:02 +00:00
kr.angelov
d8cfb13715
pgf-translate: add \n at the end of two error messages
2012-01-23 15:51:37 +00:00
kr.angelov
21dee01c9d
libpgf: debugging framework for the parser
2012-01-23 15:49:29 +00:00
kr.angelov
f2cfa9888e
libpgf: the concrete categories were allocated from the temporary pool
2012-01-23 13:43:17 +00:00
kr.angelov
e9014902ef
libpgf: printing of literals and flags
2012-01-23 10:17:20 +00:00
kr.angelov
c5b4e5388a
libpgf: move the lindefs field from PgfCncCat to PgfCCat. display the list in the grammar printout
2012-01-23 09:46:45 +00:00
kr.angelov
64a00dad48
added an API for printing the PGF to human readable format
2012-01-21 10:27:55 +00:00
kr.angelov
1acb722ba2
fix the crash in the reader when there aren't any productions per category.
2012-01-21 10:25:43 +00:00
kr.angelov
a369d3bdac
initial import of the C runtime
2012-01-20 13:41:10 +00:00
john.j.camilleri
2fd04e0797
Updated instructions for gedit editor mode
2012-01-23 12:57:08 +00:00
john.j.camilleri
dc18f71049
Updated GFEP readme
...
Added details about updates sites in installation instructions
2012-01-23 08:53:28 +00:00
john.j.camilleri
a382786fa1
Updated GFEP readme
2012-01-20 15:35:09 +00:00
john.j.camilleri
04edef03d8
Updated GFEP readme
2012-01-18 13:47:23 +00:00
john.j.camilleri
948dd4c097
Added GFEP snapshots folder
...
Nothing in this folder will be placed under darcs version control.
2012-01-18 13:39:15 +00:00
john.j.camilleri
c08b1eab0a
Removed GFEP releases from darcs
...
They will still be available online at the same URL, but it was becoming messy having the jars under version control.
2012-01-18 13:31:40 +00:00
Nikita Frolov
c92224e9b4
Another batch of small Russian Phrasebook fixes
2012-01-16 22:31:02 +00:00
Nikita Frolov
23f8ebe76e
The final fix of noun phrases with cardinal numbers in Russian
...
The support for variation of the noun depending on what cardinal it is
used with seems to be complete by now ("one child - two children -
five children" - Russian has different plural forms for "a child" when
counting). The case agreement in noun phrases that have additional
determiners besides numerals ("three little blind mice") is fixed too.
2012-01-16 17:15:08 +00:00
aarne
8936c6d38e
sorted the list of funs and cats in GrammatToPGF to get the predef categories in proper place and get gr, ai, gt work properly
2012-01-14 17:06:54 +00:00
john.j.camilleri
b6297cc7d7
Updated GFEP page
2012-01-11 14:07:36 +00:00
john.j.camilleri
dff4d2602b
GFEP Release 1.2.3
2012-01-11 12:57:45 +00:00
john.j.camilleri
ba1efe93d0
GFEP Release 1.2.3
2012-01-11 12:54:13 +00:00
john.j.camilleri
970c6d705e
Updated GFEP readme
2012-01-11 08:02:47 +00:00
kr.angelov
52f7e703ea
the translation script from the Penn format to GF RGL is now in examples/PennTreebank
2012-01-10 19:36:28 +00:00
john.j.camilleri
0360a44675
Added new GFEP release
2012-01-10 16:26:27 +00:00
john.j.camilleri
a4c62cad0b
Cleared old GFEP release
2012-01-10 16:24:49 +00:00
john.j.camilleri
2df83d01ff
GFEP Release 1.2.2
2012-01-09 07:59:21 +00:00
john.j.camilleri
3bc52936e2
Regenerated status.html
...
(since I guess it is not re-generated autmatically)
2012-01-04 08:35:28 +00:00
john.j.camilleri
749d81b48f
Indicated in status file that Maltese RG code is now in darcs
2012-01-03 13:10:35 +00:00
john.j.camilleri
41423dfc32
Added Maltese RG (compiles but far from complete)
2012-01-03 13:07:43 +00:00
john.j.camilleri
ff81ecc2fd
Added Maltese (Mlt) to status document
...
The Maltese RGL is still far from complete, but I want to avoid someone starting one from scratch because they thought no one has started working on Maltese (it seems this has already happened at least once before).
2012-01-03 12:23:46 +00:00
Nick Frolov
2ff1d34c86
A Russian dictionary
...
A Russian dictionary generated from a wordlist created by the FreeLing
project. The accompanying converter can be used to convert other wordlists in
EAGLES format to GF grammars.
2011-12-31 02:36:24 +00:00
aarne
4bf634ffcd
Latvian and Thai on language list in GF index
2011-12-29 08:50:33 +00:00
aarne
10000e5879
added Latvian to RGL synopsis
2011-12-29 08:47:23 +00:00
john.j.camilleri
ab8240e7c3
Removed GFEP section from GF Editor Modes page
2011-12-28 14:01:24 +00:00
jordi.saludes
2d6d969a60
Fixing 'linearize' in py-bindings/test.py
2011-12-22 21:29:45 +00:00
jordi.saludes
9c467e1b40
Changed 'lin' method name to 'linearize' (py-bindings).
2011-12-08 13:08:36 +00:00
jordi.saludes
ac35539c30
Added an example file as documentation for py-bindings.
2011-12-08 13:05:23 +00:00
jordi.saludes
550cbe764c
Added parser completions to py-bindings.
2011-12-07 18:09:33 +00:00
kr.angelov
5bbd1d6f73
the parser now use nub instead of nubsort which means that the abstract syntax trees will be returned lazily
2011-12-19 13:10:33 +00:00
Nick Frolov
d9502fa575
A tested grammar for Russian participles and gerunds. Several verbs of mixed conjugation are not covered yet, though.
2011-12-22 14:43:40 +00:00
normundsg
cd671c58a9
Latvian API compiles! Does it? :)
2011-12-19 14:11:46 +00:00
Nick Frolov
1f7be86dd2
A fix to an overlooked bug (thanks to John for reporting)
2011-12-19 09:27:53 +00:00
normundsg
d00b425206
Latvian RG: approaching RGL API
2011-12-19 06:03:21 +00:00
Nick Frolov
342ba2e070
A tested version of Numerals
...
A bug is known in NP case agreement. The fix does not belong to this part of the resource grammar.
2011-12-14 16:22:43 +00:00
hallgren
20b4ff07e3
gf -server[=port]
...
You can now specify which port the HTTP server should run on in server mode.
The default is 41296.
2011-12-14 15:28:27 +00:00
hallgren
c2b5aba409
gf-bib.bib: added EACL 2009 and ACL 2010 entries from gf-bibliography.t2t
2011-12-14 15:26:05 +00:00
hallgren
e9526a5af3
gf-bibliography.t2t: fixed a typo
2011-12-14 15:25:09 +00:00
hallgren
9dccff4cf7
gf -server mode improvements
...
+ Avoid looping if it is not possible to create a new server directory.
+ Work on FastCGI support using the direct-fastcgi package (commented out
for now because of buggy behavior).
2011-12-14 15:11:13 +00:00
aarne
f37c46a5a9
script for making phrasebook with Thai pronunciation
2011-12-09 18:49:03 +00:00
aarne
194d0f455a
last-minute fixes for Thai Phrasebook
2011-12-09 13:05:41 +00:00
aarne
2cc65efff8
adjustments in Phrasebook and synopsis
2011-12-08 14:04:42 +00:00
kr.angelov
c20745480f
Now graphvizAbstractTree suppress the visualization of implicit arguments.
2011-12-08 09:18:38 +00:00
aarne
4610c8eb0c
Nui's corrections to Synopsis examples and Phrasebook; a logo for Thai
2011-12-06 21:36:38 +00:00
kr.angelov
dcb04d029f
Phrasebook is updated for Bulgarian
2011-12-06 13:54:25 +00:00
aarne
25c9dabd02
diverse RGL and Phrasebook fixes, and a corrected Synopsis
2011-12-05 15:25:06 +00:00
aarne
d5623f9d67
adjustments in Thai pronunciation
2011-12-05 09:36:26 +00:00
aarne
89806a05d9
updates in RGL status and synopsis
2011-12-04 19:02:30 +00:00
aarne
1fd47d1213
Male/Female greetings distinguished in Phrasebook
2011-12-04 18:09:02 +00:00
aarne
269ca955e1
Nui's additions to LexiconTha
2011-12-04 18:08:18 +00:00
aarne
d899b85ef1
exception cases added to ThaiScript
2011-12-04 09:49:28 +00:00
aarne
e2c6a5db86
typos in WordsTha corrected
2011-12-04 09:49:06 +00:00
aarne
6b07bc3df9
refactored ThaiScript by introducing a datatype of Thai characters - script to pronunciation is now more reliable
2011-12-03 18:17:36 +00:00
aarne
caf5c39300
StructuralTha complete with recent extensions (but to be checked)
2011-12-03 15:39:20 +00:00
aarne
f823793a53
make thaidroid: a Phrasebook with Thai pronunciation
2011-12-03 12:08:19 +00:00
aarne
dfce0ef551
a script for generating Thai files with pronunciation
2011-12-03 12:07:46 +00:00
aarne
9e1a3a5d60
a script for comparing the synopsis examples of two languages
2011-12-03 10:08:41 +00:00
aarne
fbd12b72d5
completed StructuralTha (almost)
2011-12-03 10:08:00 +00:00
aarne
4e748a4371
the place of negation in Dut and Ger imperatives corrected
2011-12-02 15:44:18 +00:00
kr.angelov
1d72e2de7e
The typechecker is still unfinished but at least it can typecheck the English resource grammar
2011-12-02 12:33:26 +00:00
aarne
e102217dce
how far in PhrasebookTha
2011-12-02 11:15:02 +00:00
kr.angelov
fd4066f69f
in prelude/Coordination.gf Type --> PType
2011-12-02 10:53:49 +00:00
kr.angelov
c953ac4244
missing cases in GF.Grammar.Binary
2011-12-02 09:58:18 +00:00
aarne
b29dbcf3a7
occupations in Phrasebook Eng,Fin,Swe,Tha
2011-12-02 09:50:16 +00:00
aarne
4f46a96ffb
CompBareCN in ExtraScand
2011-12-02 09:49:50 +00:00
aarne
efd2596be3
Nui's grammar error reports implemented in PhrasebookTha
2011-12-01 21:58:42 +00:00
aarne
61951cd43d
suppressed clitics in Cat,Spa imperatives restored; Romance clitics with imperatives are still very broken and seem to need an enrichment of the VP type.
2011-12-01 21:57:11 +00:00
aarne
56f66aa0ab
Thai corrections from Nui
2011-12-01 14:50:43 +00:00
aarne
7d7c9e8ddd
PhrasebookTha corrections from Nui
2011-12-01 14:50:23 +00:00
aarne
37d848202d
imperatives added to Phrasebook (familiar,polite,plural,positive,negative)
2011-12-01 12:51:40 +00:00
aarne
249b391401
workaround in -opt flag to compile Phrasebook
2011-12-01 10:35:54 +00:00
aarne
205fc859f0
new pronoun exceptions carried out in Romance and Finnish in Phrasebook
2011-12-01 09:20:34 +00:00
aarne
12f18aef4d
fixed some genders and numbers of Catalan pronouns; to be revisited
2011-12-01 09:10:35 +00:00
aarne
b9bcbcac6e
politeness parameter in Fre youPl8fem_Pron corrected
2011-12-01 08:48:59 +00:00
kr.angelov
9f777aed7e
Hopefully complete Value type and a little bit more on computations.
2011-11-30 20:56:31 +00:00
aarne
2ba7585f90
splits in Phrasebook Kind category: Drink and Plur; some new words in Tha,Eng,Fin,Swe
2011-11-30 20:24:23 +00:00
aarne
474e77ec7f
controlling the gender in Swe mkN ; not clear if needed
2011-11-30 20:16:07 +00:00
aarne
e54b17bd7d
complete Thai, new Disambiguation items (Romance pronouns to be revisited) in Phrasebook
2011-11-30 15:00:06 +00:00
aarne
62decb1e55
added RGL-functorial concepts to Phrasebook
2011-11-30 10:54:05 +00:00
aarne
5f9c3301b6
Thai phrasebook vocabulary from Nui
2011-11-30 10:53:33 +00:00
aarne
1547ccd7cc
Tha increments
2011-11-30 10:52:59 +00:00
kr.angelov
11a37316da
more stuff in the new type checker
2011-11-30 14:55:52 +00:00
kr.angelov
565ae652e4
typos in Prelude.gf: Type --> PType
2011-11-30 14:55:11 +00:00
kr.angelov
cac5b9ff0d
fix the compilation after the patch for the new type checker
2011-11-29 18:45:51 +00:00
hallgren
6ce2afaa70
Also recording gf-bibliography.html...
...
...although I think in general it is a bad idea to keep automatically generated
files in the source repository.
2011-11-29 15:38:01 +00:00
hallgren
75fbe2c745
gf-bibliography.t2t: add links to PDFs for ACL 2010 and EACL 2011 papers
2011-11-29 15:36:14 +00:00
aarne
9b6086704f
verb negation and auxiliary fixes in Tha
2011-11-29 15:24:59 +00:00
kr.angelov
eaaefe73d0
Sketch of the new type checker for the concrete syntax. Enabled only with -new-comp
2011-11-29 12:12:51 +00:00
john.j.camilleri
8b8d7d7434
Fixed GFEP release
2011-11-29 09:06:43 +00:00
john.j.camilleri
38ef5a9d09
New GFEP release
2011-11-29 09:01:27 +00:00
john.j.camilleri
ce5a55b271
Removed GFEP beta updatesite
2011-11-29 09:00:15 +00:00
john.j.camilleri
6d0e3a12a1
Updated GFEP index page
2011-11-29 08:59:25 +00:00
aarne
e5de02733c
determiners and extrapositions in Tha fixed
2011-11-28 22:10:10 +00:00
hallgren
ebcfad5ec3
gfse: fix bugs and typos
2011-11-28 16:36:51 +00:00
aarne
fe4a933972
some Thai corrections from Nui
2011-11-28 14:34:59 +00:00
john.j.camilleri
3adf577241
Updated GFEP 1.2.0 release
2011-11-25 11:11:30 +00:00
john.j.camilleri
78f084bcc5
Re-added GFEP 1.2.0 release
2011-11-25 10:59:40 +00:00
john.j.camilleri
48ba4f4835
Cleaned up GFEP releases
2011-11-25 10:57:46 +00:00
aarne
865c00b633
added Rus to compilation of MiniGrammar demo
2011-11-24 22:01:23 +00:00
aarne
4388e4444b
added Rus to Phrasebook compilation script
2011-11-24 22:00:57 +00:00
Nick Frolov
31e1a657f9
Symbolic and Nound fixes for Russian
2011-11-24 16:13:08 +00:00
kr.angelov
f1cacffc98
now if some module is compiled with -no-pmcfg then the PMCFG code is generated at the end during the linking phase. Now the default compilation of the libraries with cabal is with -no-pmcfg.
2011-11-24 14:23:04 +00:00
john.j.camilleri
0ad6557968
Updated GFEP readme
2011-11-24 14:03:04 +00:00
john.j.camilleri
75f6e68fd9
Added GFEP release for Thu, 24 Nov 2011 14:52:50 +0100
2011-11-24 13:52:50 +00:00
john.j.camilleri
864b0cc10c
Updated GFEP readme
2011-11-24 13:52:05 +00:00
aarne
dfb8e39933
MinGrammar compilation more robust
2011-11-24 12:44:36 +00:00
kr.angelov
1f174fe04f
make addSequencesB(V) strict. Otherwise we get stack overflow when compiling LangFre
2011-11-22 20:31:58 +00:00
aarne
5147091d60
typos in synopsis generation
2011-11-21 16:36:17 +00:00
aarne
b36a8fdc50
options for no-pmcfg compilation in lib/src/Make.hs (for library developers, rather than users); adding Thai to some demo and documentation
2011-11-21 15:30:55 +00:00
hallgren
6bb1db51e7
gfse: example-based: some usability improvements
...
Instead of showing nothing, show disabled buttons and some expanatory text to
provide guidance for users getting started with example-based grammar writing.
2011-11-21 15:24:29 +00:00
hallgren
a3e813914c
example-based: bug fix: apply UTF-8 decoding to CGI inputs
...
You can now use words with ÅÄÖ when writing Swedish grammars by example...
2011-11-21 15:15:49 +00:00
aarne
58d1968d98
Thai words, in particular those needed for Phrasebook and Synopsis
2011-11-20 19:08:15 +00:00
aarne
8e685af2a4
extending PhrasebookTha; one third left
2011-11-20 19:07:36 +00:00
aarne
90b640d50f
thword used in FoodsThai
2011-11-20 15:09:59 +00:00
aarne
e00054061b
new ResTha oper thword, to build lexical words
2011-11-20 15:08:57 +00:00
aarne
949cbfe535
more words and paradigms in Thai
2011-11-20 13:43:18 +00:00
aarne
6fe2d572fa
some Thai words added
2011-11-19 23:19:02 +00:00
john.j.camilleri
d380ff9f83
Added GFEP release for Fri, 18 Nov 2011 16:31:16 +0100
2011-11-18 15:31:16 +00:00
john.j.camilleri
cc61fc5e40
Updated GFEP index.html
2011-11-18 15:30:34 +00:00
john.j.camilleri
53b638d9a6
Changed GFEP screenshot
2011-11-18 15:21:48 +00:00
kr.angelov
c626262f9a
rebuildModule should do location globalization too
2011-11-17 22:11:56 +00:00
kr.angelov
67aa44a620
bugfix in the overload resolution. It was accidentally introduced as part of the per module PMCFG generation
2011-11-17 21:36:45 +00:00
john.j.camilleri
eb86f566bd
Added GFEP release for Thu, 17 Nov 2011 15:23:02 +0100
2011-11-17 14:23:02 +00:00
john.j.camilleri
324476f64c
Updated GFEP index page
2011-11-17 14:15:52 +00:00
john.j.camilleri
76c5ab3a38
Added new GFEP screenshot for web
2011-11-17 13:40:35 +00:00
aarne
22b95f333c
sorted LexiconTha again
2011-11-16 17:05:53 +00:00
john.j.camilleri
c70ce0c46e
Added GFEP release for Wed, 16 Nov 2011 12:44:59 +0100
2011-11-16 11:44:59 +00:00
aarne
619b5a0f02
changed FoodsTha to FoodsThai (to mark it as unstable)
2011-11-16 10:51:06 +00:00
aarne
378013d62d
ten/teen bug (typo) fix in NumeralSpa
2011-11-15 18:06:43 +00:00
aarne
6dc844ed7f
normalized accents in Thai pronunciation test suite
2011-11-11 21:22:18 +00:00
kr.angelov
79ba3c0877
fix in the versioning of the .gfo files
2011-11-15 19:46:02 +00:00
kr.angelov
1b85355d47
now we store version number in every .gfo file. If the file is compiled with different compiler then we simply recompile it.
2011-11-15 19:12:22 +00:00
kr.angelov
c73bbeabb4
now the pretty printer in GF has a new mode called Internal. This is the most detailed mode and it can print even things that are not in the GF syntax. For example PMCFG snippets and indirections.
2011-11-15 15:55:45 +00:00
kr.angelov
0163942df9
Now the errors messages from GF.Compile.Update also follow the new format
2011-11-15 15:33:52 +00:00
john.j.camilleri
ebac9525f0
Added ResMlt to foods
2011-11-15 14:54:28 +00:00
kr.angelov
f47381e578
the indirections in the .gf-tags files now point directly to the origin of the corresponding indentifiers
2011-11-15 14:30:31 +00:00
kr.angelov
48558197a8
more structured format for errors and warnings from the compiler
2011-11-15 13:33:44 +00:00
kr.angelov
9b482722c3
bugfix in the new PGF generation
2011-11-14 16:27:59 +00:00
kr.angelov
beba7b37f9
remove the -output-file option
2011-11-14 16:10:13 +00:00
kr.angelov
e161f93f4d
the new design for -tags
2011-11-14 16:08:56 +00:00
john.j.camilleri
970d42da2b
Updated readme
2011-11-14 11:23:17 +00:00
john.j.camilleri
33c6dbd8cf
Updated GFEP index page
2011-11-14 10:46:46 +00:00
aarne
df196cebee
regression test for Thai pronunciation
2011-11-10 20:30:41 +00:00
aarne
845bf3f8b3
refactored Thai pronunciation; not perfect yet
2011-11-10 16:15:09 +00:00
kr.angelov
bbe42d1e90
Now PMCFG is compiled per module and at the end we only link it. The new compilation schema is few times faster.
2011-11-10 14:09:41 +00:00
john.j.camilleri
b3390e43bd
Fixed lock field warnings in FoodsMlt
2011-11-10 12:03:15 +00:00
kr.angelov
a8aef4278e
remove few obsolete options from GF.Infra.Options
2011-11-10 09:02:46 +00:00
malin
eb49d338fd
swedish extra
2011-11-09 21:47:56 +00:00
aarne
641aef304d
some bug fixes in Thai pronunciation generation
2011-11-09 21:30:36 +00:00
malin
7afbad405d
fix to scandinavian
2011-11-09 20:06:59 +00:00
malin
5c76d11173
scandinavian tenses
2011-11-09 20:01:37 +00:00
malin
f847356c1d
future tense for danish and norwegian
2011-11-09 19:51:28 +00:00
malin
360f7a0ade
new Swedish dictionary from Saldo
2011-11-09 19:29:39 +00:00
malin
413ca48bd5
extended Extra for Swedish
2011-11-09 19:28:08 +00:00
malin
1ba9ffcff7
future tense 'komma att' in scandinavian
2011-11-09 19:23:46 +00:00
aarne
18ca88f9ed
change Thai pronunciation notation to IPA as in Smyth's grammar
2011-11-09 17:34:54 +00:00
aarne
edb8bd6b16
Latvian api/ modules, and an entry in lib/src/Make.hs; api not yet compilable
2011-11-09 08:41:26 +00:00
aarne
77369531ae
additions to new-gf-bib.bib
2011-11-08 16:07:00 +00:00
aarne
69c33e89c3
FoodsTha, still to be checked
2011-11-08 16:06:40 +00:00
hallgren
24b1665313
Download page: add a not about the directory binaries are installed in on Mac OS X with recent versions of cabal.
2011-11-09 08:37:51 +00:00
john.j.camilleri
694a01ea3a
Added separate link for GFEP
2011-11-08 07:48:16 +00:00
aarne
d787e4bb2b
PhrasebookTha: Swadesh-definable words added
2011-11-07 21:21:14 +00:00
aarne
03d1c6c0d3
Swadesh lexicon added to Thai
2011-11-07 21:13:19 +00:00
aarne
a86af99f18
Thai phrasebook now compiles with RGL (but is incomplete)
2011-11-07 15:46:55 +00:00
aarne
06630f223f
Thai complete with what is needed to compile Sentences in Phrasebook
2011-11-07 15:46:21 +00:00
normundsg
3148e305d5
More or less complete Latvian RG (by Peteris Paikens and Normunds Gruzitis)
2011-11-07 14:21:04 +00:00
aarne
f87e8279bf
Thai API compiles
2011-11-07 14:04:51 +00:00
aarne
6c076cf620
Thai api files in place
2011-11-07 13:44:24 +00:00
aarne
7cbf532735
complete Thai resource syntax (but many unverified rules)
2011-11-07 13:29:24 +00:00
ramona.enache
2699780736
added Ramona's articles to doc file
2011-11-07 13:13:08 +00:00
aarne
6656f3fc76
Thai phrasebook started
2011-11-06 23:26:56 +00:00
aarne
52d72e09f0
ResTha additions to help Phrasebook
2011-11-06 23:26:17 +00:00
aarne
394caa8fa8
Thai phrasebook started: Greetings OK
2011-11-06 21:13:09 +00:00
aarne
8ec4afde05
Thai: transliterations in a separate src file; bind words in NumeralThai
2011-11-06 21:10:58 +00:00
kr.angelov
d058394219
qualified names in the tags file
2011-11-04 16:20:41 +00:00
john.j.camilleri
e9b746df87
Added GFEP release for Fri, 04 Nov 2011 11:33:35 +0100
2011-11-04 10:33:35 +00:00
john.j.camilleri
730df13cbf
Updated /eclipse index file
2011-11-04 10:31:24 +00:00
aarne
346e57707b
Thai tone rules, at least most of them
2011-11-03 21:34:59 +00:00
aarne
8e0fc2d964
started a mapping between Thai script and pronunciation
2011-11-03 16:50:17 +00:00
hallgren
366922aa0f
gfse: supply information about what's defined in the exampe language to the server functions for example-based grammar writing
2011-11-02 16:54:22 +00:00
hallgren
bed4395a3d
gfse: example-based: remove target language from the example language menu
2011-11-02 16:13:30 +00:00
john.j.camilleri
80605c0e7e
Added GFEP release for Wed, 02 Nov 2011 17:34:00 +0100
2011-11-02 16:34:00 +00:00
kr.angelov
54019c75ae
merge GF.Infra.Modules and GF.Grammar.Grammar. This is a preparation for the separate PGF building
2011-11-02 13:57:11 +00:00
kr.angelov
bc35626489
Now the compiler maintains more precise information for the source locations of the different definitions. There is a --tags option which generates a list of all identifiers with their source locations.
2011-11-02 11:44:59 +00:00
hallgren
5664c0699d
gfse: grammar sharing: bug fixes and win32 support
...
win32 support is untested
2011-11-01 17:45:57 +00:00
hallgren
51f35132df
gfse: documentation update
2011-11-01 17:45:01 +00:00
hallgren
f46593559a
Remove configuration flag cclazy
2011-11-01 13:45:12 +00:00
hallgren
44116be125
Translation Quiz: add copyright notices in source files
...
As suggested by Elnaz.
2011-11-01 13:22:24 +00:00
Nick Frolov
0baf0d4e4a
Fixed a typo in the shell online help
2011-11-01 11:22:13 +00:00
Nick Frolov
bdd52b0560
Improvements of Russian Phrasebook that do not rely on Participles and Numerals
2011-10-18 15:16:58 +00:00
john.j.camilleri
08bcc07325
Added GFEP release for Mon, 31 Oct 2011 15:46:01 +0100
2011-10-31 14:46:01 +00:00
john.j.camilleri
5b8e25935d
Added GFEP release for Mon, 31 Oct 2011 13:04:08 +0100
2011-10-31 12:04:08 +00:00
aarne
d9bca00fab
new version of gf-bib.bib
2011-10-31 10:53:29 +00:00
john.j.camilleri
f4ec32e8af
Updated html page
2011-10-28 14:32:00 +00:00
john.j.camilleri
91028d5354
New release
2011-10-28 12:20:11 +00:00
kr.angelov
a83f9417c7
fix in DictEng.gf -> find is irregular verb
2011-10-28 09:17:33 +00:00
aarne
418acb5cac
a few more entries to gf-bibliography
2011-10-28 09:07:54 +00:00
aarne
c76362fbd6
module dependency tree for the synopsis extra
2011-10-28 08:43:11 +00:00
aarne
34c8cfaa40
updated synopsis with information on extra modules and gfdoc for internal abstract syntax
2011-10-28 08:37:38 +00:00
hallgren
3f29e551db
One more binary package for the GF 3.3 release
2011-10-27 19:44:27 +00:00
hallgren
2717c445b6
Adding more binary packages for the GF 3.3 release
2011-10-27 16:59:29 +00:00
john.j.camilleri
31cde1fa3e
Updated release
2011-10-27 11:29:49 +00:00
john.j.camilleri
1fc7c47d09
Updated release with filters working again
2011-10-27 11:07:00 +00:00
aarne
e661481987
updated RGL synopsis with latest corrections
2011-10-27 08:38:12 +00:00
aarne
faf0c24327
publications: added Burden & Heldal
2011-10-27 08:34:56 +00:00
aarne
da8a6dc329
added case (de or a) to Romance infinitive noun and adj complements
2011-10-27 08:10:48 +00:00
aarne
8c3449fe0e
proper placement of clitics in Romance infinitives
2011-10-27 08:06:51 +00:00
john.j.camilleri
e575f92e34
Added release folder
2011-10-27 07:24:23 +00:00
john.j.camilleri
344e341b2d
Added release directory
2011-10-27 07:21:16 +00:00
kr.angelov
5f9338e18a
add Windows binary
2011-10-26 13:30:42 +00:00
john.j.camilleri
644f322f3d
Added new release
2011-10-26 11:56:18 +00:00
hallgren
942f68c7c0
Fix some more typos and clean up 3.2.9 download page
2011-10-25 21:01:39 +00:00
hallgren
74ba5770bf
Fix typo on GF 3.3 download page
2011-10-25 20:50:15 +00:00
hallgren
be5fd9996d
Adding two binary packages to the GF 3.3 download page
2011-10-25 20:44:55 +00:00
hallgren
292ef40fff
GF 3.3 news item on the GF home page
2011-10-25 20:21:02 +00:00
hallgren
ac31d99021
Move GF 3.3 download page in place
2011-10-25 18:58:02 +00:00
hallgren
2a10c21ad9
Recording an alternative version of look in Compute/ConcreteLazy.hs
...
Commented out, causes problems in the greek example.
2011-10-25 18:50:07 +00:00
hallgren
4ab9212489
GF 3.3 tentative release date is 2011-10-27
2011-10-25 18:47:09 +00:00
hallgren
fb43ab5019
Preparations for release of GF 3.3
...
+ Changing version numbers and dates here and there.
+ Simplify build-binary-dist.sh since pgf-http need not be built anymore.
+ Use--gf-lib-path to make the sample grammars for minibar compile even if GF
is not installed.
2011-10-25 18:25:49 +00:00
aarne
f7dc299c87
qualification with real module name accepted, as in GF refman
2011-10-25 14:03:27 +00:00
hallgren
f2b223e3c3
Preparing for release of GF 3.3
...
+ Release notes in download/release-3.3.t2t
+ New download page in download/index-3.3.t2t (to be renamed to index.t2t)
2011-10-25 13:10:10 +00:00
hallgren
e35917b779
TODO list for example-based grammar writing and grammar editor functionality
2011-10-25 12:47:51 +00:00
aarne
2e9d8354d9
items to release notes on my changes
2011-10-25 07:44:57 +00:00
hallgren
97fb1ffbe5
download/release-3.2.t2t: make room for GF 3.2.10 release notes
2011-10-24 18:25:37 +00:00
hallgren
f65ed55c23
gf-quickstart.html: describe gf -server instead of pgf-http
2011-10-24 18:13:04 +00:00
aarne
80a079f20b
improved the printability of synopsis examples
2011-10-24 15:17:53 +00:00
aarne
a835cf263b
post-cleaning of tailing pre expressions in synopsis generation
2011-10-24 12:53:24 +00:00
aarne
ffd9a93a80
use associativity to force more precompilation of pre expressions
2011-10-24 12:52:20 +00:00
aarne
f130bb4aac
yet another improvement of mkV 2 in ParadigmsEng (but this is not a very useful paradigm)
2011-10-23 18:46:33 +00:00
aarne
08d038e982
fixed ParadigmsEng mkV 2
2011-10-23 18:17:13 +00:00
aarne
6f7695c369
re-ran make synopsis to port all bug fixes in RGL
2011-10-23 18:16:21 +00:00
ra.monique
401285f87f
added script that converts a gf lexicon file to the format required by the abstrat to api translation grammar - to be used as a controlled language for writing linearizations for GF functions in the web editor
2011-10-23 13:13:11 +00:00
hallgren
a452274617
Work on example-based grammar writing
...
+ Preparations to support more target languages. Tested with Swedish.
+ Don't enable example-based editing if there is less that two concrete
languages in the grammar.
+ Don't show the "By example" button until the required lincat has been defined.
+ Remember the chosen language for examples.
2011-10-21 15:43:57 +00:00
hallgren
a8b97caed4
Introduce an explicit error value in the Term type
...
This makes it easier to treat run-time errors (e.g. caused by calls to
Predef.error) in a way that is more typical for a lazy functional language.
2011-10-20 14:36:30 +00:00
hallgren
68b2e248bf
Some experiments with PSeq (left commented out)
2011-10-20 14:25:31 +00:00
hallgren
ec346b16bb
Compute/ConcreteLazy.hs: no need to reverse when looking up labels in records
2011-10-20 14:19:33 +00:00
hallgren
61c54d4490
AppPredefined.hs: more readable notation for the types of primitives
2011-10-20 14:17:37 +00:00
hallgren
ef8ec4d5bd
phrasebook/Makefile: use 'gf -run' to make missing.txt
2011-10-20 13:58:46 +00:00
hallgren
ae8dfb381c
Setup.hs: less verbose output during the compilation of the RGL
...
Only show the full gf command line if an error occurs.
2011-10-20 13:36:42 +00:00
hallgren
3e5aded279
PGF.hs: Add LANGUAGE BangPatterns to make GHC 7.2 happy
...
Also remove oddly named function forExample (topological sorting) from export
list.
2011-10-20 13:21:28 +00:00
hallgren
dbc7308220
ParseEngAbs.gf & ParseEng.gf: change module name to match file name.
...
Also remove bogus path.
2011-10-20 13:17:39 +00:00
ra.monique
179a8dcaa9
added Swedish concrete grammar for abstract to api grammar
2011-10-19 22:16:44 +00:00
ra.monique
d4ba6d5aef
added ParadigmsEng to the abstract syntax to api grammar
2011-10-19 09:46:31 +00:00
hallgren
714e4d4975
pgf-http setup: update path to minibar
2011-10-18 15:35:30 +00:00
hallgren
5e867cec29
minibar: adding a start category menu
...
+ The start category menu can be turned off by passing the option
{startcat_menu:false} when starting the minibar.
+ Documentation updates.
2011-10-18 15:21:49 +00:00
hallgren
3b428fc5ba
minibar: add a button to show some grammar info
2011-10-18 14:34:00 +00:00
hallgren
99795c3035
pgf service: include the start category in grammar info
2011-10-18 14:31:40 +00:00
john.j.camilleri
8854cb943a
Added Eclipse contents
2011-10-17 16:01:07 +00:00
john.j.camilleri
96547fd26f
Added Eclipse directory
2011-10-17 15:58:55 +00:00
john.j.camilleri
9790483513
Added link for GFEP
2011-10-17 15:40:18 +00:00
hallgren
9c4564c8a4
example-based: use random generation for the examples
2011-10-17 13:51:25 +00:00
aarne
84635523cc
made Swedish mkA smarter for participles
2011-10-17 12:56:19 +00:00
ra.monique
f1fc2cca81
updated test categories for abstract-to-api grammar
2011-10-16 21:08:31 +00:00
hallgren
6d0c06a365
Bug fix in setup for gf -server mode
...
Use the command "dist/build/gf/gf" instead of "gf" to compile the sample
grammars for the minibar, to avoid failing if gf is installed in a directory
which is not in the $PATH.
2011-10-14 19:34:55 +00:00
hallgren
864d329336
Show version & configuration info when gf -server starts
2011-10-12 19:00:42 +00:00
hallgren
50605036dd
Bug fixes for gf -server mode and setup
2011-10-12 18:27:46 +00:00
hallgren
fa4af3d043
Improvements of "gf -server" mode and related setup
...
"gf -server" mode now contains everything needed to run the minibar and
the grammar editor (including example-based grammar writing).
The Setup.hs script installs the required files where gf -server can find them.
These files have been moved to a new directory: src/www.
The separate server program pgf-http is now obsolete.
2011-10-12 17:03:54 +00:00
ra.monique
78298c7c3b
added grammar that translates from abstract syntax trees to API trees and viceversa
2011-10-11 19:54:12 +00:00
hallgren
7b9f63938d
More work on support for gfse in "gf -server" mode
2011-10-11 19:17:47 +00:00
gregoire.detrez
0d55ee9485
Fixing a bug in the French smart paradigm for verbs with 12 arguments.
2011-10-11 02:57:58 +00:00
hallgren
b0ce861cd7
gfse: make it workw ith "gf -server" cloud services
2011-10-10 19:49:17 +00:00
hallgren
51a15531ce
Add cloud services needed by gfse to "gf -server" mode
2011-10-10 19:46:57 +00:00
hallgren
ad90185b4f
minibar/support.js: added function encodeArgs.
2011-10-10 17:40:53 +00:00
hallgren
b318509528
More functionality in "gf -server" mode
...
"gf -server" mode now includes PGF service and the services to support
example-based grammar writing. (But gf -server is not quite ready to replace
pgf-http yet...)
Also bumped GF version number to 3.2.10-darcs
2011-10-10 16:16:16 +00:00
hallgren
a1cc10cee0
gfse: documentation tweaks
2011-10-07 12:14:30 +00:00
hallgren
21a5e3c2cb
example-based grammar writing: avoid a problem by returning Nothing instead of calling error
2011-10-04 10:04:01 +00:00
aarne
64daed40df
gf-bibliography.html with Thomas' corrected links
2011-10-03 15:42:12 +00:00
aarne
95aea9c77e
updated gf-biblio with cse instead of cs
2011-10-03 15:39:39 +00:00
hallgren
dac46a89e8
corrected links in gf-biblio
2011-10-03 15:36:27 +00:00
aarne
40b02254f9
new items in gf-bibliography.t2t
2011-10-03 15:18:59 +00:00
aarne
f847344de8
demo grammar for the resource: mini/MiniGrammar. Generated automatically from MiniGrammarEng by make. Will replace the old demo/ grammars as one that illustrates the grammar structures while being lighter than Lang and generating less junk.
2011-10-03 14:17:56 +00:00
aarne
988c80751e
removed spurious inheritance of resource modules in GrammarRon
2011-10-03 14:07:41 +00:00
hallgren
598138bfa1
gfse: browser compatibility fixes
2011-10-03 12:28:49 +00:00
hallgren
8c9e424a83
gfse: references to the GF book in keyword tool tips and style tweaks for example-based grammar editing
2011-10-03 08:21:35 +00:00
hallgren
8f82e71517
Example-based grammar writing: fix problems caused by the use of exprToAPI
...
The editor needs to keep track of both the raw term and the nice term returned
by exprToAPI. (Manually constructed linearization rules will now have the
raw term and can not be tested.)
Also replace metavariables in generalized terms with the apropriate parameter
from the linearization rule.
Also fix communication problems caused by inconsistent use of show/read vs
showExpr/readExpr.
2011-09-29 15:19:03 +00:00
hallgren
c30b7629ed
gfse: about.html updates
2011-09-28 15:26:34 +00:00
kr.angelov
1964660d67
added ParseEng/ParseEngAbs which is the grammar used for parsing PennTreebank
2011-09-28 07:51:10 +00:00
hallgren
38df24c3c9
gfse: mention example-based grammar writing in about.html
2011-09-27 19:18:50 +00:00
hallgren
5588ba99cd
exb: call exprToAPI to create nicer linearization functions
2011-09-27 19:17:53 +00:00
hallgren
ee0a6e6aad
Server-side support for example-based grammar writing
2011-09-27 18:59:54 +00:00
hallgren
681b2c5501
gfse: work in progress on support for example-based grammar writing
2011-09-27 18:40:09 +00:00
hallgren
d097e6d9d5
Update the shell reference manual
2011-09-27 13:20:37 +00:00
aarne
5163e3f478
don't count app nodes in term size
2011-09-26 13:56:39 +00:00
aarne
2fd498449f
Query/small packaged
2011-09-26 06:56:36 +00:00
aarne
7e7927216b
generalized show_dependencies to take a list of constants as its argument
2011-09-25 08:43:23 +00:00
aarne
9db9c49bd6
structured examples in help into pairs (command,explanation)
2011-09-25 08:42:27 +00:00
aarne
f3087e4e43
bug fixes in code size analysis
2011-09-24 08:20:58 +00:00
aarne
e45ae46732
smart paradigms for French irreg verbs
2011-09-24 08:20:33 +00:00
kr.angelov
b0913f1ee5
add around_AdN in DictEng.gf
2011-09-23 14:36:01 +00:00
aarne
8d661c0fd8
smart paradigms for Fre irregular verbs, not perfect yet; removed some variants from Fre conjugations
2011-09-23 14:21:56 +00:00
kr.angelov
0715bd811c
few extensions to DictEng taken from the obsolete OaldStructural.gf
2011-09-23 12:06:03 +00:00
kr.angelov
56630bcbb6
remove the obsolete parse grammar
2011-09-23 09:42:22 +00:00
kr.angelov
1df6197c57
remove the fake adjective alright_A from DictEng
2011-09-23 09:19:02 +00:00
kr.angelov
a112c56e74
change the precedence for the left argument of ->
2011-09-22 16:24:02 +00:00
aarne
ac51d644fc
the sd -size command now shows the size of all code needed for defining an oper
2011-09-22 12:11:03 +00:00
aarne
d97101154f
documented the ss command
2011-09-22 07:40:19 +00:00
ra.monique
fa65def172
renamed MorphalouFre to DictFre
2011-09-21 18:18:43 +00:00
hallgren
63a3fab276
Update 19 broken links in the GF bibliography
...
Most of the broken link were due to the move from www.cs.chalmers.se was to
www.cse.chalmers.se in 2010.
2011-09-21 16:37:20 +00:00
aarne
6ae7a9dde9
statistics on grammar size in terms of constructors
2011-09-21 13:24:59 +00:00
kr.angelov
9bd15b0777
fix in the proof search. when we start the generation from a template, we must start the refinement from the expression that the typecheker generated
2011-09-21 13:30:09 +00:00
aarne
cdaf3dc2f4
commands ss to show source, and sd to show the dependencies of a constant
2011-09-21 08:12:14 +00:00
aarne
1fc37fc9b4
module for analysing source grammars
2011-09-20 16:00:56 +00:00
aarne
9cbe3982bd
command ss to show source (including gfo) in text; to be extended
2011-09-20 14:58:27 +00:00
hallgren
9ad2e88aaa
Home page news item about editor modes for GF
2011-09-20 12:51:34 +00:00
hallgren
02bda3ab38
Created a new page documenting available editor modes for GF
...
Also adding editing modes for Gedit and Geany contributed by John J. Camilleri.
2011-09-20 12:41:32 +00:00
aarne
9cc57b137c
fix bugs in German ComplA2 and ImpVP
2011-09-20 12:16:38 +00:00
aarne
896b59397a
QueryGer added; some bugs to fix
2011-09-20 12:05:07 +00:00
aarne
a89327b9db
QueryIta added
2011-09-20 08:54:35 +00:00
aarne
6eca855841
QueryFre added; a utf8 typo in StructuralFre corrected
2011-09-20 08:08:28 +00:00
aarne
acd9c78a43
treebank to test Query
2011-09-19 15:39:48 +00:00
aarne
eda239b053
QueryFin improved
2011-09-19 14:37:30 +00:00
aarne
d1b32d0fef
some ExtraFin functions to improve query language
2011-09-19 14:36:59 +00:00
hallgren
15d7a6ed74
test suite: Don't fail because of the Win32/Unix text file incompatibility.
2011-09-19 13:14:01 +00:00
hallgren
a4ca3ac81d
Adding test case for interaction between record subtyping and record extension
2011-09-19 12:43:14 +00:00
hallgren
1de43118f9
gfse: add Extra and Lexicon to the list of resource modules that can be opened
2011-09-16 15:13:27 +00:00
ra.monique
7fa94d7a90
added topological sort module to PGF - to be used in example based grammar writing
2011-09-15 16:32:49 +00:00
ra.monique
fb8182be36
added Morphalou - large lexicon for French
2011-09-15 16:28:55 +00:00
hallgren
4e35640bb8
Add a command name header to the 'help -t2t' output
2011-09-15 18:19:01 +00:00
hallgren
b24c46f438
Add the commands to the table of contents in the GF shell reference manual
2011-09-15 11:18:59 +00:00
aarne
42b7b0f8c2
made ps -from_TRANSLIT symmetric to -to_TRANSLIT in the sense that unknown characters are returned as themselves and not as question marks
2011-09-15 10:49:40 +00:00
hallgren
f0f73dca17
Include a table of contents in the GF shell reference manual
2011-09-14 20:46:04 +00:00
hallgren
cfce21710d
Separate commands with <hr> instead of <p> in the GF shell reference manual
2011-09-14 20:39:51 +00:00
hallgren
f167093afe
Omit empty sections in GF shell reference manual
2011-09-14 20:28:21 +00:00
hallgren
e837f072f4
Omit empty sections in gf help output
2011-09-14 20:26:22 +00:00
hallgren
6de924537d
Use 'help -full -t2t' to generate the GF Shell reference manual
2011-09-14 19:43:59 +00:00
hallgren
ac0b6db821
GF shell command 'help -t2t' outputs help in txt2tags format
2011-09-14 19:40:28 +00:00
hallgren
a3b7e72426
Adding a link to the GF shell reference manual on the GF home page
2011-09-14 16:24:49 +00:00
aarne
ec7291e9a0
Donkey: Det and Conj added, as well as negative sentences
2011-09-14 15:56:19 +00:00
hallgren
a049f4c3e3
Adding a GF shell command reference
...
First, plain text version generated with 'help -full' in the shell.
Introduction taken from the GF book.
2011-09-14 13:15:56 +00:00
hallgren
2848dc5c08
gfse: added grammar cloning
2011-09-13 15:19:16 +00:00
aarne
9f0bf57d79
quick fixes in PGF.TypeCheck suggested by Krasimir; to be revisited
2011-09-14 11:29:35 +00:00
aarne
255960adf7
Donkey: added AP, reported problem with ModCN and polymorphic AP's
2011-09-14 09:29:56 +00:00
aarne
b78b9e56ab
rewrote DonkeyEng with RGL and introduced VP category
2011-09-13 19:52:48 +00:00
aarne
2b58f22b14
examples on using type theory
2011-09-13 19:09:31 +00:00
aarne
e55694386f
added examples/typetheory
2011-09-13 14:34:36 +00:00
aarne
6d2484f91c
more smartness in ParadigmsFin enabled by the efficient compiler
2011-09-13 08:41:16 +00:00
hallgren
9129bc6657
Added news item about the GF 3.2.9 snapshot on the home page
2011-09-12 15:48:22 +00:00
hallgren
bd3cd8ab0d
Mention the 3.2.9 snapshot release on the download page
2011-09-12 15:38:13 +00:00
hallgren
c5cba20d43
Record old changes in gf-reference.html
...
even though this file is automatically generated from gf-reference.t2t.
2011-09-12 15:35:00 +00:00
hallgren
ca65e2daba
Record the added link to the JPGF Android Tutorial on home page
2011-09-12 15:32:31 +00:00
hallgren
5d65e5260d
Take snapshot, version 3.2.9
2011-09-12 14:42:54 +00:00
hallgren
31ac09a8ac
gf.cabal: add Tested-With field
2011-09-12 14:33:15 +00:00
hallgren
0b24415469
Don't make noexpand the default with -fcclazy
...
This reverts the previous change. Not preprocessing opers turns out to make a
difference in what needs to be mentioned in restricted inheritance/imports.
2011-09-09 16:17:33 +00:00
aarne
b180c0a877
utf8 in gf-book index
2011-09-09 15:00:50 +00:00
aarne
1c157120d0
slides and UK order of gf-book
2011-09-09 14:57:28 +00:00
hallgren
8e6eecaf87
Make -fcclazy (the new faster lazy compute_concrete) the default. Bump version number to 3.2.9
2011-09-09 13:54:19 +00:00
hallgren
6a5972e00d
Make noexpand the default optimization package when configuring with -fcclazy
2011-09-09 13:50:38 +00:00
hallgren
c2e7f89a0a
Remove unused function computeConcreteRec.
...
This also allows the parameter rec to be removed from function computeTermOpt.
(The change is made in GF.Compile.Compute.ConcreteLazy, but not in
GF.Compile.Compute.ConcreteStrict.)
2011-09-09 12:25:27 +00:00
kr.angelov
d11fe7819d
remove ins_N from DictEng since it duplicates in_N
2011-09-09 13:11:00 +00:00
hallgren
55538c2b7e
GF.Grammar.Macros: simplify composOp and composSafeOp
2011-09-07 17:11:52 +00:00
hallgren
9b44a2248e
Make the -fcclazy configuration option visible in the build info in the GF Shell welcome message
2011-09-05 15:20:39 +00:00
hallgren
ce714fa723
Add lazy version of GF.Compile.Compute.Concrete
...
This patch adds GF.Compile.Compute.ConcreteLazy, which replaces the Err monad
with the Identity monad. While the Err monad makes the interpreter
(hyper)strict, the Identity monad let's the interpreter inherit Haskell's
laziness. This can give big speedups: from 50s to 1s in one example,
from ~4 minutes to ~2 minutes for the RGL.
This is still experimental and might be buggy, so it is off by default.
You can turn it on by configuring with the -fcclazy flag, e.g.
cabal configure -fcclazy
Let me know if anything breaks.
2011-09-01 16:39:41 +00:00
hallgren
539c49c23b
GF.Grammar.*: generalized the type of some functions that can not fail from the Err monad to arbitrary monads
2011-09-01 16:35:53 +00:00
hallgren
117fe7ad70
GF.Compile.Coding: cleaner code
...
Refine function codeTerm into codeTerm, codeLTerm and codeLTerms.
2011-08-31 13:55:49 +00:00
aarne
03b8c43bc8
variant e of Spanish and_Conj
2011-09-01 13:53:35 +00:00
aarne
c053e1f904
ExtAdvS in Pol
2011-09-01 08:14:27 +00:00
aarne
938662db44
ExtAdvS added to more languages
2011-09-01 07:56:29 +00:00
aarne
40022d7af9
restored the use of conjunctCase in romance
2011-08-31 11:56:09 +00:00
hallgren
38db834a65
GF.Infra.Modules: minor tweaks
...
Still keeping the modules both in a list and in a finite map. The overhead is
smaller than I initially thought.
2011-08-31 11:18:16 +00:00
hallgren
42e2c68d8e
GF.Infra.Modules: restore module dependency order invariant
...
It is needed by greatestResource (and similar functions, presumably).
So keep both the list and the finite map of modules. This slows down some
things, but the compilation of PhrasebookFin.pgf benefits from it.
To be continued...
2011-08-30 20:20:45 +00:00
hallgren
0325f7264d
GF.Infra.Modules: keep the modules of a grammar in a finite map instead of a list
...
This speeds up the compilation of PhrasebookFin.pgf by 12%, mosly by speeding
up calls to lookupModule in calls from lookupParamValues, in calls
from allParamValues.
The invariant "modules are stored in dependency order" is no longer respected!
But the type MGrammar is now abstract, making it easier to maintain this or
other invariants in the future.
2011-08-30 18:54:50 +00:00
kr.angelov
f7f6953050
few more fixes in the NLG grammar
2011-08-30 17:29:13 +00:00
hallgren
109c55e2fb
GF.Grammar.Lookup: added function lookupQIdentInfo
...
+ Avoids some code duplication by combinging lookupModule and lookupIdentInfo.
+ Also removed lookupIdentInfo from export list, since it is not used anywhere
else.
2011-08-30 14:53:11 +00:00
hallgren
9a4f3cec9c
PatternMatch.hs: commented out suspicious unused function varsOfPatt
2011-08-30 12:13:50 +00:00
hallgren
3c848ad0b5
GrammarToPGF.hs: comment out unused imports
2011-08-30 12:02:32 +00:00
kr.angelov
7fe2b6fd04
added quantifier ambiguity in the NLG example
2011-08-30 15:23:59 +00:00
kr.angelov
399d4a60a4
added example for NLG from logical formula. See examples/nlg
2011-08-30 14:58:16 +00:00
kr.angelov
dbe00fd0eb
bugfixes in the typechecker and the tree generator
2011-08-30 11:24:59 +00:00
kr.angelov
9a899edb0b
bugfix: allow higher-order variables in the linearization
2011-08-30 09:22:44 +00:00
aarne
7bf4683c02
skip spaces before closing parenthesis in PGF.Expr.pFactor
2011-08-29 12:03:45 +00:00
aarne
250c9f8d82
import command now gives priority to new abstract syntax, and discards the old concretes if they are for the old abstract; the new priority is implemented in PGF.Data.unionPGF
2011-08-28 10:35:55 +00:00
kr.angelov
1593c7249d
fix SUMO after the update in DictEng
2011-08-23 15:05:04 +00:00
kr.angelov
829f648774
batch of changes in DictEng(Abs) that improve the coverage and add valency frames for many verbs.
2011-08-23 14:58:11 +00:00
hallgren
be1830479f
pgf-http: fix a bug that caused "+" to be treaded as " " in PGF service requests URLs.
...
This was a bug in my workaround for a bug in the httpd-shed package. It
made it impossible to use the glue token "&+" for Turkish input in the minibar,
for example.
2011-08-25 16:58:17 +00:00
aarne
b5d04181ba
reload command in shell
2011-08-25 15:58:38 +00:00
hallgren
249ce61701
pgf-service: apply the OpenMath LaTeX function only when linearizing to a
...
concrete language whose name ends with LaTeX.
This change also avoids duplicating output and, in addition to the linearize
command, applies the transfer also when using the linearizeAll command.
2011-08-24 09:37:55 +00:00
hallgren
42ccbf2d8e
pgf-service: add Jordis transfer function for OpenMath LaTeX output
2011-08-23 16:25:00 +00:00
hallgren
9f9a2c7a4a
Someone added a link to the Android page
2011-08-22 21:01:59 +00:00
hallgren
6667e5faf9
minibar: documentation update
2011-08-22 17:55:47 +00:00
hallgren
0079c49a78
minibar: quick fix to allow literals to be entered.
...
If you press Enter, the current word will be accepted, even if there are no
matching completions.
(You can now use names of people when constructing sentences in the Letter
grammar, for example.)
2011-08-22 17:03:47 +00:00
aarne
22a079e8f1
commented Compute/Concrete with explanations
2011-08-22 17:08:07 +00:00
hallgren
51994104de
pgf service: external service hook: always format the output as a JSON string
2011-08-22 16:10:56 +00:00
hallgren
3e2f768072
pgf service: added a hook for external services
...
This is really reinventing CGI, people should learn how to write CGI scripts
instead...
TODO: better handling of temporary files
2011-08-22 15:34:44 +00:00
aarne
3d20737e95
some adjective fixes in FoodsGle
2011-08-22 14:43:58 +00:00
aarne
6ae6d665d7
the from preposition in various Phrasebooks
2011-08-22 14:40:57 +00:00
jordi.saludes
8bfb809a69
Correct 'Hotel' in Cat Phrasebook
2011-08-22 13:07:34 +00:00
jordi.saludes
29bdca7596
"Simplified regA for Cat"
2011-08-18 16:20:37 +00:00
hallgren
d0dad690e4
minibar: documentation fixes
2011-08-21 21:35:14 +00:00
hallgren
2dc037fc72
minibar: bug fix for "Try Google Translate" button
2011-08-19 13:56:12 +00:00
aarne
f33736d092
FoodsGle by Michal Mechura
2011-08-18 19:53:04 +00:00
aarne
41012a0c43
FoodsCze by Katerina Bohmova
2011-08-18 19:51:28 +00:00
hallgren
1b386e01ba
gfse: fix an issue with Webkit browers
...
For lin and lincats with empty RHSs, there was nothing to point to to make the
edit button (the "%" button) appear in browsers based on Webkit
(Safari, Chrome).
2011-08-17 15:41:57 +00:00
hallgren
3eab4e3ae1
minibar: adding pgf_offline.js
...
This file exports the same PGF runtime interface as pgf_online.js but calls
the hs2js translation of the PGF runtime library (which is not included
in darcs).
2011-08-16 16:29:51 +00:00
hallgren
d68e11dbae
demos: just recording some recent changes to the index page
2011-08-16 15:41:31 +00:00
aarne
8729f43a15
updated RGL status with Heb and Lav
2011-08-14 16:57:09 +00:00
aarne
86ab6c4c6e
Latvian resource started by Normunds Gruzitis
2011-08-14 16:52:15 +00:00
aarne
726b3cc199
Hebrew mini resource by Dana Dannells
2011-08-14 16:49:19 +00:00
hallgren
ab774d3964
gf.cabal: bump version to 3.2.8-darcs
...
This is just to make it easier to tell who has the latest version at the
summer school. There has been some bug fixes in gf itself and some significant
additions to the RGL since 3.2 was released.
Also explicitly require Alex 2.x. The recently released Alex 3.0 has backwards
incompatible changes and does not work. GF/Grammar/Lexer.x should probably
be modified to support both Alex 2.x and Alex 3.0...
2011-08-12 14:02:24 +00:00
hallgren
9820b2640b
minibar: documentation and API work
2011-08-11 16:28:49 +00:00
hallgren
dabeddb3ca
minibar: some functions were in the wrong file
2011-08-11 14:56:34 +00:00
hallgren
b4c0509f77
minibar: more documentation (in minibar-api.html)
2011-08-09 15:57:40 +00:00
hallgren
61da350167
minibar: refactoring for improved modularity
...
Two smaller objects have been factored out from the Minibar object:
Input and Translations. These have been placed in two separate files:
minibar_input.js and minibar_translations.js. Some common auxiliary functions
have also been moved to a separate file: minibar_support.js
2011-08-08 17:28:24 +00:00
hallgren
77132183fe
minibar: resolve conflict
2011-08-08 14:08:55 +00:00
hallgren
b77e95abf5
minibar: improve pgf_online.js
...
pgf_online.js has been simplified and generalized to support the full
GF Web Service API. The changes are backwards incompatible, unfortunately.
The documentation and minibar.js have been updated accordingly.
2011-08-03 15:21:38 +00:00
hallgren
1a25f04303
minibar: small code and documentation tweaks
2011-08-03 14:24:47 +00:00
hallgren
e232c6145d
minibar: recording old configuration changes
2011-08-08 14:04:51 +00:00
aarne
7e32b4c102
the determiner tout_Det in ExtraFre
2011-08-03 17:00:20 +00:00
aarne
2d91016760
Added ExtAdvS separate from AdvS in Sentence
2011-08-03 15:19:39 +00:00
aarne
930d9ab752
word order in Scand and Ger coordinated Inv
2011-08-03 14:37:49 +00:00
hallgren
e60b4e97c0
gfse: added links to download PGF files for user's grammars
2011-08-01 15:01:14 +00:00
hallgren
29e9b30b47
gfse: add missing file share.html to darcs
...
Also fix bug in share.html by adding cloud.js to the list of loaded JavaScript
files.
2011-08-01 14:27:29 +00:00
aarne
1fd0abc8bf
a couple of fixes with Romance determiners
2011-08-01 10:22:14 +00:00
hallgren
c78328fd86
gfse: some correctness checks for concrete syntax
...
The editor now calls the GF server to check the syntax of expressions that
are part of concrete syntax (except for parameter types).
This is currently done by using the cc command of the GF shell, which puts
some unnecessary restricitons on operation definitions...
2011-07-29 15:44:19 +00:00
hallgren
97d7bdd6c0
gfse: refactoring
...
Factor out functions that interface to the old cloud service (upload.cgi)
from editor.js into cloud.js. Merge changes from editor2.js into editor.js and
factor out functions that interface to gf -server into clouds2.js.
2011-07-29 13:45:37 +00:00
hallgren
21e6ebfe26
gfse: about: added a note that each grammar has a unique identity independent of its name
2011-07-26 15:03:33 +00:00
hallgren
cce6b793b1
gfse: various small improvements
2011-07-25 19:21:46 +00:00
aarne
b43fa3ce9e
past participle in proper place in English VP
2011-07-22 07:49:53 +00:00
aarne
61c9bdf94e
PassVPSlash in Extra and ExtraEng; should generalize PassV2 in the future
2011-07-21 09:13:26 +00:00
aarne
9023382c31
GenIP, GenRP in Extra and any_Quant in ExtraEng
2011-07-21 08:25:04 +00:00
Nick Frolov
6946d9e07c
The stub of Russian Phrasebook is tweaked to start giving sane output
2011-07-07 17:10:14 +00:00
hallgren
e84ef142d7
gfse: new section "Grammars in the cloud" in about.html
2011-07-07 16:59:37 +00:00
hallgren
5f624dce85
gfse: grammars in the cloud, still primitve, but good enough to be installed on the server, I think
2011-07-07 16:57:59 +00:00
hallgren
8e47fa6d88
gfse: grammars in the cloud, work in progress
...
Cloud merging: when sharing grammars between two devices that previously each
had separate grammar directoies on the server, clean up one of the directories
and make it a symbolic link to the other.
2011-07-07 13:30:56 +00:00
aarne
3963df0a31
Nepali corrected in Synopsis; Nepali and Persian added to main page
2011-07-07 12:42:28 +00:00
hallgren
7b8828ae0a
gfse: grammars in the cloud, work in progress
2011-07-06 16:55:42 +00:00
hallgren
e4e5ca23d3
gfse: initial support for grammars in the cloud
...
This lets the user access the same set of grammars from multiple devices.
Sharing grammars between multiple users is possible but discouraged at the
moment. There is no version handling, so concurrent editing of the same grammar
by different users might result in one user overwriting changes made by
another user. (The same goes for cuncurrent editing on multiple devices by
a single user, of course.)
2011-06-08 15:29:50 +00:00
virk.shafqat
a7fede8ee4
refinementsNep-11-06-27
2011-06-27 14:55:51 +00:00
adam.slaski
a98d4bb0aa
one new verb paradigm for Polish resource and one new function in ExtraPol
2011-06-23 15:28:03 +00:00
adam.slaski
5827065087
bug in how8manyIDet fixed
2011-06-23 12:52:04 +00:00
adam.slaski
0d85fd183a
phrasebook polish updated
2011-06-23 12:44:53 +00:00
adam.slaski
a79bffff8a
morphoPol revisited
2011-06-23 12:37:28 +00:00
adam.slaski
1b8f23c14e
noun morphology revisited
2011-06-23 12:37:12 +00:00
adam.slaski
a9534eea48
ResPol revisited
2011-06-23 12:35:47 +00:00
adam.slaski
1cdfd8adc6
new verb models added
2011-06-23 12:35:08 +00:00
adam.slaski
30719e6e6b
changes in lexicon noun
2011-06-23 12:34:34 +00:00
hallgren
ca16782d06
minibar support.js: add function ajax_http_post for posting FormData
2011-06-21 16:10:44 +00:00
hallgren
b80696f958
gf-server: make pgf-service work the Apache mod_fastcgi
...
pgf-service now appears to works with Apache mod_fastcgi (under Mac OS X) in
addition to lighttpd.
One difference appears to be that while lighttpd passes the name of the PGF
file in the SCRIPT_FILENAME variable, Apache passes it in PATH_TRANSLATED.
But perhaps this depends on exactly how the fastcgi service is configured.
The following is what I added to the Apache configuration file to test this:
<Directory /Library/WebServer/Documents/fcgi-bin>
SetHandler fastcgi-script
Options +ExecCGI
</Directory>
Action pgf-service /fcgi-bin/pgf-service
AddHandler pgf-service .pgf
2011-06-21 15:49:31 +00:00
hallgren
4b86179f12
gf-server: enable -rtsopts when compiling with ghc>=7.0
2011-06-21 15:45:13 +00:00
hallgren
1780b14d3a
gf-server.cabal: a separate flag for the content service
...
* Use cabal install -ffastcgi to compile the fastcgi server.
* Use cabal install -fcontent to compile the content service (off by default,
currently broken)
* Use both flag to compile both.
2011-06-21 15:38:57 +00:00
hallgren
ae83ed677c
gfse: fix a problem in browsers where "class" is a reserved keyword
2011-05-07 17:36:49 +00:00
aarne
070dca9a6a
updated information on GF book
2011-06-20 20:52:23 +00:00
aarne
b199fcde2f
Nepali added to resource synopsis
2011-06-20 13:13:12 +00:00
virk.shafqat
7df882ef08
Nepali_api
2011-06-20 11:51:44 +00:00
virk.shafqat
a9d8634147
refinementNepali-11-06-20
2011-06-20 11:24:22 +00:00
aarne
f08c6a10a1
Status updated with Persian and Nepali
2011-06-14 11:52:26 +00:00
aarne
af69d5eda6
synopsis with Persian
2011-06-14 11:49:38 +00:00
aarne
a772c0af48
allow empty lines in transliteration files
2011-06-14 11:49:10 +00:00
aarne
67c804d9a8
Nepali resource by Dinesh Simk - almost complete
2011-06-14 11:19:59 +00:00
aarne
69c5b1d317
Inari's additions to ParadigmsSpa
2011-06-14 10:46:43 +00:00
virk.shafqat
f0d0c01743
NumeralsDigits
2011-06-13 22:37:48 +00:00
virk.shafqat
9c37ec6f63
fileExtarPes-added
2011-06-13 21:27:20 +00:00
virk.shafqat
87ae4d68fd
refinement-11-06-13
2011-06-13 21:21:30 +00:00
virk.shafqat
50057fb219
PersianAPI
2011-06-13 18:44:29 +00:00
virk.shafqat
052c75a71c
PersianRG
2011-06-13 18:23:30 +00:00
aarne
525bf8f410
Finnish SDP paradigm ported to lower-case by using Predef.toUpper
2011-06-02 16:12:01 +00:00
aarne
7d3949a270
Predef functions toUpper, toLower, isUpper
2011-06-02 16:10:46 +00:00
aarne
b30b5b6882
"Urd in Phrasebook Makefile; correct form of adj Spa.spanish_A"
2011-06-02 10:30:32 +00:00
jordi.saludes
50cdc9e354
provide both genders for Plural in Cat/mkPronoun
2011-06-02 08:53:35 +00:00
aarne
adfc2b6796
adapted parse/English to new uncontracted polarity
2011-06-02 09:26:33 +00:00
aarne
bbc2a7c538
ported the change in English NPCase and Polarity to SUMO
2011-06-02 08:30:06 +00:00
aarne
20966efd85
factored English uncontracted negation to one constant, ExtraEng.UncNeg : Pol
2011-06-02 08:05:31 +00:00
aarne
5782bea01d
patches in Spanish adjectives by Inari
2011-06-02 07:24:20 +00:00
jordi.saludes
7445a5fda6
Fixed A's in Cat phrasebook nationalities
2011-06-01 15:50:21 +00:00
virk.shafqat
3a20957aaa
addedSymbolicPnb
2011-05-20 23:23:08 +00:00
virk.shafqat
198ba1a151
refinementsTextUrd11-19-05
2011-05-19 18:19:34 +00:00
virk.shafqat
9e38856a1e
refinementsTextUrd-11-05-19
2011-05-19 15:57:12 +00:00
virk.shafqat
ab120fc83f
refinements-2011-05-19
2011-05-19 15:19:15 +00:00
virk.shafqat
96d8cc4c04
refinementsUrdPhrasebook-2011-05-13
2011-05-13 21:51:16 +00:00
aarne
026c5cddf5
fixing case in ParseEng
2011-05-13 16:25:58 +00:00
aarne
ecdcf07140
addition to Urdu phrasebook
2011-05-13 11:14:47 +00:00
virk.shafqat
17d5a3ffbb
refinementsUrdPhrbook-2011-05-12
2011-05-12 16:24:00 +00:00
virk.shafqat
9a31b52556
refinementsUrdPnb-2011-05-11
2011-05-11 00:11:52 +00:00
virk.shafqat
e52f51007f
refinementsPnb-2011-05-10
2011-05-10 15:27:57 +00:00
virk.shafqat
3796ffc0f8
refinementsUrd-2011-05-10
2011-05-10 14:53:08 +00:00
virk.shafqat
c9019e9741
refinements-2011-05-10
2011-05-10 14:33:08 +00:00
hallgren
7f91547576
gfse: you can now add concrete syntax for arbitrary languages
...
Before, you had to pick a language from a list of supported languages, but now
you can also pick Other and change the language code afterwards.
2011-05-06 15:24:45 +00:00
aarne
e8da38c814
Urdu phrasebook (not complete)
2011-05-06 12:29:46 +00:00
aarne
20517f98dc
fixed problems in persian transliteration pointed out by Elnaz
2011-05-06 12:11:45 +00:00
aarne
d3c98a4cdd
added Punjabi to langs compiled with lib/src/Make
2011-05-06 09:09:41 +00:00
aarne
6028088291
updated Synopsis with Afrikaans, Punjabi, and additional modules
2011-05-06 09:00:07 +00:00
aarne
f0bd6dc69f
api for Afrikaans
2011-05-06 08:38:39 +00:00
virk.shafqat
458675a8e8
refinements-Pnb-2011-04-30
2011-04-30 18:11:48 +00:00
aarne
72b63e34bd
transliteration via configuration file: ps -to=file or ps -from=file
2011-05-02 14:53:46 +00:00
hallgren
cfc60feeab
Ctrl-C shouldn't terminate the GF shell
...
This quick fix should make Ctrl-C in the GF shell behave more like it does in
other shells: even if no command is running, Ctrl-C now just gives you a new
prompt instead of terminating the shell.
2011-04-20 14:30:49 +00:00
aarne
09716eac28
Scandinavian IndefArt in substantival position fixed
2011-04-20 08:27:03 +00:00
hallgren
0df6ae1575
GFI.hs: some refactoring for readability
...
Also some minor changes in how Ctrl-C is handled and how CPU time is measured.
2011-04-15 15:05:44 +00:00
aarne
b4696d307b
added book in the documentation
2011-04-15 12:07:59 +00:00
hallgren
ac54480e82
gfse: use "gf -server" mode instead of upload.cgi
...
Work in progress on making the online grammar editor use the new "gf -server"
mode instead of the old upload.cgi script. A first benefit is that the
editor now calls the server to check the syntax of lin & lincat definitions.
(But the links to minibar/gfshell/quiz are not available at the moment.)
2011-04-13 15:30:42 +00:00
hallgren
3488632558
Added a preliminary "gf -server" mode.
...
The command "gf -server" now starts a simple HTTP server on port 41295,
providing a simple web API to the GF compiler. It currently support the
follwing operations:
* creating new temporary directories for grammar uploads,
* uploading grammars files for use in the GF shell,
* executing GF shell commands, and
* accessing static files.
This means that GF now depends on some additional networking related packages,
but they should be available and easy to install on all platforms. There is
also a new configuration flag "server" in gf.cabal, so GF will be compiled
without support for server mode if the extra packages are unavailable.
Note that running gf -server while connected to the internet can be a security
risk. To prevent unauthorized access to the rest of the system, it is
advisable to run the server in GF_RESTRICTED mode and as a user with suitably
restricted file permissions.
2011-04-13 14:58:01 +00:00
hallgren
c65f4cdb5c
Show configuration options as part of build info
...
The GF shell welcome message will now include something like
This is GF version 3.2.1-darcs.
Built on darwin/i386 with ghc-7.0, flags: interrupt
where a list of enabled configuration flags are included on the last line.
This is implemented in GF.Infra.BuildInfo by consulting the CPP macros
defined by the respective option in gf.cabal. For this to work,
GF.Infra.BuildInfo obviously has to be updated when new flags are added to
gf.cabal or if the CPP macros are renamed.
(Also, I suspect that if you reconfigure with different flags and rebuild GF
without cleaning first, the BuildInfo module will not be recompiled,
resulting in a misleading welcome message...)
2011-04-13 14:45:21 +00:00
hallgren
dbea5b1a19
GF.Infra.UseIO: add functions readBinaryFile & writeBinaryFile
2011-04-13 14:44:18 +00:00
hallgren
b2ffdd59eb
minibar: fix typo
2011-04-11 13:03:46 +00:00
hallgren
ff870aa8f9
minibar: small documentation updates and corrections
2011-04-11 13:00:52 +00:00
hallgren
e10b11a1f0
GF shell restricted mode: found one more writeFile that should be restricted
2011-04-08 13:20:50 +00:00
hallgren
1e1d91056d
avoid warning from ghc-7.0
...
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
2011-04-06 13:57:19 +00:00
hallgren
7f830ec5df
avoid warning from ghc-7.0
...
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
2011-04-06 13:43:29 +00:00
aarne
58acad5689
generate Eq instance for GADT
2011-04-06 12:27:31 +00:00
aarne
393976d889
fixed the printing of predefined and list categories in haskell=gadt
2011-04-06 07:45:35 +00:00
hallgren
7416c9acb3
GFI.hs: refactoring to add a function for executing a single GF shell command.
...
The intention is to use the new function to implement a web service API to
the GF shell.
2011-04-04 20:06:55 +00:00
hallgren
1677df78c9
Add build info to the GF shell welcome message
2011-04-04 19:52:07 +00:00
hallgren
544010b36f
gfse: somewhat simplified configuration/installation
2011-03-28 15:04:43 +00:00
hallgren
45547df48c
gfse: added an alternate style sheet with the MOLTO color scheme
2011-03-28 14:46:15 +00:00
hallgren
22a70d2608
minibar: don't force focus to the typed input field after every word
...
On touch-based devices, the on-screen keyboard kept popping up after every word,
which was very annoying if you were entering a sentence by tapping on the
magnets.
2011-03-22 15:17:48 +00:00
hallgren
b3e5386d36
minibar: add trailing slash in suggested grammar URLs
2011-03-22 15:12:54 +00:00
aarne
626a5881f2
compound nouns in ExtraSwe
2011-03-17 16:44:46 +00:00
gdetrez
f2df9631fd
Adding a missing file for the tokenizer...
2011-03-17 16:04:21 +00:00
gdetrez
5be1b5d493
Adding a basic lexicon-based tokenizer and the asociated command in gf shell
2011-02-10 15:00:06 +00:00
gdetrez
0c7676e6e9
Adding an option to the gf compiler to add an index to pgf files
...
This is gonna be used by the android library to skip unused part of a
pgf file
2010-12-11 16:36:30 +00:00
aarne
65384be75e
started a grammar for grammatical terms, covering the cats of the RGL
2011-03-14 18:48:08 +00:00
aarne
f46af8b54d
smaller query grammars for MOLTO KRI
2011-03-13 19:49:41 +00:00
aarne
2e935bf2c0
some more transfer functions included in Grammar
2011-03-13 17:22:51 +00:00
aarne
e6c353425c
new Afrikaans by L&L Pretorius
2011-03-12 11:29:42 +00:00
aarne
afbfbaa73a
make it possible to override opers defined in an interface by syntax 'instance Foo of Bar - [f,g,h]'
2011-03-12 11:24:14 +00:00
aarne
87aa41d503
make later flags take priority over earlier ones in PGF generation
2011-03-12 11:22:21 +00:00
aarne
d782be6440
generalized pt -transfer so that it goes into subtrees (naive implementation in TreeOperations; using PGF.Expr.match would be better); example given in 'h pt'
2011-03-12 10:20:54 +00:00
hallgren
9fdcc97716
gfse: documentation fixes, links to MOLTO meeting slides and compiler API document
2011-03-09 11:11:47 +00:00
hallgren
06e794d532
gfse: add a link from demo page to the editor
2011-03-09 10:05:53 +00:00
aarne
eabe7fa629
German verbs with -ieren
2011-03-08 21:07:17 +00:00
krasimir
1e4ec3c7d2
fix the grammar browser in the editor
2011-03-08 12:32:51 +00:00
krasimir
93dcac2819
the user can now upload their own grammars in the editor
2011-03-07 21:05:29 +00:00
hallgren
f30e07f5f8
gfse: create a new concrete syntax by copying an existing one
...
When adding a new concrete syntax to a grammar, the currently open concrete
syntax will be copied. If the abstract syntax is currently open, the new
concrete syntax will start out empty.
2011-03-07 17:52:15 +00:00
hallgren
d46c7ee90d
gfse: link back to the editor from the upload page
2011-03-07 16:05:55 +00:00
hallgren
2c6c85974e
gfse: minor layout/formatting variation
2011-03-06 10:19:17 +00:00
aarne
54feac5d26
added composOp generation to haskell-gadt, and an example in examples/gadt-transfer
2011-03-05 22:25:03 +00:00
hallgren
34daa2894a
add set of prepositions in DictEng
2011-03-05 12:02:01 +00:00
aarne
603dc34b63
switched the upper and lower parts of lexc entries to their standard order
2011-03-04 17:25:53 +00:00
aarne
c834cb348c
revived GADT generation
2011-03-04 17:05:40 +00:00
aarne
8fc455f22b
fixed a variable refreshing bug in the compiler
2011-03-04 16:44:30 +00:00
hallgren
697e96f539
minibar: add icon for word alignment button
2011-03-03 19:19:47 +00:00
hallgren
a0cd2c232b
minibar: add a button to display word alignment
2011-03-03 19:18:09 +00:00
hallgren
affdcf421e
GF shell restricted mode
...
By setting the environment variable GF_RESTRICTED before starting GF, the shell
will be run in restricted mode. This will prevent the GF shell from starting
arbitrary system commands (most uses of System.Cmd.system are blocked) and
writing arbitrary files (most commands that use writeFile et al are blocked).
Restricted mode is intended minimize the potential security risks involved
in allowing public access to the GF shell over the internet. It should be used
in conjuction with system level protection mechanisms (e.g. file permissions)
to make sure that a publicly acessible GF shell does not give access to parts
of the system that should not be publicly accessible.
2011-03-03 15:42:57 +00:00
hallgren
65e1ea2fc4
gf.cabal: bump version number, add source repository info
...
I changed the version number to 3.2.1-darcs.
I think the version number of the current version from darcs should always
include the "-darcs" suffix (or "-current" perhaps?). The suffix should be
removed only momentarily when making an official release.
2011-03-03 15:24:43 +00:00
aarne
9b26957785
overloaded opers included in sorting of judgements
2011-03-03 15:10:31 +00:00
aarne
93987ee869
print lexicon in Xerox LEXC format: pg -lexc
2011-03-03 08:31:15 +00:00
aarne
d160fbf459
ParadigmsSwe: mkA makes adjectives ending with a/e/o invariant (except for genitive)
2011-03-01 16:25:59 +00:00
aarne
3e2d906888
corrected help for l command
2011-03-01 16:15:20 +00:00
hallgren
4642b2a392
demos/index.html: minibar is now available on the standard port
...
Minibar was at http://www.grammaticalframework.org:41296/minibar/minibar.html
but now also at http://www.grammaticalframework.org/demos/minibar/minibar.html
which means it is accessible behind firewalls that block requests to
nonstandard ports.
2011-03-01 15:02:13 +00:00
hallgren
8e2caf6404
demo/indx.html: record translation quiz entry
2011-03-01 14:58:51 +00:00
hallgren
da740b51c2
minibar/support.js: recognize relative URLs as locations on the same server
...
This means that the relative grammar directory location in the default
configuration will result in AJAX requests rather than the less efficient
JSONP requests.
2011-03-01 14:47:20 +00:00
hallgren
a27f58d6ae
minibar: make the feedback form work in the generic minibar
...
It is still disabled by default, since some manual configuraiton of
feedback.cgi is required.
2011-03-01 13:46:00 +00:00
aarne
f790bd949f
removed accusative case for nouns in Eng (it is for NP, Pron, IP, RP only)
2011-02-28 20:59:29 +00:00
hallgren
aad6e864b9
gfse: fix missing startcat flag bug + documentation updates
2011-02-28 16:47:25 +00:00
hallgren
fe9eaf0ddd
gfse: fix persmission problem in upload.cgi
2011-02-28 15:46:42 +00:00
hallgren
164018b6c0
gfse: include a -path flag to find rgl modules
2011-02-28 15:45:55 +00:00
hallgren
10f2f3e7d7
gfse: support for opening RGL modules
2011-02-28 14:18:20 +00:00
hallgren
fc1471717c
gfse: minor documentation and style improvements
2011-02-28 12:41:05 +00:00
aarne
e455f86608
new synopsis after Rus bug fix
2011-02-28 13:40:49 +00:00
aarne
a786f1c809
the command show_operations to inspect opers in scope
2011-02-28 13:31:04 +00:00
aarne
e02e27f24b
German verb form for haben; extended TryGer
2011-02-27 16:36:24 +00:00
aarne
13c66a1cd7
the Mixed conjugation
2011-02-27 16:36:01 +00:00
aarne
5536c31585
removed message showing what modules are read unless in verbose mode
2011-02-26 10:25:09 +00:00
aarne
593152871e
generalized V2V construction to present participles
2011-02-26 10:24:32 +00:00
aarne
dd937731f6
Predef.error surfaces as error message in compilation and cc command
2011-02-25 17:01:10 +00:00
aarne
804f7edddd
simple grammar for dates
2011-02-25 15:44:25 +00:00
aarne
ffc78017b2
command ga moved to option 'aw -giza'
2011-02-25 12:55:36 +00:00
aarne
ba98fb8698
FoodsNep by Dinesh Simk
2011-02-24 14:05:16 +00:00
aarne
33ef398076
that_Subj in Finnish
2011-02-24 08:20:55 +00:00
aarne
89c3f5555f
that_Subj in Bul
2011-02-24 08:13:58 +00:00
hallgren
b2917c5652
gfse: allow definitions to be reordered by drad-and-drop
2011-02-22 16:04:49 +00:00
hallgren
6173291ec1
gfse: fix typos
2011-02-18 14:51:06 +00:00
hallgren
e2096fef35
gfse: document that grammars can be uploaded and tested in the GF shell, the minibar and the translation quiz
2011-02-18 14:47:20 +00:00
hallgren
f0a80d0ea6
gfse: updated screen shots
2011-02-18 14:46:18 +00:00
hallgren
1ee4844fca
gfse: support for linking to the translation quiz
2011-02-18 11:44:05 +00:00
hallgren
f65aff1d21
translation quiz: always show the grammar menu
2011-02-18 11:52:08 +00:00
hallgren
f7e791e0e8
translation quiz: a small change to make easy to select an alternate grammar directory
2011-02-18 11:51:41 +00:00
hallgren
69e7262286
gfse: some small fixes
...
+ 'make install' to copy all required files to the server
+ configuration options and error checks in upload.cgi
2011-02-17 17:35:22 +00:00
hallgren
1715f683dc
Adding the prototype GF editor for simple multilingual grammars
2011-02-17 14:43:41 +00:00
hallgren
b7e13dafa1
Adding the prototype GF editor for simple multilingual grammars
2011-02-17 14:42:16 +00:00
hallgren
60980e40e4
Adding the prototype GF editor for simple multilingual grammars
2011-02-17 14:38:46 +00:00
aarne
a533b68c55
example/Discourse for English too
2011-02-09 22:57:56 +00:00
aarne
3b713801ad
discourse devices for English
2011-02-09 22:57:27 +00:00
aarne
78741bd973
factored DiscourseFin to 4+5 constructors
2011-02-09 17:11:45 +00:00
aarne
0bc1fbccf5
more general discourse particles in Finnish
2011-02-09 16:42:15 +00:00
aarne
c2d382746e
more work on Finnish ClausePlus
2011-02-08 19:27:35 +00:00
aarne
438f267e7e
experimenting with discourse particles in DiscourseFin
2011-02-08 15:49:47 +00:00
aarne
ff1413e801
ExtraFin functions for word order variations
2011-02-08 15:49:04 +00:00
aarne
55d15c9bf8
examples/discourse on Finnish discourse particles and their translations
2011-02-08 12:30:13 +00:00
hallgren
b380d4ba37
Download page: added Mac .pkg from Jordi Saludes
2011-02-07 12:20:02 +00:00
aarne
e4eccba450
a simple clitic analysis command 'ca'
2011-02-06 16:19:24 +00:00
aarne
a710e3fdee
removed some nonsense-producing variants from Query
2011-01-31 10:03:59 +00:00
aarne
ab93051b25
new Foods grammars: Fre by Hissu Hyvärinen and Spa by Maarit Koponen
2011-01-31 08:25:28 +00:00
aarne
d661d45b1e
corrections to ancientgreek encoding by Hans Leiss
2011-01-31 08:06:42 +00:00
aarne
37ace15733
started CompilerAPI, still dummy
2011-01-28 15:28:05 +00:00
hallgren
bfc91294e1
minibar: a small change to make easy to select an alternate grammar directory
2011-01-27 22:23:15 +00:00
hallgren
95055e8cd8
Translation Quiz: fix for race condition on page load
2011-01-26 16:21:23 +00:00
krasimir
3a2396ba3b
capitalize the abreviation TNT in DictEng
2011-01-25 14:24:03 +00:00
hallgren
ad5316279b
Translation quiz: improvements from Elnaz
2011-01-25 11:58:49 +00:00
aarne
6fa1d913e9
bug fix in Dutch infinitive vp
2011-01-24 15:01:43 +00:00
hallgren
57d150c970
New item. GF is part of the CLT Toolkit
2011-01-22 14:26:15 +00:00
hallgren
60d16b8236
Fix broken links in GF Quick Reference
2011-01-22 14:14:00 +00:00
krasimir
31841af9a4
those words that didn't have plural forms in DictEng, now gets it from the smart paradigms
2011-01-21 12:34:12 +00:00
krasimir
da35629836
fixes in DictEng
2011-01-21 09:53:31 +00:00
hallgren
fa275c3955
News: Phrasedroid on the Android Market
2011-01-18 13:13:02 +00:00
hallgren
81a1368a95
style.css: remove border from linked GF logotypes
2011-01-18 12:59:55 +00:00
hallgren
1f9c15ea23
Release notes: added a link to documentation of the bracketed string data structure
2011-01-12 13:01:23 +00:00
aarne
578591806f
added Afrikaans (draft, direct adaptation from Dutch)
2011-01-12 08:07:30 +00:00
aarne
5661ecde18
added swahili (fragments) by Wanjiku Ng'ang'a and Juliet Mutahi
2011-01-12 08:06:19 +00:00
hallgren
ea0f0102c0
Fixed a couple of release note typos
2011-01-11 16:09:20 +00:00
aarne
9c3e74ee4a
gf-book web page index and toc
2011-01-11 15:46:43 +00:00
hallgren
fa54c29616
download: added an note that the .deb packages work on both Ubuntu 10.10 and 10.04.
2011-01-11 14:24:17 +00:00
hallgren
cf916c66e7
Link back to the start page from the demo and download pages.
2011-01-11 14:22:28 +00:00
hallgren
1372f68858
Reinstated the link to the multilingual wiki demo
2011-01-11 14:07:11 +00:00
hallgren
2ebf3649cf
minibar: update my home page link (cs->cse)
2011-01-11 13:18:19 +00:00
hallgren
f43a97ec78
Demos: added a link to the Online syllogism solver
2011-01-11 13:11:08 +00:00
krasimir
72529388bf
added testsuite for the parser
2011-01-10 10:34:09 +00:00
hallgren
b8c1a09896
The name of the fastcgi executable has changed back to pgf-service
2011-01-09 15:32:17 +00:00
krasimir
adbe9cd94d
fix the computation of abstract expressions in the presence of implicit arguments
2011-01-08 20:55:58 +00:00
krasimir
d9d00e172a
fix the definition of functor composition in category theory
2011-01-08 20:43:45 +00:00
krasimir
e41df3c873
bugfix in the handling of implicit arguments in the typechecker
2011-01-08 12:55:50 +00:00
hallgren
ac52ae805d
Download page: some more details on how to install the from darcs repository
2011-01-03 14:42:11 +00:00
hallgren
02c778356d
Download page: add .deb package for easy installation in Ubuntu
2011-01-03 14:41:27 +00:00
aarne
8800c841a8
some more notes on clitics
2010-12-29 22:48:08 +00:00
aarne
01e0dac456
started grammar extending FreqFin with tricky clitic syntax
2010-12-29 22:04:52 +00:00
aarne
5d84849e70
added DictCompFin; started frequency-based Finnish grammar
2010-12-29 11:42:56 +00:00
aarne
fbbd1981e3
fetching DictFin words by Paradigms functions
2010-12-29 10:16:10 +00:00
aarne
d1301b75f1
more efficient way of compiling Finnish compounds
2010-12-29 09:22:07 +00:00
aarne
3f9313cc0f
started project with Finnish frequency dictionary
2010-12-28 20:47:27 +00:00
aarne
ed4e07d0c2
separated the modules for compound and ordinary words in building DictFin. Both have about 40k lemmas
2010-12-28 20:17:08 +00:00
krasimir
cdebaef7ef
The GF editor now lets the user to upload his/her own grammars
2010-12-28 16:26:10 +00:00
aarne
0fd9d1f1a7
prepared Kotus to produce adjectives and compounds (by heuristics)
2010-12-28 15:33:52 +00:00
hallgren
c9ca289a7c
Fix to compile GF with GHC>=7.0
2010-12-28 13:54:18 +00:00
aarne
575c009d45
added missing instance for mkNP for Ord for backward compatibility
2010-12-28 08:49:51 +00:00
aarne
74bfd6f339
DictFin: 43k lemmas from KOTUS word list
2010-12-27 21:16:26 +00:00
aarne
90a9149a5c
started adding KOTUS verbs in Finnish
2010-12-27 13:38:22 +00:00
hallgren
34e6ed3220
Switch over start page and download page to version 3.2!
2010-12-23 20:35:36 +00:00
hallgren
6e901df635
Somewhat better release notes, but more things could be added and some thing could be explained better.
2010-12-23 19:57:41 +00:00
hallgren
363ec708ab
download: add 64-bit Linux version + more details in the instructions for building from source
2010-12-23 17:03:40 +00:00
hallgren
da4f5cf607
gf-server.cabal: changes to stop cabal from demanding hsql even when content-server is not going to be built
2010-12-23 17:02:13 +00:00
aarne
60135a52ac
synopsis with corrected Urd
2010-12-23 16:06:56 +00:00
aarne
012f3d5be1
urdu versions of hindustani files with strings
2010-12-23 15:32:53 +00:00
hallgren
ba70201b1a
Got release not from Olga's notes. They need to be fleshed out, though.
2010-12-23 15:12:31 +00:00
aarne
2f4b376b94
updated quick start
2010-12-23 15:09:31 +00:00
hallgren
5f16e3134b
build-binary-dsit.sh: make paths relative to /usr/local in the final tar file.
2010-12-23 12:40:04 +00:00
hallgren
8afbc3cbbc
Use i386 rather than i486 in binary package names
2010-12-23 12:18:11 +00:00
aarne
f2c57d32bd
typo in Constructors
2010-12-23 11:57:51 +00:00
hallgren
b2b6def050
Include Urd in the default set of languages to compile
2010-12-23 11:44:40 +00:00
aarne
e78d475b9f
french these and those
2010-12-23 11:30:32 +00:00
hallgren
ebd0262b3a
Update version number to 3.2.
...
Code freeze for generation of binary distribution packages is imminent.
2010-12-23 11:26:33 +00:00
hallgren
f2e57c401a
Add release notes file download/release-3.2.t2t. Someone should fill it in.
2010-12-23 11:21:19 +00:00
hallgren
99f1f4e370
Apply stylesheet to GF quickstart
2010-12-23 10:32:39 +00:00
aarne
02e56187d3
this_Det etc in synopsis (since they are used in tutorial)
2010-12-23 10:06:05 +00:00
aarne
9bf21b0b5e
word alignment ex in tutorial
2010-12-23 10:05:27 +00:00
aarne
314faeaffa
fixed corrupted character in tutorial FoodIta
2010-12-23 10:04:50 +00:00
aarne
f117e7b3b7
updated tutorial and quickstart for 3.2
2010-12-23 09:33:11 +00:00
hallgren
d47da82d00
Setup.hs: build both alltenses and present by default
...
Now you can specify more than one mode when building and installing the RGL.
For example to build all modes, run
runhaskell Setup.hs build alltenses present minimal
The default is to build alltenses and present, which means that a single
command,
cabal install
is enough to obtain a normal installation of GF. Without this change, additional
build and install commands would be required before you can compile example
grammars, like Foods and Phrasebook.
The build-binary-dist.sh script has been simplified accordingly.
2010-12-22 21:18:47 +00:00
aarne
e93fdce56f
restored OrigMorphoPol and OrigNounMorphoPol to make ParadigmsPol compilable
2010-12-22 17:02:01 +00:00
aarne
a8e01164e8
FoodsPes and Sofy in status
2010-12-22 14:47:54 +00:00
hallgren
060f4e1866
Documentation fixes
...
+ Rename some txt2tags file from .txt to .t2t and remove abandoned .txt files.
+ Add program update_html that finds all .t2t documents and updates the
corresponding .html file. It can be invoked with 'make html'.
+ Add style to some .html documents
2010-12-22 16:57:53 +00:00
hallgren
0a52aaf81d
PGF web service: make the generated index.html for pgf-http a bit more informative
2010-12-22 15:06:02 +00:00
hallgren
18338b0ee4
gf-server.cabal: update description of fastcgi flag
2010-12-22 15:05:10 +00:00
hallgren
a5b661700b
gf-server.cabal: make hsql-mysql optional like fastcgi
...
content-service depends on hsql-mysql, which depends on a C library, so like
fastcgi, only compile it if you ask for it explicitly with -ffastcgi.
2010-12-22 14:59:49 +00:00
hallgren
5dd58dfca6
gf-server.cabal: Change the default for the flag fastcgi to False
...
If you want the fastcgi server, use cabal install -ffastcgi.
This is to avoid problems when you only want to compile pgf-http and the
fastcgi library fails to install, which it usually does, since it depends on
a C library which is not installed automatically with cabal.
2010-12-22 14:49:17 +00:00
hallgren
681c5d25dd
PGF web service: Use Content-Type text/javascript from JSON output
...
The Content-Type used to be text/json, but this caused warning messages in
some web browers.
2010-12-22 14:47:35 +00:00
aarne
4c48dc3bc2
removed GF/deprecated
2010-12-22 14:11:55 +00:00
aarne
48b55ac98a
moved parts of doc to deprecated/doc
2010-12-22 14:08:42 +00:00
krasimir
9b9dbfb1d6
added GrammarsPanel in the GF editor
2010-12-22 13:51:26 +00:00
aarne
192b3b4e0a
updated GF/index.html
2010-12-22 13:06:03 +00:00
krasimir
9ae3a7b30d
tweak gf-server.cabal
2010-12-22 12:32:13 +00:00
aarne
1ae49d8eb6
refined synopsis
2010-12-22 09:57:16 +00:00
aarne
9907760974
fine-tuning the synopsis
2010-12-22 08:39:46 +00:00
aarne
1de916b76d
making synopsis work for structural words, etc
2010-12-21 23:23:20 +00:00
hallgren
0194769f05
Add build-binary-dist.sh
2010-12-21 22:18:48 +00:00
aarne
408516a189
mkNumeral for strings 1-999
2010-12-21 15:32:23 +00:00
aarne
618c06131d
structural in api examples
2010-12-21 15:31:55 +00:00
krasimir
01d05b6736
more clear LICENSE file for GF
2010-12-21 10:57:54 +00:00
aarne
4f244b6eec
remove -src from Setup; simplified str2numeral; bug fix in Finnish ordinal inflection
2010-12-21 09:58:12 +00:00
hallgren
2c91730b9d
download/index-3.2.t2t: first version of download page for GF release 3.2
2010-12-20 21:56:10 +00:00
hallgren
a5ad9c789e
css/style.css: a style sheet for GF web pages
2010-12-20 21:54:51 +00:00
hallgren
bb38a011fe
index.html: changes for release 3.1.6
...
It's a bit late. I don't know why these changes haven't been recorded before...
2010-12-20 21:35:38 +00:00
aarne
59c7ce9d7e
synopsis doc completed
2010-12-20 15:56:23 +00:00
aarne
8f9e72ae4c
mkTemp in api; Inf to aux in SentenceEng bug fix
2010-12-20 14:10:48 +00:00
hallgren
9509a451e0
New demo: translation quiz. Remove outdated demos/index.txt
2010-12-20 17:33:34 +00:00
aarne
11086f981d
completed Paradigms documentation for Cat,Ita,Nor,Spa,Dan
2010-12-19 11:33:02 +00:00
aarne
c4f2ebacb2
Adam's new Polish noun lexicon
2010-12-19 11:32:32 +00:00
asl (at) mimuw.edu.pl
f653dec8c9
Polish noun morphology
...
This is a very cool christmass update that consists of entire new version
of the Polish noun morphology and some minor bugfixes. The new description
of the morphology is generated automaticaly from some linguistic resources that
have benn recently released free. This description covers (probably) all
the Polish nouns.
2010-12-18 01:08:27 +00:00
hallgren
3816623310
gf.cabal: version 3.1.91, remove pgf-http
...
The version of cabal distributed with Ubuntu 10.10 is too old to handle
executables that refer to the library in the same package, so to not make it
too complicated for Ubuntu users to compile GF from source, pgf-http is no
longer part of the main gf.cabal. :-(
2010-12-17 16:59:35 +00:00
hallgren
6b6d1407c8
Add -optimize-pgf to Makefile for Foods.pgf
2010-12-17 16:47:25 +00:00
hallgren
0374f327d6
minibar.html: omit explicit grammars_url option
...
The grammars will then by default be fetched from the same server as
minibar.html. This means that everything will be served locally when accessing
minibar through a locally running pgf-http.
2010-12-17 16:43:11 +00:00
hallgren
fb807d307c
minibar/support.js: fix comment typos and add links
2010-12-17 16:42:08 +00:00
hallgren
c9d9db121a
pgf-http now uses $datadir/www instead of ./www as the document root
...
Along with the changes to Setup.hs it should now be enough to do
cabal install
pgf-http
open http://localhost:41296/
to run the PGF service locally and play with some example grammars in minibar.
2010-12-17 16:35:59 +00:00
hallgren
31c09c8846
RunHTTP.hs: remove hardcoded document root
...
The document root is now part of the arguments passed to runHTTP.
2010-12-17 16:33:54 +00:00
hallgren
72148feeb9
Install minibar and some example grammars along with pgf-http
...
Together with the changes to pgf-http, this should make it much easier to run
the PGF service and minibar locally.
2010-12-17 16:29:22 +00:00
aarne
6250c85417
controlling the substantival and adjectival det forms in english
2010-12-17 14:04:05 +00:00
aarne
b3dc045e3f
VV with present participle in Eng, e.g. start doing
2010-12-17 13:26:01 +00:00
krasimir
2262c105ab
bugfix: GeneratePMCFG should initialize the lexicon to empty
2010-12-17 09:11:04 +00:00
krasimir
e52f8dda61
bugfix: setProbabilities should be more robust when there are missing probabilities for some functions or categories
2010-12-17 09:09:07 +00:00
aarne
cb73519ffd
synopsis with better intro and Urdu improvements
2010-12-17 08:51:28 +00:00
virk.shafqat
75fe9c2155
refinements-2010-12-16
2010-12-16 15:58:04 +00:00
aarne
0b563f1fb7
use que rather than quoi as what_IP in Fre
2010-12-16 16:27:40 +00:00
aarne
28e3f12007
fixes in QueryFre
2010-12-16 16:27:13 +00:00
aarne
7755babaa2
some fixes in QuerySwe; a first version of QueryFre
2010-12-16 15:53:07 +00:00
aarne
dd48c035ab
added to Romance the constructs missing for Query
2010-12-16 15:52:29 +00:00
aarne
1d644bf469
documented ParadigmsDut
2010-12-15 15:47:00 +00:00
aarne
d44ba54ef2
recognize digits in synopsis examples
2010-12-15 15:46:17 +00:00
aarne
39925b8e5d
added Ina api files
2010-12-14 22:20:02 +00:00
aarne
803fad9b02
more paradigm info in synopsis; removed synopsis.txt from darcs
2010-12-14 22:16:28 +00:00
aarne
99b928bca9
documented Paradigms for Swe, Ger, Fre
2010-12-14 22:06:52 +00:00
aarne
2b399e5356
updated documentation of pg -printer formats
2010-12-14 22:05:53 +00:00
aarne
fe82e6b50d
documented the pgf -printer values for help
2010-12-14 20:40:17 +00:00
aarne
22e50ae31c
option cc -list added
2010-12-14 17:42:42 +00:00
krasimir
1f1a0d7ada
PGFToCFG should use the full production set because the lexicon is now split out
2010-12-14 21:25:43 +00:00
krasimir
f62d6a7ed4
now every parse state keeps reference only to the concrete and the abstract syntaxes but not to the whole PGF
2010-12-14 17:20:53 +00:00
hallgren
2228568fc7
numerals: add language flags
...
to help minibar pick the right default language
2010-12-14 16:41:28 +00:00
hallgren
ab5b02d65c
Update version number to 3.1.90 to indicate that we are getting close to the 3.2 release
2010-12-14 15:43:35 +00:00
aarne
22a3eb2f0a
work-around in Tree.expr2tree to make Paraphrase work
2010-12-14 14:36:05 +00:00
aarne
07d95b2b3f
type checking of oper types with let expressions
2010-12-14 14:35:41 +00:00
aarne
f571efd963
fixed typo in ParadigmsEng
2010-12-14 14:35:21 +00:00
aarne
6b682ebd55
paradigms annotated in Fin
2010-12-14 13:06:56 +00:00
aarne
924f48d8f8
explanations to paradigms in synopsis
2010-12-14 12:28:10 +00:00
aarne
b498e45dce
annotated some Paradigms for documentation
2010-12-14 12:27:05 +00:00
aarne
473c986274
updated Ina so that API compiles
2010-12-14 09:52:39 +00:00
krasimir
8a0b3b8ba8
optimization in the parser for large lexicons. Now, the parser is slightly slower for grammars with a small lexicon but 3-4 times faster for the English Resource Grammar used in combination with Oxford Advanced Learners Dictionary
2010-12-14 08:46:22 +00:00
krasimir
5c22ec030c
update the testsuite for the parser to the latest API
2010-12-13 17:53:06 +00:00
aarne
6a2912bb1c
more examples in synopsis
2010-12-13 17:28:34 +00:00
aarne
61b2192ac8
added Rus and Urd to synopsis
2010-12-13 08:57:27 +00:00
aarne
42f67b2913
synopsis with hover popup examples
2010-12-12 19:50:24 +00:00
aarne
28215c4445
added ExtraPolAbs
2010-12-11 20:51:40 +00:00
aarne
bbb79126b8
auxiliaries for making the synopsis with multilingual examples
2010-12-11 20:47:53 +00:00
aarne
da670babaa
cleaned up lib modules for better doc in synopsis
2010-12-11 20:33:49 +00:00
aarne
de6437f035
eliminated some variants from Nor resource
2010-12-11 16:28:36 +00:00
aarne
54f04ecb5a
fixed the failure to partial-evaluate pre in right-associative context
2010-12-11 16:27:35 +00:00
gdetrez
99c38bf070
In the haskell code, we make the binary representation of the doubles compliant with IEEE 754.
...
The default binary representation in haskell's Data.Binary package is
homemade and quite complicated. Making it compliant with IEEE 754 will
make it easyer for the java runtimes (and probably others) to load the
PGF.
2010-10-19 18:34:29 +00:00
aarne
7b9e55650b
preparing resource api for multilingual documentation
2010-12-10 08:48:26 +00:00
hallgren
847561d2f6
minibar/support.js: add an errorcallback parameter to ajax_http_get
2010-12-09 16:38:16 +00:00
aarne
e2fa109fa0
no pro drop for polite forms in PhrasebookPol
2010-12-08 15:26:25 +00:00
aarne
18b58943df
ProDrop in PhrasebookPol
2010-12-08 14:01:34 +00:00
aarne
08fc615bba
ProDrop in ExtraPol
2010-12-08 14:01:12 +00:00
aarne
d7f4f66835
using CompCN in the api: mkCl, mkQCl, mkVP
2010-12-08 12:57:18 +00:00
krasimir
ba042f85d1
some more functions in GF.Data.TrieMap
2010-12-08 12:51:37 +00:00
aarne
eb6bbb26f1
Punjabi api files
2010-12-08 12:40:46 +00:00
aarne
0cae4151e3
CompCN in Hindustani and Pnb by Shafqat
2010-12-08 10:59:48 +00:00
ra.monique
cdea282e8b
added CompCN to Romance and Romanian
2010-12-07 21:48:25 +00:00
krasimir
92266359d3
fixed typos in the documentation for PGF.Parse
2010-12-08 10:32:18 +00:00
krasimir
3d1f73ddec
CompCN in Bulgarian
2010-12-08 08:20:11 +00:00
krasimir
a9218ff45c
simple refactoring in PGF.Macros and related
2010-12-06 14:19:51 +00:00
aarne
1c2b1828b1
CompCN added to Ger Fin Dut Rus Pol
2010-12-07 20:23:57 +00:00
aarne
ff23d6db76
optimize-pgf and file flag in pg -pgf
2010-12-07 19:28:40 +00:00
aarne
1b24f4490c
moved PGF.ToApi to GF.Compile.ToAPI
2010-12-07 18:05:13 +00:00
aarne
a27dd5fef4
shell command pg -pgf writes current pgf into a file
2010-12-07 16:05:37 +00:00
hallgren
b0cafee950
minibar.js: restore start_miniabr function for backward compatibility
2010-12-07 13:00:36 +00:00
aarne
c9b5b948ba
wir without capitals in PhrasebookGer
2010-12-07 12:54:05 +00:00
aarne
e4b330b8cc
slight refactoring of Phrasebook, with less start words
2010-12-07 12:32:57 +00:00
aarne
e1c7cddc6c
completed Constructors API with missing cats, annotated constructors
2010-12-06 22:43:55 +00:00
aarne
1b10c7dd45
refactored api/Constructors.gf for easier maintenance in the future
2010-12-06 17:28:36 +00:00
aarne
17415e0be3
changed animals so that it compiles, after manual removal of duplicated api functions (to be fixed in ToAPI)
2010-12-06 11:03:00 +00:00
aarne
a3ae8cf696
printing option -api in the eb command
2010-12-06 10:49:38 +00:00
ra.monique
1e5a0c9d9e
no more IO in the syntax to API translator
2010-12-06 10:15:14 +00:00
aarne
86bc73cb03
vt -api with conversion to resource API names
2010-12-06 09:53:04 +00:00
ra.monique
faaddfe54b
added syntax to api translation module
2010-12-05 19:51:19 +00:00
hallgren
38e394dc8f
minibar: rewrite minibar.js in a more idiomatic JS OOP style
...
This provides easier access to minibar internals for people who want to extend
it, but probably also reveals too much of the internal machinery...
2010-12-01 16:37:14 +00:00
hallgren
a8134994ab
Let minibar keep its own copy of tree-btn.png
2010-12-01 16:28:27 +00:00
hallgren
3a432f80fe
support.js: add function bind (JS OOP trick)
2010-12-01 16:20:28 +00:00
aarne
b552f2a46c
documentation in gfm-format examples (dir renamed from multi)
2010-12-01 08:10:23 +00:00
hallgren
bef7f8b053
Setup.hs: improved langs=... option
...
Instead of just giving an explicit list of languages to compile, you can
now also add and remove languages from the default list by using langs=+...
or langs=-...
Examples:
cabal build langs=Eng,Swe,Ger -- as before, compile the given 3 langs
cabal build langs=-Fin -- use default languages, but omit Fin
cabal build langs=+Urd -- use default languages + Urd
("cabal build ..." is the same as "runhaskell Setup.hs build ...")
2010-11-30 16:49:15 +00:00
hallgren
7669828212
Setup.hs: omit urdu when compiling the rgl, for now.
2010-11-30 16:29:36 +00:00
aarne
412fb87343
two examples of the .gfm format
2010-11-30 14:54:03 +00:00
aarne
3506b313c1
format .gfm for multiple modules in the same file; includes lines with ;-separated words
2010-11-30 14:50:24 +00:00
ra.monique
33118ad9d6
fixed SUMOEng with open instead of import for the Extension module
2010-11-28 19:38:56 +00:00
hallgren
ee4d264896
minibar/about.html: minor adjustments
2010-11-28 11:52:48 +00:00
hallgren
5acc248546
Use the internal preprocessors mkPresent and mkMinimal
2010-11-26 18:49:01 +00:00
hallgren
92da4008e0
Add builtin preprocessors. Avoid creating tmp file. Fix multipreprocessor bug.
...
* The gf command line options -preproc=mkPresent and -preproc=mkMinimal now
refer to internal preprocessors equivalent to lib/src/mkPresent
and lib/src/mkMinimal.
* The temporary file _gf_preproc.tmp is not created when running an
internal preprocessor, unless there is an error, since errors messages
refer to locations in the preprocessed file. (Possibly allowing the rgl
build to be parallelized.)
* After running an external preprocessor, the temporary file is deleted,
unless there was an error.
* (Bug fix) Before, when running more than one preprocessor, the same file name
would be used for both input and output, e.g.,
mkPresent _gf_preproc.tmp > _gf_preproc.tmp
which would result in an empty file being processed. Now, the input and
output files will always be different.
2010-11-26 18:25:29 +00:00
aarne
bb593d6143
imports in SymbolHindustani
2010-11-26 16:33:33 +00:00
hallgren
1867e6bd88
Adding rules for pgf-http to main gf.cabal file
...
pgf-http is now part of the standard GF build & install.
2010-11-26 15:44:43 +00:00
hallgren
5fd4efd960
Split pgf-server into pgf-fcgi and pgf-http.
...
The dependency on the fastcgi package made pgf-server difficult to compile, so
it is now split into
- pgf-fgci (main module in pgf-fcgi.hs), which is built only if fastcgi is
already installed or if you turn on the fastcgi flag (e.g. by doing
'cabal install -f fastcgi').
- pgf-http (main module in pgf-http.hs) which is always built (and hopefully
has no problematic dependencies.)
The modules FastCGIUtils and PGFService no longer depend on fastcgi.
2010-11-26 14:30:51 +00:00
hallgren
9532a34a2a
pgf-server: more useful JSON output from lineraizeAll
...
Example:
Request: http://www.grammaticalframework.org:41296/grammars/Quiz.pgf?command=linearizeAll&tree=Run+YouPl
Response: [{"to":"QuizEng","texts":["you run"]},
{"to":"QuizSwe","texts":["ni l??per","ni springer"]}]
Compared to the old command linearize:
Request: http://www.grammaticalframework.org:41296/grammars/Quiz.pgf?command=linearize&tree=Run+YouPl '
Response: [{"to":"QuizEng","text":"you run"},
{"to":"QuizSwe","text":"ni l??per"}]
2010-11-25 18:30:30 +00:00
aarne
0460ed2d8b
DiffUrd and Hin; updated Transliteration.hs
2010-11-25 12:22:58 +00:00
aarne
62cfeef03e
linearizeAll in PGFService
2010-11-24 21:17:29 +00:00
aarne
b46cbd4d9a
updater resource status and synopsis
2010-11-24 14:49:42 +00:00
aarne
35773ccca5
Punjabi resource by Shafqat and Humayoun.
2010-11-24 13:43:53 +00:00
aarne
fb678fcd6c
Hindi and Urdu as refactored to Hindustani by Shafqat
2010-11-24 13:20:31 +00:00
aarne
e37e6df775
lang flag in align_words sets the list of languages
2010-11-22 22:41:29 +00:00
krasimir
159b68f946
command ai in the shell now shows the probability of the tree
2010-11-24 12:51:54 +00:00
krasimir
920702289a
few more trees in the English treebank
2010-11-24 09:13:25 +00:00
krasimir
fbb8f00e04
added GF treebank for English based on FraCas
2010-11-23 17:14:42 +00:00
krasimir
ef8f8fec87
some more fixes in DictEng.gf
2010-11-23 17:12:29 +00:00
krasimir
d4bfdba6ce
remove some redundant adverbs from DictEng.gf
2010-11-22 13:50:25 +00:00
hallgren
ab3327dab8
minibar/about.html: document recent development
2010-11-23 12:26:32 +00:00
aarne
b8f81b1a20
completed book examples
2010-11-22 15:48:52 +00:00
aarne
46137ab6a6
started a subdir for the book
2010-11-22 12:55:37 +00:00
aarne
8ab5ec00c6
tools/Multi, a script for generating multilingual lexicon grammars with the minimum of effort
2010-11-19 16:50:32 +00:00
aarne
94d818c60a
constructor PositAdAAdj in Adverb, for most langs
2010-11-19 16:49:30 +00:00
aarne
48a327ddee
MkSynopsis script with non-utf8 source files
2010-11-19 10:49:43 +00:00
aarne
222e847482
cat Interj in lib
2010-11-17 08:32:38 +00:00
aarne
e9679e57af
fixed some bugs in translation quiz
2010-11-17 08:30:02 +00:00
krasimir
a995c94429
bugfix in function prefixV in ParadigmsEng
2010-11-17 15:21:06 +00:00
krasimir
4a8d0598d1
forgot to add ContentService.java in the GF Editor
2010-11-17 10:46:00 +00:00
aarne
4febf77ae2
query language versions merged
2010-11-15 17:28:39 +00:00
krasimir
60a401057f
bugfix for the abstract operations
2010-11-15 09:38:31 +00:00
aarne
c4a69d7c4a
flags in Setup.hs to speed up library compilation
2010-11-13 22:18:41 +00:00
krasimir
fe1205059b
operations in the abstract syntax
2010-11-12 19:37:19 +00:00
hallgren
75323ff56c
examples/numerals: adapt to current GF syntax
2010-11-12 16:46:44 +00:00
aarne
ac54c8e6e5
lib/amharic by Markos Kassa Gobena
2010-11-10 17:01:12 +00:00
hallgren
906b185d2f
Some pgf-server API documentation
2010-11-09 21:02:07 +00:00
hallgren
98bd4f9ae5
pgf_online.js: if a grammar list is supplied, you don't have to call switch_grammar.
2010-11-09 16:29:04 +00:00
hallgren
d0efcc035c
Make PGFService.hs compile again
...
+ PGFService.hs: add Nothing arguments in calls to PGF.parse_ and
PGF.getPArseOutput
+ gf-server.cabal: mark content-server as not buildable, since required source
files are missing.
2010-11-09 15:08:37 +00:00
hallgren
92cf1bdb85
minibar.js: code simplification
2010-11-09 11:58:38 +00:00
hallgren
48effe4922
support.js: two new functions: commonPrefix & insertFirst
2010-11-05 15:41:06 +00:00
krasimir
c1d91b7f50
fix the history management in the editor
2010-11-07 16:17:15 +00:00
aarne
0c8944781b
Punjabi morphology from Humayoun
2010-11-04 17:03:19 +00:00
aarne
e745881e4a
trying to find some inefficiencies in Finnish resource
2010-10-25 19:56:47 +00:00
krasimir
cd0a9982bd
preliminary UI for storage/retrieval/search of documents in the GF editor
2010-11-01 09:25:22 +00:00
ramona.enache
cd69929b4d
added giza Alignments with command ga and merged the rendering algorithm for graphviz and giza alignments
2010-10-31 13:39:01 +00:00
ramona.enache
5d24545163
fixed DemoSpa for the SMT workshop
2010-10-31 13:38:10 +00:00
hallgren
592206e6a8
minibar.js: bug fix: when not using group translation, and a particular language is chosen in the To: menu, the translation would not be displayed
2010-10-28 12:39:56 +00:00
hallgren
c4f8fa82b7
minibar.js: bug fix: the To: menu wasn't updated properly when switching grammars
2010-10-28 11:53:50 +00:00
krasimir
559403eba5
update the testsuite. Now we can typecheck more programs than before
2010-10-27 17:58:40 +00:00
hallgren
4f7255dae2
minibar: restructured code and improved user interface
...
* Keyboard input and completion should now work much more smoothly:
+ When you press space, the current word will be completed (if incomplete)
and a new magnet will be created. If there is more than one possible
completion, no magnet is created, but the common prefix of the possible
completions is added to the text box.
+ Instead of asking the server for possible completions every time a new
letter is added to the curent word, minibar only ask for completions for
whole words and then filters the list locally when more letters are entered,
speeding things up when server responses are slow.
* Code restructuring:
+ The PGF server API has been moved to its own file: pgf_online.js. This
allows it to be reused in other applicaitons without importing the entire
minibar. It also allows minibar to be used with different server interfaces.
+ The minibar code has been rewritten to avoid storing state information
in the document tree and accessing it by referring to named document
elements. The code now also avoids using string literals contaning
the names of top-level functions to specify event handlers for buttons
and menus. (The code is no longer introspective, so alpha conversion will
not change its meaning.)
2010-10-26 12:42:33 +00:00
hallgren
41edd0a84f
support.js: some enhancements and new functions
...
+ ajax_http_get(url,callback) now checks the HTTP response status and shows an
error message if the status is not OK (is not 200)
+ New function node(tag,attrs,children) to create document nodes with arbitraty
attributes and children. The functions node() and text() should now be enough
to construct arbitrary document trees in an easy, functional way, and many of
the more specialized functions could be removed.
+ When calling the function button(label,action,key), the action can be a
function instead of a string, so you can use local/anonymous functions.
+ New function debug(str) adds text to the element with id=debug, if it
exists.
2010-10-26 11:52:04 +00:00
aarne
161dabcba1
new numerals/amharic.gf by Markos
2010-10-26 09:56:48 +00:00
krasimir
9802d534c0
when faced with hard unification problem the type checker should just postpone the decision instead of failing immediately. added test case as well
2010-10-25 15:47:33 +00:00
krasimir
75e8cba592
when we print the bracketed string it is useful to print the attached metavariables as well
2010-10-25 12:21:12 +00:00
krasimir
2965777003
update the testsuite to the latest state of the compiler/interpreter
2010-10-25 11:50:41 +00:00
krasimir
53306414b6
fixed typo in GeneratePMCFG.hs. fidFloat -> fidVar
2010-10-25 11:48:17 +00:00
krasimir
7666f8cc59
During the compilation, the final message "OK" should be displayed only if we are not in silent mode. This was changed incidentally on the way.
2010-10-25 11:31:16 +00:00
krasimir
8c751d404f
change the TcM monad to continuation passing style. The old monad caused stack overflow for large search spaces
2010-10-21 15:01:52 +00:00
krasimir
b3165b9eb6
added week day's names in SUMO for Bulgarian and Swedish
2010-10-21 14:48:04 +00:00
krasimir
09dde495ce
support for proof search with high-order functions
2010-10-21 12:47:26 +00:00
aarne
cebc6881b0
functorized Query and added Swe
2010-10-20 16:22:23 +00:00
aarne
8a29598f3c
English and Swedish resource functions for Query
2010-10-20 16:19:33 +00:00
krasimir
43cbc6693d
bugfix in the term generation
2010-10-20 13:36:39 +00:00
krasimir
6e23da41a2
fixed typo which broke the parsing with -openclass
2010-10-20 09:04:48 +00:00
krasimir
5acec7be21
in the type checker monad we should use lazy pattern matching because otherwise we force the exhaustive tree generation to be strict
2010-10-19 13:04:41 +00:00
krasimir
e12d96451d
in tutorial/smart remove the hack that forced the proof object to be resolved
2010-10-18 12:28:39 +00:00
krasimir
51452d4ef0
added explicit depth parameter to the parsing API and the corresponding command in the shell
2010-10-18 16:51:25 +00:00
krasimir
afce46b386
typo in PGF.TypeCheck which spoiled the previous patch
2010-10-18 16:50:55 +00:00
krasimir
7fb5fddbb8
now we use the GF reasoner to fillin meta variables in the abstract trees generated from the parser
2010-10-18 15:55:14 +00:00
krasimir
2d426cfc7f
forgot Birds.gf
2010-10-18 13:03:43 +00:00
krasimir
bb749d3b73
fixes in DictEng.gf
2010-10-18 12:14:05 +00:00
krasimir
ae7f8e4221
translation to English of the Birds dictionary
2010-10-18 11:41:39 +00:00
hallgren
0d1c3dc62b
minibar.html: add a <noscript> element with a note that the page doesn't work unless JavaScript is enabled
2010-10-23 14:56:10 +00:00
hallgren
dd7cd640ea
minibar.js: show the type error messages that can occur for grammars with dependent types
2010-10-18 12:15:30 +00:00
krasimir
423103c86c
typo in DictBul.gf
2010-10-18 09:08:53 +00:00
krasimir
fb24adb514
added one more overloaded version of compoundN in the Bulgarian library
2010-10-18 09:07:44 +00:00
krasimir
8b8cb03ccf
small Swedish/Bulgarian dictionary of birds in SUMO
2010-10-18 08:55:51 +00:00
hallgren
5400728ef7
minibar.js: add an option to enable/disable the Random button
2010-10-17 16:48:21 +00:00
krasimir
ab19a670a3
added .authorspellings file in the root directory
2010-10-16 13:10:06 +00:00
krasimir
9fdc7134e8
now since the type checking monad TcM is nondeterministic we can use the same monad in PGF.Forest.getAbsTrees
2010-10-14 14:28:40 +00:00
krasimir
1c36f1fa8d
generalize the nqueens function in NQueens.gf
2010-10-13 17:53:44 +00:00
krasimir
2ab3081c07
add start category S in NQueens. This helps the EditorApp to find the start category
2010-10-13 13:53:29 +00:00
krasimir
edf46e3a4d
use "-" and ";" instead of "_" and "\n" in NQueens
2010-10-13 13:47:22 +00:00
krasimir
cc2232e289
bugfix in PGF.VisualizeTree for handling trees with implicit arguments
2010-10-13 13:32:48 +00:00
krasimir
aa6fd7b13f
WebUI: show error when depth/limit has invalid value
2010-10-13 12:53:42 +00:00
krasimir
f4603cf9d4
fix PGF.Generate.restart. The restart should be done only if there are some solutions found
2010-10-13 12:38:51 +00:00
krasimir
042790fdf6
the PGF service now can do both random and exhaustive generation. these functions now return both the generated tree and its linearization
2010-10-13 12:32:49 +00:00
krasimir
44336bf6d6
improved Web UI for queries
2010-10-13 12:31:38 +00:00
krasimir
1ce14c9120
added option -depth to command gr
2010-10-12 13:36:37 +00:00
krasimir
95733f0b1b
the exhaustive/random generator now knows how to handle computable functions in the types
2010-10-11 17:18:28 +00:00
krasimir
c145f18a19
update NQueens to use: 1) lists i.e. [Nat]; 2) implicit arguments
2010-10-11 17:17:04 +00:00
krasimir
e7f6239bc6
now the generation from template with meta-variables respects the dependent types
2010-10-11 09:59:57 +00:00
krasimir
9e484c7e8f
extended CountriesAndRegionsRon.gf
2010-10-10 13:10:21 +00:00
krasimir
adda4b8492
added dummy search box for documents
2010-10-07 16:18:45 +00:00
krasimir
d0a5b7a1ae
use TabBar for the links in the upper-left corner of the editor
2010-10-07 15:09:59 +00:00
krasimir
f52b157b34
dummy UI for documents saving/loading in the editor
2010-10-07 14:09:08 +00:00
krasimir
b10731fd97
forgot to remove a trace message
2010-10-02 13:38:00 +00:00
krasimir
7d9bbea985
backtracking for random generation is not enough. we must restart the search after each solution
2010-10-02 13:34:58 +00:00
krasimir
be9ad26aea
refactor the API for random generation again. Now PGF contains probabilities in the abstract syntax
2010-10-02 13:03:57 +00:00
krasimir
c0251e76c5
fixes in FridgeApp. now it is compatible with EditorApp
2010-09-30 08:08:57 +00:00
krasimir
72f505d7df
update PGFService to work after the extensions in the random generation API
2010-09-30 07:35:54 +00:00
krasimir
10a0d370dc
fix the compilation of FridgeApp
2010-09-29 14:15:36 +00:00
krasimir
f94725ba4a
restore the method BracketedString.render which was needed for TranslateApp
2010-09-29 13:53:13 +00:00
krasimir
7c43855ddf
add Magnet.getWord()
2010-09-29 13:47:51 +00:00
krasimir
eb7679763e
added compilation scripts for the editor
2010-09-29 13:32:23 +00:00
krasimir
f1713c3634
initial import of the new GF editor. Note: the FridgeApp is temporary broken. It will be fixed with the next patch
2010-09-29 13:17:48 +00:00
hallgren
518a27a009
minibar: work on adding back support for typing multiple words without pressing enter in between
...
It mostly works now, but some minor issues still need to be fixed.
2010-09-29 13:03:40 +00:00
aarne
9e53a4652d
extended Attempto with some constructs
2010-09-29 07:16:33 +00:00
aarne
303b3f4700
restricted Cat import in Numeral (for some languages; to do more)
2010-09-29 07:07:07 +00:00
aarne
d85c491451
fixes in French morpho quiz grammar
2010-09-28 16:52:48 +00:00
hallgren
31d0e84617
minibar: update about.html with description of recent changes
2010-09-28 11:46:32 +00:00
hallgren
6f2a3849f3
minibar/about.html: fix typos and formatting
2010-09-24 12:57:16 +00:00
hallgren
3d2bf753d4
minibar.html: specify charset, move initialization
...
Added a meta tag to specify that the file is in UTF-8. This makes the browser
(at least Firefox) assume that the JavaScript files are also in UTF-8, it seems.
Moved the call to start_minibar() from the <body onload="..."> to the end of
the file. The onload action is not executed until all images in the document
has been loaded, while javascipt at the end of the file is executed as soon
as the HTML file has been loaded. (Calling start_minibar() from the head of
the document would be too soon, since it refers to elements in the body,
which hasn't been loaded yet.)
2010-09-24 12:47:18 +00:00
hallgren
5e1f2c069f
pgf-server HTTP mode: omit charset from ContentType for static files
...
When pfg-server servers a static file in HTTP mode, it is output as is, so
specifying charset="iso-8859-1" could be wrong.
Note: the a charset can be specified with a meta tag in HTML files,
e.g. for files in UTF-8:
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
2010-09-24 12:34:38 +00:00
aarne
11bfee735d
restored the .ebnf grammar format
2010-09-24 12:39:49 +00:00
krasimir
4e715c3952
the first revision of exhaustive and random generation with dependent types. Still not quite stable.
2010-09-22 15:49:16 +00:00
krasimir
bc92927692
cleanup and export the Probabilistic API from PGF
2010-09-22 09:06:19 +00:00
krasimir
ec5052f899
rename BucharestIndia to BucharestRomania. Agreed with Adam Pease
2010-09-21 18:42:39 +00:00
krasimir
2654d1e5aa
added GeographyEng
2010-09-21 18:40:11 +00:00
krasimir
cce52f3646
fixes in Basic.gf to avoid loops in the reasoner
2010-09-21 18:38:06 +00:00
krasimir
6170d8ca35
since Satellite is already subclass of AstronomicalBody we could simplify the signature of NaturalSatellite_Class
2010-09-20 15:21:13 +00:00
krasimir
d75be87c3d
few more fixes in CountriesAndRegionsEng.gf
2010-09-18 17:29:02 +00:00
krasimir
144d0188fe
fix the linearization of GuineaBissau
2010-09-18 17:12:52 +00:00
krasimir
696c4e89de
cleanup CountriesAndRegions and Mondial. For some reasonthe abstract syntax for all countries was moved from CountriesAndRegions to Mondial. It is even more odd that there was a linearization for them both in CountriesAndRegions and Mondial
2010-09-18 08:57:50 +00:00
krasimir
5b089655bd
fix typo: the linearization of Iraq was Iran
2010-09-17 18:32:34 +00:00
krasimir
86f4b782a4
added MondialRon and CountriesAndRegionsRon with data imported from geonames.org
2010-09-17 16:22:10 +00:00
krasimir
ea8375dc44
fix the compilation of CountriesAndRegionsEng.gf
2010-09-17 16:20:47 +00:00
krasimir
323df01cd2
some comments in Mondial.gf
2010-09-17 16:19:40 +00:00
krasimir
e286359a15
remove Model and ProcessTask from MergeRon because they were already moved
2010-09-17 16:16:36 +00:00
krasimir
009c5d6889
remove SubClassC and subClassCStm from BasicEng, BasicRon and BasicFre
2010-09-17 15:53:58 +00:00
krasimir
efbc9e9d6d
bugfix in PGF.Type.pType: Agda style types like {x : A} -> B should not be supported in GF
2010-09-12 12:26:38 +00:00
hallgren
c533314843
minibar.js: server API code cleanup
2010-09-14 17:15:37 +00:00
hallgren
ee36bac494
minibar.js: bug fix: the current word should be accepted when you press enter if it matches one of the possible completions exactly
...
The current word is also accepted if there is only one remaining possible
completion.
2010-09-14 16:48:20 +00:00
hallgren
ed9999784f
minibar.js: add access keys to some of the buttons
2010-09-14 16:45:48 +00:00
hallgren
fa65026136
support.js: create buttons with access keys
2010-09-10 12:20:07 +00:00
hallgren
af8645a2f3
pgf-server HTTP mode: support the Accept-Language header
...
It is needed for the userLanguage field in the grammar info from pgf-server
2010-09-10 11:20:49 +00:00
hallgren
846b747cee
minibar: default input language is now the user's preferred language, if possible
...
This is implemented using the userLanguage field in the grammar info output by
pgf-server.
2010-09-10 11:03:46 +00:00
hallgren
f5f8369d97
minibar: use AJAX instead of JSONP when possible
...
Using AJAX instead of JSONP can give better caching in the browser, since the
URL doesn't need to contain a (dynamically generated) callback function name.
But because of the same origin policy in JavaScript, AJAX can only be used when
the HTML file is served from the same server as the PGF. The new function
http_get_json in support.js uses AJAX if this is the case, and falls back to
JSONP otherwise.
2010-09-10 08:38:11 +00:00
krasimir
f3a4b5b709
add QoSontologyEng and linearization for ProcessTask
2010-09-06 09:12:49 +00:00
ramona.enache
1c457f0380
added Model and ProcessTask in SumoFre and SumoRon
2010-09-06 08:58:30 +00:00
ramona.enache
4a6d43e07b
changed SUMOFre encodings
2010-09-06 08:30:22 +00:00
ramona.enache
3a322e75f5
added basic concepts of the SUMO ontology for French and Romanian
2010-09-04 21:19:03 +00:00
hallgren
c662d116f6
Minibar: PGF server API: pass callback functions directly instead of passing function names as strings.
2010-09-05 18:06:45 +00:00
hallgren
b14592b0d3
minibar: fix broken link to brushed-metal background
...
Solution: include a local copy of brushed-metal.png
2010-09-05 18:01:44 +00:00
aarne
bdf8805250
added Urd to Setup
2010-09-03 14:05:07 +00:00
hallgren
cff7dfcf7b
pgf-server HTTP mode: workaround for bugs in the httpd-shed package that prevented the fridge and translate web apps from working
...
queryToArguments "?&input=bla+bla"
returns [("&input","bla+bla")]
but should return [("input","bla bla")]
2010-09-03 13:12:08 +00:00
aarne
70b597dcbc
updated Lexicon and Phrasebook for Urd
2010-09-03 12:06:08 +00:00
aarne
dc64e18ef2
kein Deutsch and some other Phrasebook fixes
2010-09-03 09:02:00 +00:00
aarne
da15326109
prepared German for kein Deutsch
2010-09-02 16:48:22 +00:00
aarne
d93d426ed0
word order in indirect 'how far' questions in Eng and Dan
2010-09-02 16:18:35 +00:00
hallgren
c5f0b31dbe
pgf-server HTTP mode feature: return the contents of index.html when the URL refers to a directory
2010-09-02 14:10:07 +00:00
hallgren
c234222cd9
Bug fix: add missing error handler for statically served files in pgf-server HTTP mode
2010-09-02 13:54:16 +00:00
jordi.saludes
2a4661d054
Autocompute python version in py-binds.
2010-09-01 12:49:47 +00:00
jordi.saludes
2cd1e67441
Fixing assertion in py-binds test.
2010-09-01 11:10:24 +00:00
jordi.saludes
962f627283
Removing obsolete code in py-bindings.
2010-07-28 14:21:43 +00:00
jordi.saludes
7f762fc8ce
Changed calling style in py-bindings.
2010-07-28 14:15:06 +00:00
jordi.saludes
aa9907d00b
Added 'functions' and 'functionType' to py-bindings.
2010-07-27 15:42:48 +00:00
jordi.saludes
42fc14b85c
Added inferExpr to py-bindings.
2010-07-27 07:50:48 +00:00
jordi.saludes
9bce37fcf2
Added testing of Expr unapplying in py-bindings.
2010-07-25 17:07:14 +00:00
jordi.saludes
0e3cf2e5f2
Added unapplying of Expr in py-bindings.
2010-07-25 14:48:25 +00:00
hallgren
ea67281820
Standalone HTTP version of pgf-server
...
pgf-server can now act as a standalone HTTP server. To activate this mode,
start it with
pfg-server http
to use the default port number (41296), or give an explicit port number, e.g.,
pgf-server http 8080
The HTTP server serves PGF files in the same way as the old FastCGI interface.
In addition, it also serves static files. The document root for static files
is the www subdirectory of the current directory where pgf-server is started.
In spite of these addition, backwards compatibility is maintaned. The old
FastCGI interface continues to work as before. (It is activated when
pgf-server is started without arguments.)
2010-09-01 14:08:52 +00:00
krasimir
5189820654
linearization for PrimaryColor in SUMO
2010-08-31 09:52:30 +00:00
aarne
59c341b9ed
prefix and postfix in lib Formal
2010-08-30 09:34:45 +00:00
krasimir
d3e7095ceb
added missing case for GF.Compile.GeneratePMCFG.evalTerm
2010-08-30 07:54:53 +00:00
krasimir
b0e78f33bc
PGF.Expr.normalForm does variable renaming
2010-08-30 07:37:12 +00:00
hallgren
3a120aaf17
Adapt minibar.js to the current GF web service API
...
Quick fix. More work needed for correct behaviour when multiple words are
entered at once.
2010-08-27 16:46:14 +00:00
aarne
6bc21c1d7a
know_VQ in resource
2010-08-27 15:14:29 +00:00
aarne
d329d3b9d8
embedded questions in phrasebook
2010-08-27 15:14:06 +00:00
krasimir
9aa7c88c5a
native representation for HOAS in PMCFG and incremental type checking of the parse forest
2010-08-09 10:10:08 +00:00
aarne
f77af89683
typo (?) in Dutch "cost"
2010-08-25 11:56:23 +00:00
aarne
36df81f051
verbosity in make phrasebook ; removed own hacks in LexiconBul
2010-08-25 11:30:16 +00:00
aarne
c6f1c529fb
guessed LexiconBul.know_VS
2010-08-25 09:08:07 +00:00
aarne
a10540263b
updates in Phrasebook and resources
2010-08-25 09:08:31 +00:00
krasimir
89f58454c4
add know_VS in LexiconBul.gf
2010-08-25 10:04:47 +00:00
krasimir
b20821dfc3
more advanced complete function in the PGFService
2010-08-24 15:58:22 +00:00
krasimir
4a2332811e
revert the TranslateApp to its classical simple variant
2010-08-24 15:17:11 +00:00
krasimir
19a2c993d6
remove Editor.css as well
2010-08-24 15:04:34 +00:00
krasimir
fae3df9d1f
remove the canParse flag from the GWT applications
2010-08-24 14:59:59 +00:00
krasimir
4d1dea1b40
remove the experimental GWT EditorApp
2010-08-24 14:41:37 +00:00
aarne
f42b3349bb
corrected IrregGer.wissen_V
2010-08-24 14:40:50 +00:00
krasimir
9ca8b5bed1
exclude two redundant modules from the cabal desciption of the compiler
2010-08-24 14:19:08 +00:00
aarne
1658aea60f
silence in Compile in phrasebook
2010-08-24 14:17:09 +00:00
aarne
27764081d1
adjective forms fixed in Phrasebook
2010-08-23 07:47:05 +00:00
aarne
62e687869e
German and Dutch adjectives with -er corrected
2010-08-23 07:43:58 +00:00
aarne
f2308d174f
GF emacs mode
2010-08-19 11:36:24 +00:00
krasimir
70297c5691
linearizations for few class names in SUMO
2010-08-08 10:38:31 +00:00
krasimir
71ea541765
two new functions in the PGF API: mkAbs, unAbs
2010-07-31 16:40:16 +00:00
krasimir
39e83436e2
bugfix in the PGF browser
2010-07-31 16:04:15 +00:00
krasimir
57ec23e630
the PGF service now generates samples of the syntax in the browsing information
2010-07-31 15:54:03 +00:00
krasimir
694192db37
add coding=utf8 to BasicRon.gf
2010-07-31 14:27:57 +00:00
krasimir
b8214aff83
fix: FastCGIUtils.outputHTML should do UTF8 encoding
2010-07-31 13:56:55 +00:00
krasimir
e8fa8bd5e4
move class Apple from MidLevelOntology to Economy for French and Romanian
2010-07-31 13:54:01 +00:00
krasimir
b227c8a586
now the meta id of the meta variables is accessible via the PGF API
2010-07-31 12:52:20 +00:00
krasimir
ebe5b87738
added function unType in PGF
2010-07-31 12:47:10 +00:00
krasimir
fefd78222a
fix: PGFService should type-check the trees that comes from the user
2010-07-31 10:45:59 +00:00
kevin.kofler
e2d0c82f0c
Setup.hs: Increase stack size for gf runs, fixes TryFin.gf build on Fedora 13 x86_64
2010-05-16 16:58:09 +00:00
kevin.kofler
9ba8f0bfd2
Fix Makefile for case-sensitive file systems
2010-05-16 16:38:03 +00:00
kevin.kofler
be04c7ba4f
Add missing newline at the end of gf_lexing.h.
2010-06-07 10:28:18 +00:00
kevin.kofler
ac5293e801
gf_lexing.c (unlexText): properly nul-terminate result.
2010-06-07 10:29:09 +00:00
jordi.saludes
e04b3e49dc
Code cleaning in py-bindings.
2010-07-22 15:13:00 +00:00
jordi.saludes
0e72c17b43
Refactoring py object constructors.
2010-07-22 15:03:49 +00:00
jordi.saludes
3a5e1f11cb
PGFModule rename to PGF in py-bindings.
2010-07-22 15:02:49 +00:00
jordi.saludes
7a9015c09f
Code cleaning in py-bindings.
2010-07-22 14:21:19 +00:00
jordi.saludes
cebf1a1f6a
Checking args passed to gf functions.
2010-07-22 14:19:55 +00:00
jordi.saludes
3bb2995170
Refactored py-bindings using Storable.
2010-07-22 13:23:27 +00:00
jordi.saludes
f8b2a1173f
Freeing StablePtr's in PyGF.
2010-07-16 13:17:49 +00:00
jordi.saludes
950c57d3bc
Setting Query.pgf as separate dependency in py-bindings.
2010-07-16 12:40:41 +00:00
jordi.saludes
9d1dba8399
Removing intermediaries in py-bindings Makefile.
2010-07-16 12:28:22 +00:00
jordi.saludes
6ec8d1bd4f
New interface to gf based in Storable.
2010-07-15 08:15:41 +00:00
krasimir
3a48cefc3a
declare Provice as subclass of StateOrProvince in Mondial.gf
2010-07-21 11:58:51 +00:00
krasimir
df555d54fb
fix the algorithm for items cutting in the partial parser
2010-07-15 14:01:51 +00:00
jordi.saludes
21063634ab
Added atribution.
2010-06-18 18:23:21 +00:00
jordi.saludes
2fc0d842b4
Added showPrintName to py-bindings.
2010-06-18 18:18:20 +00:00
jordi.saludes
26a1beefb4
Really adding QuerySpa to embedded.
2010-06-18 15:53:47 +00:00
jordi.saludes
752f6751e0
Added 'languageCode' to py-bindings.
2010-06-18 15:34:08 +00:00
jordi.saludes
f8ba9a8691
Added CId and categories to py-bindings.
2010-06-18 15:33:08 +00:00
jordi.saludes
c2cf2c9d22
Added unit test from translation.
2010-06-18 11:51:24 +00:00
jordi.saludes
07c9b85e90
Added methods to PGFModule.
2010-06-18 11:50:05 +00:00
jordi.saludes
bf06b1d89d
Added QuerySpa to tutorial/embedded.
2010-06-18 11:48:36 +00:00
jordi.saludes
dfcd2924e7
DEBUG is off.
2010-06-18 11:47:14 +00:00
jordi.saludes
765107c441
Added LGPL license text.
2010-06-18 09:59:10 +00:00
jordi.saludes
5f40426dac
Added linearization to py-bindings.
2010-06-17 07:59:00 +00:00
jordi.saludes
018b272d42
Added unit test.
2010-06-13 19:15:19 +00:00
jordi.saludes
e18d121315
DEBUG mode added.
2010-06-13 17:07:49 +00:00
jordi.saludes
be77286bbb
Code cleaning on gfmodule
2010-06-13 16:53:33 +00:00
jordi.saludes
dd9c1f1de8
Defined Tree type and moved parsed elements type to Tree
2010-06-13 15:55:25 +00:00
jordi.saludes
bab9131776
Added destuctor for python types.
2010-06-13 11:42:48 +00:00
jordi.saludes
9ab679b5d5
Type methods for pgf type.
2010-06-12 22:19:27 +00:00
jordi.saludes
ec3099a940
More sophisticated python types
2010-06-12 20:28:22 +00:00
jordi.saludes
b2a21ad435
polishing py-bindings make file.
2010-06-10 14:57:51 +00:00
jordi.saludes
4a1f2cf626
Created py-bindings.
2010-06-10 14:54:18 +00:00
krasimir
b57dda5d94
detailed information for the type errors from PGFService
2010-07-13 15:33:54 +00:00
krasimir
ef68e209c2
fix the loopchecking in PGF.Forest.bracketedTokn
2010-07-13 12:04:06 +00:00
hallgren
c9cca8a77e
Add missing <td> tags in the HTML constructed by functio show_groupedtranslations
2010-07-13 11:54:42 +00:00
krasimir
2bc50e6536
solve the ambiguity for double negation in SUMO
2010-07-13 11:43:24 +00:00
hallgren
032cd65f8f
Bug fix in minibar.js: no translations where shown when using option show_grouped_translations: false
...
This affected minibar.html but not phrasebook.html and was
caused by accidental shadowing of function tr in function show_translations.
2010-07-13 11:35:28 +00:00
hallgren
866ef5ead0
Make minibar.js work again after backwards incompatible changes to the data structures output by pgf-server.
...
The canParse field was removed without notice.
2010-07-13 10:22:03 +00:00
krasimir
5ea08bd2e8
bugfix in the decoding of literals in PGF.Binary
2010-07-13 08:24:03 +00:00
krasimir
a8560f2cf1
for some reason the concrete syntax for MidLevelOntology was not in darcs
2010-07-13 08:04:53 +00:00
krasimir
e1e492cc5f
updates in the Eclipse project for GWT UI
2010-07-08 16:50:51 +00:00
krasimir
d0ce81a02c
update the shell scripts and some other configuration files for GWT 2.0.4
2010-07-08 12:03:36 +00:00
krasimir
c4a00695db
update the package name for the Android UI
2010-07-08 10:26:10 +00:00
krasimir
4539830212
add src/ui folder for both Android and GWT UIs
2010-07-08 10:06:26 +00:00
krasimir
1cb3cfb4c2
change the package name of the GWT Apps to org.grammaticalframework.ui.gwt
2010-07-08 09:55:09 +00:00
krasimir
161403e7d3
upgrade to GWT 2.0.4
2010-07-08 09:32:17 +00:00
krasimir
0dbe60b7bf
FridgeApp and TranslateApp now show the type errors
2010-07-08 07:57:36 +00:00
krasimir
1a7210dc18
fix PGFService after the change in the parser API
2010-07-07 14:46:24 +00:00
krasimir
8d63bf8d79
report type errors in the shell from command "p"
2010-07-07 12:23:21 +00:00
krasimir
cf8f0f089f
fix in example/tutorial/smart/SmartFre.gf to make the dependent types work nicely
2010-07-07 10:12:08 +00:00
krasimir
21c14b1305
simplify the monad TcM
2010-07-07 07:19:56 +00:00
hallgren
a74e3f963a
Access keys for input fields in minibar and feedback form
2010-07-06 13:36:42 +00:00
krasimir
51e4f36b80
the abstract syntax for Predef.gf is now hard-coded in AppPredefined.hs
2010-07-01 15:38:16 +00:00
krasimir
527efbef9d
reorganize the modules in GF.Compile.*
2010-07-01 14:19:32 +00:00
krasimir
19ca4fa0a6
reorder the modules in gf.cabal
2010-07-01 14:03:35 +00:00
krasimir
e92151caf8
redesign the open-literals API
2010-07-01 08:51:59 +00:00
krasimir
3a5f193fd7
compilation of pattern matching using the algorithm of Lennart Augustsson. Not used yet
2010-06-30 16:00:47 +00:00
krasimir
97a9ddb4a7
rename isLiteralFCat -> isPredefFId, fcat(String|Int|Float) -> fid(String|Int|Float)
2010-06-30 07:40:22 +00:00
krasimir
00a69cab3b
forgot to fix the import in GF.Speech.CFG to get the Token type
2010-06-29 12:58:35 +00:00
krasimir
3ca16750b3
add PGF.Optimize in gf.cabal
2010-06-29 12:48:58 +00:00
krasimir
4fab73d5e7
in PGF.Printer special output format for SymLit
2010-06-29 09:05:07 +00:00
krasimir
43736135ca
introduce the type synonym Token=String in the PGF API
2010-06-29 09:00:41 +00:00
bjorn
c228f48ce3
Added satta_V and mkV2 : Str -> Prep -> V2 to Swedish resource grammar.
2010-06-22 12:59:04 +00:00
krasimir
237b30d6c4
preliminary version of API for Open Literals
2010-06-22 12:31:04 +00:00
aarne
f89e8bc295
order of complements in Finnish
2010-06-22 11:29:33 +00:00
krasimir
ccf4c037a6
fix the compilation of literal categories in GeneratePMCFG.hs
2010-06-22 11:29:20 +00:00
aarne
ed751c43ab
short imperative Utt in Eng
2010-06-22 10:53:58 +00:00
aarne
5b9f3ad75d
polite imperative in Fre
2010-06-22 10:43:29 +00:00
aarne
12b1729136
additions to indef in Eng
2010-06-22 10:00:01 +00:00
aarne
24c5730840
grammar for messages started
2010-06-21 16:50:40 +00:00
krasimir
7fa1963cc4
GF.Grammar.Printer: print expressions with lincat and lin
2010-06-21 15:23:49 +00:00
krasimir
8433afdac9
addFCoercion -> addCoercion in GeneratePMCFG
2010-06-20 08:53:25 +00:00
krasimir
f3f1320416
getFCats -> getFIds in GeneratePMCFG
2010-06-20 08:45:31 +00:00
krasimir
fe6e90e6ce
removed debugging code in GeneratePMCFG.hs
2010-06-20 08:30:00 +00:00
aarne
b17edaa943
query language generalized and extended ; added README
2010-06-19 16:24:48 +00:00
aarne
8a5651168a
added to ExtraEng constructs needed in queries
2010-06-19 16:24:21 +00:00
aarne
d9c34ce848
query language extended and generalized
2010-06-19 10:29:06 +00:00
aarne
cca3039505
test script for query
2010-06-18 07:07:32 +00:00
krasimir
2069d9c9eb
Yay!! Direct generation of PMCFG from GF grammar
2010-06-18 12:55:58 +00:00
krasimir
d7d893d6b3
the automatically generated printnames were just junks. Now we store printnames only if they are explicitly specified.
2010-06-18 10:19:05 +00:00
krasimir
58422b189a
PGF.Printer now dumps the printnames as well
2010-06-18 10:04:10 +00:00
krasimir
7290a2fc68
add Dutch to the list of languages in Setup.hs
2010-06-17 15:34:41 +00:00
krasimir
b9b19b6334
rename GF.Grammar.Predef.isPredefCat to isLiteralCat
2010-06-17 15:08:12 +00:00
krasimir
faceaffe79
GF.Grammar.Lookup.allParamValues now works for table types as well
2010-06-17 09:51:10 +00:00
aarne
286358f6ad
starting query language for MOLTO
2010-06-16 20:00:46 +00:00
aarne
cfd3afd2d8
case for pre in CF generation (ignores alternatives so far)
2010-06-03 21:43:35 +00:00
krasimir
7b315e94a4
grammar loader and unloader in C. Abstract Syntax only!
2010-06-16 15:14:34 +00:00
hallgren
7398216aa9
Update demo links
...
- Added link to the Prasebook demo. The older demos are no longer labelled NEW.
- Point to www.grammaticalframework.org instead of tournesol.cs.chalmers.se
- Update links to www.cs.chalmers.se to new pages on www.cse.chalmers.se, since
there is no working autmatic redirection.
- got rid of some HTML clutter.
- index.txt was out of sync with index.html. It is now even more out of sync.
2010-06-17 15:14:00 +00:00
krasimir
cfd034ab21
added equality proof in the constructor for natural trasformations
2010-06-14 11:21:52 +00:00
krasimir
357cacd7d7
AndroidUI: implemented search in the bag of words
2010-06-10 13:38:15 +00:00
krasimir
d777e8e52f
dead code elimination for PGF. Note: the produced grammars will not work well with metavariables and high-order abstract syntax
2010-06-09 11:32:59 +00:00
krasimir
9baef5e291
filter the duplications when doing 'l -table'
2010-06-09 10:21:13 +00:00
jordi.saludes
a5da087159
Fixing gf executable in build-gfctest
2010-06-08 11:19:33 +00:00
krasimir
487af94835
fixed bug in the recompilation checker which caused the phrasebook to be recompiled each time
2010-06-08 18:57:50 +00:00
krasimir
ecb6f887db
fix: ASimul and AAnter are redundant in CatBul
2010-06-08 18:38:33 +00:00
krasimir
46d0b2ed7e
bugfix for flag -no-recomp
2010-06-08 15:40:47 +00:00
krasimir
142cdc306d
revert change in GF.Grammar.Printer that was intended for debugging only
2010-06-08 09:53:13 +00:00
krasimir
ac8cf95064
fix typo in category theory
2010-06-07 12:56:05 +00:00
jordi.saludes
9095e13aae
Added gf-lexing.* to c-bindings.
2010-06-05 11:57:55 +00:00
jordi.saludes
098dbc2c72
Changing rec to rec_ in PGF
...
To make glasgow extensions happy we had to rename 'rec' to 'rec_' in sources
from PGF folder.
2010-06-05 11:02:51 +00:00
jordi.saludes
a1b6234bd4
Fixed c-bindings gfctest
2010-06-05 11:01:09 +00:00
kevin.kofler
87a8d91d3b
Build Query.pgf in build-gfctest.sh and look for it in the current directory
2010-05-16 21:12:01 +00:00
kevin.kofler
db2a0e092d
Reimplement a lexer in C for the C bindings not to depend on GF.Text.Lexing for now.
2010-05-16 19:43:44 +00:00
kevin.kofler
b93c405c28
Update the C bindings to build with the current PGF API
2010-05-16 21:09:51 +00:00
krasimir
1371f630b6
definitions for some high-order predicates that were missing
2010-06-06 12:10:49 +00:00
krasimir
db3eb23d5f
SUMO: remove the uggly SubClassC and use KappaFn instead
2010-06-06 11:44:51 +00:00
krasimir
8c9b63236f
changes in SUMO: formatting and fixes for lots of lots of small problems
2010-06-06 11:06:44 +00:00
aarne
9534ca0653
word for Shop in Swedish
2010-06-03 14:50:54 +00:00
aarne
e4e1103745
changed preposition in romance phrasebooks
2010-06-02 15:51:37 +00:00
hallgren
f793bdc6c6
Added MacOS X installed package to download page.
2010-06-15 11:01:39 +00:00
hallgren
96919d626e
feedback list styling
2010-06-02 16:50:46 +00:00
hallgren
f575ea2264
minibar feedback: save user_agent, simple feedback viewer
2010-06-02 16:23:52 +00:00
hallgren
e29fe45d0a
Feedback form for phrasebook/minibar
2010-06-02 14:36:09 +00:00
hallgren
47285fe880
New minibar option: default_source_language
2010-06-02 13:59:38 +00:00
hallgren
b981996783
Some minibar/phrasebook button and style changes
...
* Add help button at top of page.
* Change style of word buttons to look like fridge magnets again.
* New options to specify locations of other pages: feedback_url, help_url. If
they are left undefined, no Help/Feedback buttons will be created.
* Shorter test in Google Translate button.
2010-06-02 13:40:41 +00:00
hallgren
900b69eebd
Remove "Back to phrasebook link" from the help page, since it opens in a new window.
2010-06-02 13:36:10 +00:00
aarne
2d8e00a562
correct form for inverted sentence for "u" in Dutch
2010-06-02 11:52:17 +00:00
hallgren
d71d700615
Improved Goolge Translate button
2010-06-02 10:39:25 +00:00
aarne
d1f3eda184
where in Dan and Nor
2010-06-02 08:53:11 +00:00
aarne
ca12f6385b
more edits in doc-phrasebook
2010-06-02 08:37:04 +00:00
aarne
d005f28d14
finishing phrasebook documentation ; changed doc name
2010-06-02 08:27:48 +00:00
krasimir
7e4f7cb877
added word "to" in the fake Android Fridge
2010-06-02 08:21:42 +00:00
krasimir
35fc7c59a7
brushed_metal background in the Android app
2010-06-02 08:20:30 +00:00
krasimir
a436fcd41b
forgot some files for android
2010-06-02 08:02:48 +00:00
krasimir
8bdaf8e003
fake Fridge like app for Android
2010-06-02 07:54:43 +00:00
aarne
c256a7def2
updated phrasebook doc
2010-06-01 22:48:43 +00:00
aarne
ee75665c74
coding of ExtraSwe
2010-06-01 19:02:21 +00:00
aarne
6404f1daed
focal constructions in Scandinavian
2010-06-01 19:01:03 +00:00
hallgren
ceb30f7e0d
Work on the feedback button for the minibar
2010-06-01 20:20:17 +00:00
aarne
488d9ea75b
corrections in PhrasebookNor
2010-06-01 16:30:15 +00:00
adam.slaski
547f1b908a
bugfix part2
2010-05-30 09:12:22 +00:00
adam.slaski
4dd36f85ec
bugfix for Polish Phrasebook
2010-05-30 09:05:48 +00:00
adam.slaski
d325e565e2
danish crown fix
2010-05-27 07:47:36 +00:00
krasimir
b2131f6f3f
some comments in the code for category theory
2010-06-01 06:56:34 +00:00
krasimir
cff7306033
El -> Obj in category theory
2010-06-01 06:12:30 +00:00
krasimir
fd42ab4aec
cleanup the code for category theory
2010-06-01 06:03:19 +00:00
krasimir
63b318b472
GCongratulations, GHappyBirthday and GGoodLuck in Bulgarian
2010-06-01 05:49:06 +00:00
aarne
d6e5d71dbd
fixes in PhrasebookGer and the inAcc_Prep
2010-05-29 21:14:13 +00:00
jordi.saludes
daa01f11d8
Added a case for regular adj in Cat
2010-05-29 15:31:28 +00:00
jordi.saludes
46bbbbf9b7
Fixed regular Adj ending in 'r' in Cat
2010-05-29 14:54:59 +00:00
hallgren
cad022019a
Always show link to Google Translate, and open it in a new window.
2010-05-29 15:42:27 +00:00
krasimir
540ca4224e
I switched back to the old algorithm for generating dependency trees. This required an ugly hack but there is no easy and quick other way :-(
2010-05-29 12:49:54 +00:00
aarne
8b8f9ed1c2
non ho birra in Italian phrasebook
2010-05-29 10:38:12 +00:00
aarne
a7d3cfaf54
preposition for toilet in PhrasebookSwe
2010-05-29 10:22:49 +00:00
aarne
510e1118a9
heavy NP distinction in Dutch like in German
2010-05-29 10:19:32 +00:00
aarne
ebb393d4b1
heavy/light NP distinction in Ger to control the place of negation
2010-05-29 09:43:42 +00:00
aarne
79e864c91b
more accurate treatment of negative "have" clauses in Phrasebook
2010-05-29 09:18:20 +00:00
aarne
0c32ae12a3
Dutch s -> z rule restricted more
2010-05-29 09:17:48 +00:00
hallgren
f234806aab
updated documentation
2010-05-28 16:19:06 +00:00
hallgren
9744d6b6aa
Add link to Google Translate
2010-05-28 16:17:54 +00:00
hallgren
52d6ee6f7e
Changes for publication of SALDO demo web apps
...
Published at http://spraakbanken.gu.se/swe/forskning/saldo/ordspel
2010-05-28 14:47:38 +00:00
hallgren
1fd4ed7421
support.js: new function span_id, bug fix in function sort
2010-05-28 14:41:30 +00:00
aarne
60e37ccf48
est-ce qu'il y a in PhrasebookFra
2010-05-28 14:36:00 +00:00
aarne
b024d69d96
plural indefinite by default empty in Cat and Spa
2010-05-28 14:35:31 +00:00
krasimir
4f1f8b6308
refactoring in GF.Grammar.Grammar
2010-05-28 14:15:15 +00:00
aarne
3b7b7b72d0
lexical corrections in PhrasebookNor
2010-05-28 13:29:35 +00:00
aarne
da5ecd322e
genitives in possessives in Nor (and Scand)
2010-05-28 13:29:13 +00:00
ramona.enache
7a96cfc1b6
added inherent number to places, fixed places in French
2010-05-28 12:15:28 +00:00
ramona.enache
4c8dfaf3ce
fixed prepositions and distance questions in the French Phrasebook
2010-05-28 09:15:01 +00:00
ramona.enache
0bab92a5f3
removed warning from the English Phrasebook
2010-05-28 09:14:17 +00:00
ramona.enache
818db5a31e
final fixes in the German Phrasebook
2010-05-28 09:12:44 +00:00
aarne
219cb014a7
genitive s in Nor possessives ; some Nor words in Phrasebook
2010-05-28 12:25:26 +00:00
krasimir
e4442d1328
composOp should iterate under ImplArg
2010-05-28 12:19:04 +00:00
krasimir
38e04d0872
bugfix in GF.Grammar.Printer
2010-05-28 09:43:58 +00:00
krasimir
5e2feb4b60
since now we don't do common subexpression elimination for PGF we could simplify the PMCFG generation
2010-05-26 09:37:32 +00:00
aarne
1de8d4900e
prodrop in Finnish Phrasebook possessives
2010-05-28 09:33:15 +00:00
aarne
ad2ceeb437
possessive prodrop in Finnish
2010-05-28 09:32:51 +00:00
aarne
60dc82a647
disambiguation of partitive mass terms in ENglish
2010-05-28 09:08:35 +00:00
aarne
b66d93f44f
disambiguation in Phrasebook: show Eng instead of AST if DisambL is missing; show all alternative disambiguations for each alternative translation
2010-05-28 03:40:35 +00:00
aarne
b277bfefc7
forms of PhrasebookSwe.Cinema
2010-05-28 03:40:12 +00:00
aarne
327ffc420e
adjustments in Phrasebook
2010-05-27 20:44:39 +00:00
aarne
27ff25e82d
Danish crown in PhrasebookPol
2010-05-27 11:39:26 +00:00
aarne
3277ac4846
phrasebook doc updated to Pol
2010-05-27 05:44:04 +00:00
adam.slaski
ad1a116dfc
polish demo
2010-05-26 22:34:20 +00:00
ramona.enache
cca29ffe9d
fixed AHasAge in English to "I am ten years old"
2010-05-26 22:15:52 +00:00
ramona.enache
71ad0d0565
added first version of PhrasebookRus
2010-05-26 22:11:52 +00:00
ramona.enache
046c70ad4d
added AdvIAdv to the Romanian grammar
2010-05-24 07:45:34 +00:00
aarne
086f6d2c6e
eliminated empty variants from NumeralsCat, resulting in lost linearization
2010-05-26 22:09:18 +00:00
aarne
396f23ae60
fixes in partitives in Phrasebook
2010-05-26 21:30:04 +00:00
aarne
07a82d602a
numeral spacing in some languages
2010-05-26 21:29:27 +00:00
jordi.saludes
6696b18a8b
Cleaning PhrasebookCat
2010-05-26 15:58:12 +00:00
jordi.saludes
6b3c40e8f1
Put 'dative' in all Place's
2010-05-26 15:39:32 +00:00
jordi.saludes
79649a89a6
Completing WordsCat
2010-05-26 15:31:03 +00:00
hallgren
77d464951e
Add meta tag to avoid horizontal scrolling in Mobile Safari
...
With thanks to codinggeekette,
http://www.codinggeekette.com/post/Mobile-Safari-40-2b-Horizontal-Scrolling-3d-SUX.aspx
2010-05-26 21:03:57 +00:00
hallgren
928c80e8a0
Improved keyboard input handling in minibar/phrasebook
...
1. The text input field is shown form the start, no need to click.
2. The text input field is removed when no more words can be added to the
sentence.
3. When you press Enter, a word is added to the sentence (1) if there is only
one possible completion left (e.g. if you typed "airp" and the only
completion is "airport"), or (2) if what you typed exactly matches one
of the completions (e.g. if you typed "the" and the completions are
"the", "theatre" and "these").
2010-05-26 15:49:08 +00:00
hallgren
6d730943a3
Enable display of abstract syntax in minibar
2010-05-26 15:48:06 +00:00
aarne
9a71b79a31
plural exception in ExtraIta.PossFamQuant
2010-05-26 14:52:15 +00:00
aarne
35cb7417f6
familiar possessives in Italian
2010-05-26 14:11:50 +00:00
aarne
45a0bf22ee
Ita and Fre superlatives, Ita possessives, in Phrasebook
2010-05-26 14:11:23 +00:00
hallgren
1ff6d92b17
Use <input type=button ...> instead of <div ...> tags for the word magnets. This should make them clickable in more browsers and could improve layout.
2010-05-26 11:47:15 +00:00
hallgren
2b6d0ca25e
Change server to http://www.grammaticalframework.org:41296
2010-05-26 11:46:25 +00:00
aarne
8381ed5290
preposition zu in PhrasebookGer
2010-05-26 09:43:39 +00:00
aarne
c7ff8114b4
German preposition contractions
2010-05-26 09:37:17 +00:00
caprotti
4089242edb
"fixes to Ita"
2010-05-26 07:51:55 +00:00
caprotti
12a4fd15a4
"Rise corrections to Danish"
2010-05-26 07:48:09 +00:00
jordi.saludes
02f5763a4b
Added how8much_IAdv to Cat
2010-05-25 20:21:01 +00:00
jordi.saludes
bdaf858d19
Change 'estar' to 'ser' for places
2010-05-25 20:19:59 +00:00
jordi.saludes
6327ea6cbc
WordsCat compiles
2010-05-25 20:09:23 +00:00
jordi.saludes
001f7f5ca0
WordsCat in_Prep problem
2010-05-25 18:30:42 +00:00
jordi.saludes
595b6409f7
'PersonName' comes back after fixing StructuralCat
2010-05-25 18:12:11 +00:00
jordi.saludes
ddb68d95a9
Uncommented SentenceCat
2010-05-25 18:00:39 +00:00
jordi.saludes
58e674f80e
Removing variants for possessive in Cat
2010-05-25 17:36:56 +00:00
krasimir
bb8eb03fbc
some fixes for graphvizDependencyTree
2010-05-25 13:01:59 +00:00
aarne
3e06229a83
new version of missing in phrasebook
2010-05-25 11:31:42 +00:00
aarne
955bbd385a
remade phrasebook doc
2010-05-25 11:31:08 +00:00
aarne
f123e29a38
mass terms and yes/si/doch in Phrasebook
2010-05-25 11:30:09 +00:00
krasimir
31a93aa08b
bugfix in the linearization algorithm
2010-05-25 10:27:48 +00:00
aarne
ddedd700f9
Dutch pres pl form for composites
2010-05-24 17:06:08 +00:00
aarne
2dc95734e2
corrections in Dutch
2010-05-24 16:36:35 +00:00
aarne
499467777b
started Koen's fixes in PhrasebookDut
2010-05-24 14:50:07 +00:00
aarne
f19aceb38b
fixes in Dutch numerals and possessives
2010-05-24 14:49:32 +00:00
aarne
e077512095
corrections in PhrasebookNor
2010-05-24 13:57:02 +00:00
krasimir
a45c256c13
fix the paradigms for bar/pub in WordsBul
2010-05-21 13:07:45 +00:00
krasimir
8f80d27102
fix some paradigms in Bulgarian
2010-05-21 12:52:03 +00:00
hallgren
76ee1a9f67
hide the language code if translating to only one target language
2010-05-21 10:43:19 +00:00
hallgren
ec76b02be1
smaller input field
2010-05-21 10:42:30 +00:00
hallgren
7dadaf0b3a
Putting automatically generated files in the *source* repository is a bad idea...
2010-05-21 10:34:17 +00:00
hallgren
6402552510
make upload
2010-05-21 10:29:11 +00:00
krasimir
6ecd94572a
fix the translation of QWhatAge in WordsBul.gf
2010-05-21 06:46:39 +00:00
krasimir
2ae2d42f92
use better word for Toilet in WordsBul
2010-05-21 06:43:44 +00:00
krasimir
87a388a62c
fix: use with_Prep and in_Prep from RGL in WordsBul.gf
2010-05-21 06:38:23 +00:00
aarne
0ec36e032d
updated Phrasebook doc
2010-05-20 17:15:10 +00:00
krasimir
9989b5b188
complete Bulgarian phrasebook
2010-05-20 16:54:50 +00:00
krasimir
d50acffba2
add IAdvAdv in ExtraBul
2010-05-20 16:52:57 +00:00
aarne
5392e78fea
Spa in Phrasebook makefile
2010-05-20 15:48:10 +00:00
aarne
b466bbebbf
Spanish Phrasebook by Inari Listenmaa
2010-05-20 15:44:51 +00:00
aarne
e4bb947996
utf8 coding flag in ExtraRon
2010-05-20 09:13:25 +00:00
krasimir
4f57d5baf1
added how8much_IAdv in StructuralBul.gf
2010-05-20 14:59:21 +00:00
krasimir
b8a76c245d
two more verb pairs in DictBul.gf
2010-05-20 14:06:18 +00:00
krasimir
372ada7015
bugfix in ExtraBul.gf - youPol for feminine is the same as for masculine
2010-05-20 13:40:54 +00:00
krasimir
a7c2e125a0
days of the week - WordsBul
2010-05-20 13:23:49 +00:00
krasimir
9ee6ab002a
family relations in PhrasebookBul
2010-05-20 13:11:02 +00:00
krasimir
be00a3fd39
transport in WordsBul.gf
2010-05-20 12:07:27 +00:00
krasimir
5c13c2c63e
nationalities and languages in WordsBul and SentencesBul
2010-05-20 11:51:49 +00:00
krasimir
ff36ba89ef
some more words in WordsBul.gf
2010-05-20 09:38:28 +00:00
krasimir
7e8a5d05ca
now every BracketedString also has reference to the source expression(s)
2010-05-19 13:32:39 +00:00
krasimir
8e01bc3118
added function lengthBracketedString
2010-05-19 12:40:07 +00:00
krasimir
529447f56f
now the parser could return partial parse results
2010-05-19 12:31:36 +00:00
aarne
b196d8b640
fixed how far in PhrasebookSwe
2010-05-18 08:15:18 +00:00
ramona.enache
4c384fac73
final changes Romanian resource grammar and phrasebook
2010-05-15 13:37:27 +00:00
ramona.enache
88fc20ce61
q
2010-05-15 13:35:50 +00:00
krasimir
724ccb9b94
simple refactoring: use ActiveKey in PGF.Parse.getParseResult instead of plain pair of FId and LIndex
2010-05-17 06:12:45 +00:00
aarne
3f8930f115
correction in Scand definiteness with Ord
2010-05-15 17:10:41 +00:00
aarne
2839944f03
fixes in PhrasebookDan
2010-05-15 11:32:18 +00:00
aarne
333ea7814a
fixed Danish superlatives and a couple of verb inflections
2010-05-15 11:31:35 +00:00
ramona.enache
047b22f674
fixed WordsDan according to first test
2010-05-14 22:57:58 +00:00
ramona.enache
da90e76107
extended Romanian grammar with extra special construction
2010-05-14 19:44:02 +00:00
ramona.enache
c90f3181f4
added more greetings to Phrasebook
2010-05-14 19:40:27 +00:00
krasimir
5249711c34
in PGF, when printing function and category definitions, add semicolon
2010-05-11 12:50:51 +00:00
aarne
055b1b4159
doc with Dan and Nor phrasebook
2010-05-09 14:23:00 +00:00
ramona.enache
20ef607b09
Norwegian phrasebook
2010-05-08 15:34:27 +00:00
aarne
797ec3934b
correction of Cheapest in WordsDan
2010-05-08 14:32:38 +00:00
ramona.enache
f60fb3bae5
added script for testing the phrasebooks
2010-05-08 13:49:41 +00:00
ramona.enache
dba4c9462c
fixed SUMORon according to changes in the resource grammar
2010-05-08 13:39:44 +00:00
ramona.enache
a623bcbca5
added Danish phrasebook, completed German one
2010-05-07 12:03:44 +00:00
aarne
beb813b1a6
spacing of German numerals
2010-05-08 13:54:38 +00:00
aarne
130bd78ac8
da_Prep used as from_Prep in Ita
2010-05-07 12:34:34 +00:00
caprotti
06695588e0
LexiconIta_Bad_fixed
2010-05-06 17:45:26 +00:00
caprotti
cfa478164b
Ita-Spa_Words
2010-05-06 16:36:53 +00:00
aarne
5f38180873
Amharic Foood grammar by Markos
2010-05-07 12:25:16 +00:00
aarne
788fe8a37e
Amharic transliteration by Markos
2010-05-07 12:23:57 +00:00
aarne
b8a6a1761d
fixed two bugs in gt
2010-05-06 18:56:18 +00:00
aarne
b2abee2199
Extra: PrepCN for prep + cn without article
2010-05-03 15:31:28 +00:00
aarne
8103c98e4e
used en/par without article in WordsFre.mkTransport
2010-05-03 15:30:43 +00:00
aarne
2e741cc7ed
updates in phrasebook doc and in resource status doc
2010-05-03 09:46:56 +00:00
aarne
fa121a62d9
fixed encoding of WOrdsFre; added HowFar constructs
2010-05-03 09:31:42 +00:00
aarne
f45fcccfc9
CompIQuant in Extra for interrogative agreement to NP
2010-05-03 09:30:53 +00:00
ramona.enache
bb83bb3dca
fixed English, Dutch, French and Romanian phrasebooks
2010-05-02 11:14:27 +00:00
krasimir
a9453c87ab
refactor BracketedString
2010-05-01 21:02:32 +00:00
krasimir
ec968edf9e
test for bracketedLinearize
2010-05-01 20:54:31 +00:00
krasimir
a587cfef40
bug fix for bracketedLinearize with HOAS and meta variables
2010-05-01 20:51:07 +00:00
krasimir
9fe715a58d
fixes in unStr,unInt,unDouble,isMeta
2010-05-01 07:29:41 +00:00
krasimir
8742ebee38
for backward compatibility we have the old parse function again. the old functionality is exposed by parse_
2010-04-30 20:18:26 +00:00
krasimir
d2ae070eac
optimize/simplify the error reporting in the new API
2010-04-30 20:16:16 +00:00
krasimir
61a1171811
upgrade the testsuite to work with GHC 6.12
2010-04-30 19:27:53 +00:00
hallgren
87cc4d7624
Merge phrasebook.js into minibar.js
2010-04-30 14:55:56 +00:00
hallgren
4fd94cc5c1
Some work on the Saldo game
2010-04-28 12:58:17 +00:00
aarne
c164a99451
status info merged
2010-04-30 15:09:54 +00:00
aarne
450247a214
some status info resolved
2010-04-30 15:08:56 +00:00
aarne
3f226473ff
some more authors fixed in status
2010-04-30 15:06:37 +00:00
krasimir
a3e1d43318
fix PGFService after the change in the API
2010-04-30 15:09:21 +00:00
aarne
b4d51e1ddd
authors in status table fixed
2010-04-30 15:04:10 +00:00
krasimir
ec23ad994a
in the libraries status page -> Swe & Tur also have big lexicons
2010-04-30 14:48:34 +00:00
krasimir
83528f15d7
first incarnation of the bracketed string API
2010-04-30 14:36:06 +00:00
aarne
a25442639c
status table for resource grammars
2010-04-30 14:34:44 +00:00
aarne
65ede6ff35
globalized the resource tour
2010-04-30 13:44:33 +00:00
aarne
a47df1d54e
small fixes in Phrasebook, particularly PSeeYouPlaceDate
2010-04-30 06:55:15 +00:00
ramona.enache
62dd93f728
Phrasebook grammars for English, Romanian and Dutch
2010-04-29 21:56:53 +00:00
aarne
f2b36760da
fixing a type error in QuestionBul.AdvIAdv
2010-04-29 16:28:57 +00:00
aarne
31faae2d81
completed PhrasebookFin with new abstract
2010-04-29 14:13:15 +00:00
aarne
a327761776
added Words.Pound and Sentences.AHaveCurr
2010-04-29 14:12:46 +00:00
aarne
27ae61f9ca
fixed LexiconFin.near_A and the documentation of ParadigmsFin.mkA
2010-04-29 14:03:55 +00:00
aarne
e104833f1f
fixed definite articles with superlatives in Scandinavian
2010-04-29 12:32:07 +00:00
aarne
44a1e35b42
better implementation of "how far" in Swedish; harmonized the type of HowFarBy
2010-04-29 12:21:35 +00:00
aarne
9ed72885f7
used AdvIAdv to complete PhrasebookSwe
2010-04-29 06:05:45 +00:00
aarne
c5fe59ce50
added Question.AdvIAdv and correcponding entry of mkIAdv in API
2010-04-29 05:55:59 +00:00
aarne
49abf31256
extended phrasebook for Swedish (almost complete)
2010-04-28 20:37:51 +00:00
aarne
3074c38b9a
new option pg -funs
2010-04-28 19:09:59 +00:00
krasimir
f3bee9fd36
wf,vt,vp,vd,aw should store files in utf8
2010-04-28 17:37:53 +00:00
aarne
a59f2cd9fe
some moving around of new phrasebook entries
2010-04-28 16:53:20 +00:00
ramona.enache
a92a7db72c
category definitions added to phrasebook
2010-04-28 15:02:27 +00:00
ramona.enache
1d523ba86d
abstract syntax for the phrasebook - extended version
2010-04-28 14:56:07 +00:00
krasimir
d53125757f
fix the -view option for vt,vp,vd,aw to work on Windows
2010-04-27 20:01:54 +00:00
ramona.enache
9f5b6ad8d9
FixedRon
2010-04-26 09:32:05 +00:00
ramona.enache
98555ed6b3
FixedRon
2010-04-25 00:47:15 +00:00
hallgren
9b98d272fd
Add MacOS X binary to the download page
2010-04-24 12:08:28 +00:00
aarne
17b7fb1463
lrec tutorial examples
2010-04-24 11:34:04 +00:00
krasimir
f80e650329
convert GF.Data.SortedList to UTF8
2010-04-24 09:13:26 +00:00
krasimir
94235548c4
fix parsing of literals
2010-04-23 20:46:14 +00:00
krasimir
5a9557d2cc
change the developers link directly in index.html
2010-04-23 18:58:46 +00:00
krasimir
c3906ec6ef
added link to the bugtracker from gf.cabal
2010-04-23 14:40:20 +00:00
hallgren
c490f484e1
Manually updating automatically generated files
2010-04-23 17:39:14 +00:00
krasimir
e152cd632f
tweak gf.cabal to be more Hackage friendly
2010-04-23 14:13:36 +00:00
krasimir
81cd3e2639
redirect the developers link to the GF wiki
2010-04-23 13:59:23 +00:00
krasimir
fa617e760c
link to Hackage from download/index.txt
2010-04-23 13:56:32 +00:00
krasimir
0e75eeb802
update index.txt
2010-04-23 13:44:18 +00:00
krasimir
3c50bfb17b
more in the release notes for 3.1.6
2010-04-23 13:26:57 +00:00
hallgren
f8921ca3f8
Correct release date in download/index.txt
2010-04-23 13:45:55 +00:00
aarne
01026cb241
release notes as html; links to linux bin, lib, src
2010-04-23 11:42:29 +00:00
aarne
a87b795aba
checked compilation of all resource languages
2010-04-22 18:55:46 +00:00
aarne
cbbc2a50d7
release notes and new download page for 3.1.6
2010-04-22 17:24:15 +00:00
aarne
155afd56c0
release notes for 3.1.6
2010-04-22 17:06:41 +00:00
olga.caprotti
1d7706be72
olga_patch1
2010-04-19 15:23:33 +00:00
hallgren
ee9acfc772
Update version numbers for build-depends in gf-server.cabal
2010-04-22 14:22:55 +00:00
krasimir
f806a7890d
now the PGF service communicates with Graphviz using UTF8 for the input and binary for the output
2010-04-22 14:01:08 +00:00
hallgren
e2a8d4cf9e
Require GHC >=6.12, and add a homepage field in GF.cabal
...
I assume checking for base>=4.2 is a good way to test for the presence of the
new Unicode-aware I/O libraries (first shipped with GHC 6.12) that GF now
relies on.
2010-04-22 13:09:27 +00:00
krasimir
a4894be101
the pgf service now compiles with the latest CGI package
2010-04-22 12:37:36 +00:00
krasimir
99680e345e
bump GF version to 3.1.6
2010-04-22 08:41:51 +00:00
aarne
a3465202e9
removed mention of 2.9 welcome, and some traces in visualization
2010-04-22 06:36:37 +00:00
aarne
fc23b598bc
Urdu bronzeage
2010-04-21 08:37:19 +00:00
krasimir
3306ec606c
fix command cc for Unicode
2010-04-19 15:41:23 +00:00
krasimir
c11064bfad
always use Haskeline. drop Readline & Editline
2010-04-19 15:12:52 +00:00
krasimir
0b6b30d4a8
use the native unicode support from GHC 6.12
2010-04-19 09:38:36 +00:00
hallgren
4c757f4683
Changes to lighttpd.conf to allow grammars.cgi to work
2010-04-20 14:46:36 +00:00
hallgren
7f9fc7f095
Commented out faulty coding flag
...
FoodsIce.gf contained coding=utf8, but the file is in the latin1 encoding. This
confused GF.
2010-04-20 13:54:10 +00:00
aarne
96c17ee25f
changed the name of example-based examples
2010-04-20 09:34:38 +00:00
aarne
254e9e002c
example of example-based grammar writing
2010-04-20 09:28:24 +00:00
hallgren
14a053a81b
Some work on minibar:
...
1. Menu for choosing target language.
2. Pass options when calling start_minibar.
See about.html for more details.
2010-04-19 16:48:26 +00:00
krasimir
e8ee150215
add Bul to the list of languages in Setup.hs that have API
2010-04-19 09:43:58 +00:00
aarne
3123b011fe
paths in SUMO
2010-04-19 07:06:36 +00:00
aarne
10470273cb
include ExtraRon in AllRon
2010-04-19 06:50:54 +00:00
ramona.enache
3870f18ba6
WordsRonSumoFre
2010-04-18 13:55:44 +00:00
krasimir
4acae7b083
add the easy words and phrases in PhrasebookBul
2010-04-16 16:32:45 +00:00
aarne
9945c6c229
conjunction of Object in Phrasebook
2010-04-16 09:57:10 +00:00
aarne
d61e872d84
DemoUrd added to resource demo
2010-04-16 07:12:15 +00:00
hallgren
be045d40fa
Work in progress on keyboard input in minibar
2010-04-15 15:42:18 +00:00
hallgren
6e24b79dcd
Code simplification
2010-04-15 15:41:30 +00:00
hallgren
603536a2f2
Omit redundant trailing "&" in jsonp url
2010-04-15 13:48:28 +00:00
hallgren
0b1a2bb20b
Fix bug in get_grammarlist. Some code simplificaiton.
2010-04-15 13:33:21 +00:00
aarne
a761872256
small adjustments in Make.hs and some resources to make the lib compile with less warnings and without errors
2010-04-14 16:25:17 +00:00
aarne
bb6c246f99
noexpand flag in ParadigmsTur makes compilation go through
2010-04-14 13:12:23 +00:00
krasimir
184747505b
fix the encoding in Italian
2010-04-14 09:35:06 +00:00
krasimir
4b9de3af1d
fix the encoding in Catalan
2010-04-13 15:50:10 +00:00
aarne
1668caf59c
completions of PhrasebookGer
2010-04-12 21:26:36 +00:00
aarne
93e3635bea
restored table3 in Coordination; completed PhrasebookFre
2010-04-12 21:06:11 +00:00
aarne
0ed2d467a5
a module to compile Phrasebook in different lang combinations
2010-04-12 20:10:48 +00:00
krasimir
9377fd7c7c
fix the molto-molto-molto problem
2010-04-12 13:55:40 +00:00
aarne
541b578be8
4-arg coordination by Shafqat
2010-04-12 10:04:29 +00:00
ramona.enache
0a313aee7f
PhraseBookRon
2010-04-10 23:17:58 +00:00
aarne
dd686d7f26
regenerated clones with complete abstract and ready-maked Lexicon-based words in Phrasebook
2010-04-10 08:18:03 +00:00
aarne
0c27260c47
updated lib synopsis
2010-04-10 07:33:11 +00:00
aarne
2f21696919
some additions to lib API
2010-04-10 07:32:11 +00:00
aarne
64392c7a50
pro drops and 'how AP' in Extra for some languages
2010-04-09 14:38:33 +00:00
aarne
74a61db4a1
generalized the Person category in Phrasebook to plurals, added some new Words
2010-04-09 14:37:25 +00:00
hallgren
b3c8cf315a
Some documentation
2010-04-09 14:04:18 +00:00
hallgren
1b4dd1df71
Abstract out grammar access method
2010-04-09 14:00:38 +00:00
hallgren
df6ab55915
Adding the Minibar files to the darcs repository.
2010-04-09 13:51:34 +00:00
aarne
a459f0a449
German phrasebook; ontology document; ignoring single lines in gfdoc
2010-04-08 20:31:32 +00:00
aarne
6aa9363b53
started a script and format for updating a set of gf files
2010-04-08 11:52:44 +00:00
aarne
bade68406e
cloned the rest of resource languages in Phrasebook
2010-04-07 21:05:29 +00:00
aarne
69542726b3
reordered phrasebook sources so that they are easier to clone; cloned Ger,Spa,Cat,Bul
2010-04-07 19:39:48 +00:00
aarne
e8e01acf73
defined AdjectiveBul.CAdvAP and RS functions in ConjunctionBul, to make the API compile - these might have errors
2010-04-07 19:37:57 +00:00
aarne
db30578e9f
a script for cloning (Phrasebook) grammars
2010-04-07 14:59:55 +00:00
aarne
50191dac7d
New FoodsHin by Vikas
2010-04-07 14:20:24 +00:00
aarne
f3ae4092d5
improved the performance of Romance while retaining correct agreement ; removed Diff modules from Phrasebook
2010-04-06 20:35:12 +00:00
aarne
40ec2f5229
comments in phrasebook abstract syntax
2010-04-06 15:45:16 +00:00
aarne
d1d1c6215d
change in Romance agreement to produce correct number for polite singular pronouns ; linking functions that involve mkClause now takes a long time and should be revised
2010-04-06 14:08:01 +00:00
aarne
f6db1ad200
fixed Finnish youPol complement number to Sg ; some encoding things in French
2010-04-06 12:24:41 +00:00
aarne
b7a60b5e45
dependency graph can be restricted to some modules; added help dg
2010-04-06 08:53:44 +00:00
aarne
550c9397b8
bindings to NumeralsFin and NumeralsSwe
2010-04-05 20:23:25 +00:00
aarne
aff78019fd
more restrictive copying in lib/src/Make.hs to permit partial compilation of libs
2010-04-05 20:12:02 +00:00
aarne
7c7f8112c9
generalized and extended Phrasebook in many ways
2010-04-05 16:36:38 +00:00
aarne
8b43ae7305
DisambPhrasebookRon added
2010-04-04 21:22:20 +00:00
aarne
0e2f34b269
in the shell, permit 3-letter lang codes as concrete syntax names
2010-04-04 20:46:36 +00:00
aarne
1040f2a10d
in PGFService disambiguation, show tree if there's no disamb grammar
2010-04-04 20:45:50 +00:00
aarne
74e385393c
reduced overgeneration by only allowing one AdA in Phrasebook
2010-04-04 20:44:37 +00:00
aarne
7e659b0ff2
new synopsis, now with Pol and Urd
2010-04-04 14:07:09 +00:00
aarne
59c3482397
spaces before semicolons in ParadigmsPol to help synopsis generation
2010-04-04 14:05:12 +00:00
aarne
f7219e75b6
fixed the treatment of tenses in Urd files
2010-04-02 19:14:13 +00:00
aarne
fa8a6091ab
README with instructions about Urdu transliteration
2010-04-02 18:54:28 +00:00
aarne
39a525ac11
converted Urdu to utf8
2010-04-02 16:17:29 +00:00
aarne
9d6e3dae86
Urdu transliteration fixed (by Shafqat)
2010-04-01 12:24:04 +00:00
aarne
5d75073313
fixed a deep bug in TypeCheck due to swap of arguments; print empty record as <> instead of {} to distinguish from empty record type
2010-03-31 22:05:12 +00:00
aarne
b959037cdb
Olga's etc corrections in Phrasebook
2010-03-31 14:58:32 +00:00
krasimir
3b7d0e4fcc
export fullFormLexicon from PGF
2010-03-31 11:09:12 +00:00
aarne
4867b91778
moved phrases like 'I am hungry' from Greetings to Words to make them more general
2010-03-30 21:48:24 +00:00
aarne
b4abd2ebba
removed Roles; updated Phrasebook doc
2010-03-30 20:10:36 +00:00
aarne
66cca22f38
simplified the treatment of politeness in Phrasebook
2010-03-30 18:48:59 +00:00
aarne
0e91a4d84d
disambiguation in Phrasebook grammars, PGF server, and the GUI
2010-03-30 15:39:11 +00:00
aarne
92d51c8ca3
information on missing words; fix in PhraseDut
2010-03-29 21:19:50 +00:00
aarne
8052652c4e
corrected some incorrect inflections in LexiconEng
2010-03-29 16:00:04 +00:00
aarne
f6f09b401e
AttemptoUrd added
2010-03-29 13:59:46 +00:00
aarne
c2f97ef506
the rest of Urdu files - now compiles with lib/src/Make
2010-03-29 12:41:33 +00:00
aarne
1402b10138
urdu relatives
2010-03-29 12:40:51 +00:00
aarne
997ca76c1b
fine tuning phrasebook
2010-03-28 21:13:29 +00:00
aarne
1c088506b3
catching initial bind symbol in PGFServer
2010-03-28 20:32:03 +00:00
aarne
e01f2ab1b2
version 0.2 of phrasebook
2010-03-28 20:13:46 +00:00
aarne
a814066463
new Utt constructors for AP, Card
2010-03-28 20:13:15 +00:00
aarne
13a7954646
Action category, more doc in Phrasebook
2010-03-28 19:29:06 +00:00
aarne
c99ecf2704
short-phrase translation; added Swe; started doc in Phrasebook
2010-03-28 15:28:02 +00:00
aarne
5c0fb2cb7e
text-like unlexer for phrasebook web service
2010-03-26 22:08:48 +00:00
aarne
40763b5f61
change Food to Words in Phrasebook, since it's unpractical to have many small modules; added syntactic forms and words
2010-03-26 22:07:17 +00:00
aarne
c42afc59eb
how8much_IAdv in Structural; changed parameter name Place in Numerals
2010-03-26 22:06:35 +00:00
aarne
5e4548e4da
fixes for webdemos, including bug in StructuralIta
2010-03-26 17:38:20 +00:00
aarne
7ce6c55ef7
FoodsRon in utf-8
2010-03-25 14:47:19 +00:00
krasimir
69535e2b6b
even simpler version of NQueens
2010-03-24 21:04:37 +00:00
krasimir
ab3127b5dd
bugfix in the lProlog generator
2010-03-24 20:54:20 +00:00
krasimir
925fb9dc85
the Plus predicate from NQueens is replaced with definition for function plus
2010-03-24 16:14:36 +00:00
krasimir
17897bc286
partial support for def-rules in the Lambda Prolog generation
2010-03-24 16:12:58 +00:00
aarne
eab9110f05
politeness and disambiguation in Phrasebook (not visible yet)
2010-03-24 08:18:54 +00:00
krasimir
ce99935812
now for every category we store, in PGF, the list of functions for it in source-code order. The order matters for the termination of the exhaustive generation with dependent types.
2010-03-24 11:11:55 +00:00
krasimir
297d40455e
typo in CheckGrammar
2010-03-23 15:35:32 +00:00
krasimir
858f6a1d4e
use the new more accurate location information for some error messages
2010-03-23 15:24:48 +00:00
krasimir
1591253a55
added codepage for Turkish
2010-03-23 13:44:17 +00:00
krasimir
ef957a0307
added comment to every GF.Text.CPxxxx module about the purpose of the codepage
2010-03-23 12:19:34 +00:00
e1560697
dec065a578
nounAdjVerbNumerals
2010-03-22 08:44:21 +00:00
e1560697
2a7fbf43e1
nounverbadjmorphoandsuffixmodule
2010-02-15 17:22:10 +00:00
krasimir
ba3b57bff9
add JavaScript API for completion. contributed by John J. Camilleri
2010-03-23 08:55:56 +00:00
krasimir
20d25c23cd
fix checkInfoType in Parser.y
2010-03-22 23:49:15 +00:00
aarne
cd25764350
www api command translategroup, which uses groupResults
2010-03-22 22:04:36 +00:00
krasimir
d3a84f994b
store and propagate the exact source location for all judgements in the grammar. It may not be used accurately in the error messages yet
2010-03-22 21:15:29 +00:00
aarne
d1615144b6
PGF.groupResults and the option l -groups, to show ambiguities grouped by laguage
2010-03-22 19:03:06 +00:00
krasimir
63adb15eb9
transliteration for Urdu
2010-03-22 09:29:43 +00:00
krasimir
8a0d72aeec
update in Urdu
2010-03-22 09:01:27 +00:00
krasimir
74448670f5
produce optimized Lambda Prolog code
2010-03-22 08:56:42 +00:00
aarne
2e78c2f774
Romanian numerals in utf8
2010-03-22 08:35:05 +00:00
aarne
534d553f3e
switch to utf8 in Romanian
2010-03-21 19:58:13 +00:00
aarne
8f148ee054
French phrasebook
2010-03-21 19:57:53 +00:00
aarne
d282a9e1a0
English version of Phrasebook
2010-03-21 17:42:11 +00:00
krasimir
f4d3da0ccc
the NQueens algorithm written in GF
2010-03-21 19:01:57 +00:00
aarne
5c9062f5ea
Diff interface for Phrasebook
2010-03-21 03:37:02 +00:00
aarne
99b5300795
MakeStructural in Cat and Spa
2010-03-20 21:24:01 +00:00
aarne
7434b000b7
refer to MakeStructural in Spa and Cat; moved have_V2 to proper place in Ron
2010-03-20 21:22:21 +00:00
aarne
49a016fd01
started Phrasebook with Finnish and Romanian
2010-03-20 21:21:50 +00:00
krasimir
57b8e42601
added experimental generation of Lambda Prolog code. Could be used for exhaustive generation with dependent types. Doesn't support def rules yet but supports high-order syntax and lambda expressions.
2010-03-20 07:26:53 +00:00
krasimir
a74a81b8a1
pattern @ should be propagated to PGF
2010-03-18 20:21:57 +00:00
krasimir
b2c785edfa
fix the precedence for patterns ~, - and @
2010-03-18 19:52:45 +00:00
krasimir
0c2944fa7f
syntax for inaccessible patterns in GF
2010-03-18 19:34:30 +00:00
krasimir
dc0a84951f
incomplete code for adjoints and monads
2010-03-15 17:31:15 +00:00
krasimir
8ac49f854f
identity functor
2010-03-15 16:35:00 +00:00
krasimir
1d97276a14
added natural transformations
2010-03-15 14:52:47 +00:00
krasimir
347347d411
incomplete code for composition of functors
2010-03-15 10:47:00 +00:00
krasimir
77be515422
refactor Morphisms.gf and InitialAndTerminal.gf
2010-03-15 10:43:20 +00:00
krasimir
52d5967008
two theorems without proofs: every equalizer is monomorphism; every coequalizer is epimorphisms
2010-03-15 10:41:39 +00:00
krasimir
8985a9ea04
added Equalizers in category-theory
2010-03-15 09:57:39 +00:00
krasimir
34f5b2a436
bugfix in PGF.TypeCheck
2010-03-14 12:21:00 +00:00
krasimir
6a89647a6d
cleanup in PGF.Typecheck -> newGuardedMeta doesn't need the current scope
2010-03-13 20:12:00 +00:00
aarne
662aff27fe
tour extended up to sentences and questions
2010-03-06 22:05:48 +00:00
aarne
1dfbc7a741
fixes in FoodsUrd and DemoRon compilation
2010-03-05 07:22:57 +00:00
hallgren
e239e3331a
Quick fix to adapt to new version of the PGF library.
2010-03-04 18:46:18 +00:00
aarne
a2bd002917
FoodsUrd added (by Shafqat)
2010-03-04 16:56:36 +00:00
aarne
01ba78238f
more tours
2010-03-04 16:55:51 +00:00
aarne
3f8ce136fc
make DemoRon compile
2010-03-04 16:54:25 +00:00
aarne
43d23fc412
Macros and note in GFCC document.
2010-03-02 21:22:53 +00:00
aarne
948209889b
gfcc README
2010-03-02 19:30:16 +00:00
aarne
8dd2a5d23b
cleaned up gfcc ; added gfcc script
2010-03-02 19:27:34 +00:00
aarne
1be8903cce
restored gfcc example (GF C compiler)
2010-03-02 19:10:56 +00:00
krasimir
46c04f4c91
rule for pretty printing implicit arguments
2010-02-22 20:09:28 +00:00
krasimir
e876fad3fa
add pretty printing rule for implicit patterns
2010-02-22 20:02:53 +00:00
krasimir
5d2b204246
refactor PGF.Expr and PGF.TypeCheck so that the evaluator always has access to the meta store
2010-02-22 15:50:41 +00:00
krasimir
415375f35c
functors
2010-02-22 14:40:28 +00:00
krasimir
34a8b768eb
the oposites of two equal arrows are equal arrows
2010-02-22 14:38:13 +00:00
krasimir
f3c6acc6dc
bugfix in PGF.TypeCheck
2010-02-20 18:48:06 +00:00
krasimir
25adc81550
two theorems every iso is mono and every iso is epi
2010-02-20 16:37:23 +00:00
krasimir
8ca24fcad6
some more definitions in category theory
2010-02-20 16:33:40 +00:00
krasimir
ff30de63ce
one more test for cyclic def rules
2010-02-16 20:27:07 +00:00
aarne
e6dbcc2dc0
make demo in lib/src works (without Ron)
2010-02-17 16:14:30 +00:00
aarne
0c1f931725
removed strange typo from summerschool FoodsGer
2010-02-17 16:08:27 +00:00
krasimir
3aa7aa84bb
fix the Haskell code generation
2010-02-17 13:09:23 +00:00
krasimir
897682d952
replace SS with StmtS in SUMO
2010-02-17 12:38:11 +00:00
krasimir
07fa5c575d
added TPTP for SUMO
2010-02-17 12:21:41 +00:00
krasimir
6b8fa0eaa1
SUMO axioms
2010-02-17 11:12:43 +00:00
krasimir
06654cbb5e
added examples/SUMO
2010-02-17 11:07:24 +00:00
krasimir
e54ac49769
fix in PGF.Printer
2010-02-17 10:31:10 +00:00
krasimir
d91ffecfa4
-output-format=pgf_pretty now prints the flags as well
2010-02-17 10:20:49 +00:00
krasimir
e1ac90f543
fix the PGF printer for abstract
2010-02-16 21:47:58 +00:00
krasimir
899ed163a1
no need to keep the list of constructors per category in .gfo
2010-02-16 09:34:02 +00:00
krasimir
62781ca519
more category theory -> morphisms, initial and terminal objects
2010-02-15 10:35:24 +00:00
krasimir
2702b64722
basic category theory expressed in GF. Note: works only with my development version of GF. It will be pushed in darcs soon
2010-02-14 10:20:08 +00:00
krasimir
731d46643d
white space instead of tab in GF.cabal
2010-02-12 21:31:30 +00:00
krasimir
991e51373a
add PGF.Probabilistic in GF.cabal
2010-02-12 16:12:17 +00:00
krasimir
96b1041763
one more test for cyclic operations
2010-02-09 18:38:11 +00:00
krasimir
8c4fd9de9b
allow negative integers in the grammar syntax
2010-02-08 12:59:22 +00:00
krasimir
1e7cb24e70
test case for lazy evaluation in the abstract syntax
2010-02-07 22:22:30 +00:00
aarne
f3f661b525
generalized tour to a variable language by the script MkTour
2010-02-08 10:52:08 +00:00
krasimir
1c2a240b2c
command cc now works even without loaded grammar. useful for testing closed expressions
2010-02-07 19:23:26 +00:00
krasimir
c019609e23
some changes in Urdu by Shafqat
2010-02-07 09:10:08 +00:00
krasimir
7588807c1b
test case for invalid parameter definition
2010-02-06 20:15:46 +00:00
krasimir
625c8e0e03
in verbose mode print the rule names when compiling PMCFG
2010-02-06 18:24:15 +00:00
krasimir
c2259adf5d
bugfix in GrammarToPGF related to the compilation of def rules
2010-02-05 22:16:44 +00:00
aarne
8171538b12
some more things in tour
2010-02-04 15:59:27 +00:00
aarne
745bee5d88
command eh ; lib/doc/tour started
2010-02-03 20:55:54 +00:00
krasimir
e33447aadd
fix the tabular printing when there is a V constructor
2010-02-03 17:33:55 +00:00
aarne
101ba3ec5e
gr for several metas fixed ; commented out one alternative in SammieGer to make it compile
2010-02-02 07:12:52 +00:00
aarne
88f4c1a5b2
fixed Sammie examples to compile (except Spa)
2010-02-01 15:57:29 +00:00
aarne
3dd8fb8dec
commands mq and tq can take a tree with metas to guide generation
2010-02-01 09:56:58 +00:00
krasimir
3d5864918b
test case for let expression in def rule
2010-02-01 09:18:42 +00:00
krasimir
884c55f7e6
added tests for literals in the abstract syntax
2010-02-01 08:58:46 +00:00
krasimir
b625b416ee
added test cases for polymorphic and record types in the abstract syntax
2010-01-31 22:16:35 +00:00
krasimir
5eeb41a67f
add test case for abstract types with let bindings
2010-01-31 20:45:48 +00:00
aarne
ab1d4deccf
command l -list ; fixed mq to work with the new tabularLinearizes
2010-01-31 16:05:23 +00:00
krasimir
4485e97181
refactor GF.Infra.Modules for better error messages
2010-01-31 15:54:25 +00:00
krasimir
c93e406997
add Show instance and remove the Eq and Ord instances for PGF.Expr.Equation and PGF.Expr.Patt
2010-01-31 14:45:44 +00:00
aarne
5507133638
gt and gr can start from a tree with metavariables, just filling them
2010-01-30 18:01:18 +00:00
krasimir
3926ea1a05
code cleanup in PGF.TypeCheck
2010-01-30 10:10:51 +00:00
krasimir
9e547710f5
bugfix in the PGF typechecker and more test cases
2010-01-29 21:10:14 +00:00
krasimir
ed446a4295
update the testsuite
2010-01-29 11:13:31 +00:00
aarne
53a081bf0b
example_based returns the list of all unknown words
2010-01-28 16:27:28 +00:00
aarne
8f0df0442a
in example-based grammar conversion, warnings about unknown words
2010-01-28 10:06:16 +00:00
aarne
47c7b09884
command eb for example-based grammar conversion; see 'help eb' and the example in examples/animals/QuestionsI.gfe
2010-01-27 17:51:15 +00:00
krasimir
3685595ece
cleanup the code of the PGF interpreter and polish the binary serialization to match the preliminary specification
2010-01-27 09:39:14 +00:00
aarne
a5a1d2bbe0
bug fixes in biased generation ; example probs file in lib/src
2010-01-26 21:49:00 +00:00
aarne
a463443cf5
probability ranking (rt) and gr -probs=FILE
2010-01-26 21:08:04 +00:00
aarne
9226dc6052
added probabilities to trees and random gen; not yet in shell
2010-01-26 15:53:49 +00:00
krasimir
38b02bb64d
fix the PGF generation when it is used from the shell
2010-01-26 14:15:37 +00:00
aarne
b0a62aded5
Demo for Bul and Cat as well
2010-01-21 14:08:44 +00:00
aarne
37223e742d
a simpler and better Demo file set for resource grammars
2010-01-21 09:16:34 +00:00
krasimir
a039808141
PGF is now real synchronous PMCFG
2010-01-17 21:35:36 +00:00
krasimir
362f333ebd
now the linearization is completely based on PMCFG
2010-01-17 17:05:21 +00:00
krasimir
61867b2b72
prettier parameter names in PGF
2010-01-17 00:41:46 +00:00
krasimir
190cd6930b
small code cleanup in GeneratePMCFG.hs
2010-01-16 22:10:45 +00:00
krasimir
e5efe28c74
move the definitions of _B and _V to PGF.Macros
2010-01-12 14:36:41 +00:00
krasimir
11218cdbca
store the label names in PMCFG
2010-01-05 08:35:33 +00:00
krasimir
f841b1ada5
printnames are now kept as String instead of Term in PGF
2010-01-05 07:05:41 +00:00
aarne
b81b3ef2be
NumeralsHin changed to Harald's old file (without inflection, old Devanagari translit)
2010-01-18 17:22:01 +00:00
krasimir
e0dda5b65a
allow metavariables with indices i.e. ?0, ?1, etc in the abstract syntax parser in PGF
2010-01-15 21:23:37 +00:00
krasimir
a04cbcfb63
now the abstract syntax in PGF allows the same syntax for integers, floats and strings as in Haskell. This includes negative integers and exponents in the floats
2010-01-15 21:13:46 +00:00
aarne
cd3e40a2d8
Shafqat's Urdu modules added
2010-01-15 09:09:02 +00:00
hallgren
b318698372
Use build-type: Custom, so that cabal install calls Setup.hs.
2010-01-13 16:40:15 +00:00
hallgren
de7aadaf59
Makefile for Foods.pgf (machine readable version of README)
2010-01-12 15:25:56 +00:00
krasimir
c00d3be656
additional tests for linearizations
2010-01-12 13:18:37 +00:00
krasimir
2b6eaf6f11
inplace editing/parsing in the syntax editor
2010-01-07 10:38:43 +00:00
krasimir
de615a3392
better tokenizer in the JavaScript runtime
2010-01-07 10:36:16 +00:00
aarne
c4cbd1f405
refactored Scandinavian NP agreement features
2010-01-05 23:00:40 +00:00
aarne
4db9cd2b70
Swedish "each of" in Attempto with correct agreement
2010-01-05 22:13:28 +00:00
aarne
0df33590f3
that_Subj in Italian
2010-01-05 14:19:27 +00:00
aarne
1bbc4ec91d
agreement in German Predet
2010-01-05 13:35:24 +00:00
aarne
234a3d3633
fixes in Attempto
2010-01-04 21:19:13 +00:00
aarne
14efc8a8a5
bug fixes in Finnish
2010-01-04 21:16:34 +00:00
aarne
f6cbc69e09
added Tense to Parse grammar
2010-01-03 10:35:42 +00:00
aarne
d403fd0f7f
number agreement in Romance predeterminers
2010-01-04 14:59:40 +00:00
krasimir
884db4c08c
added test grammar for literals in the testsuite
2010-01-04 13:51:36 +00:00
krasimir
0075e4bf60
some dead code is removed in the JavaScript interpreter
2010-01-04 13:47:58 +00:00
krasimir
c8fbc24906
literal categories in the JavaScript interpreter
2010-01-04 13:44:21 +00:00
krasimir
83ded542e9
fix the editor grammar
2010-01-04 12:36:49 +00:00
krasimir
838c4f9683
in gflib.js declare all variables with 'var' because otherwise they are global by default
2010-01-04 12:26:11 +00:00
krasimir
c891123026
in the javascript version of extractTrees filter out the duplicated parse trees
2010-01-04 12:20:53 +00:00
krasimir
dc2bf98294
bugfix in the javascript parser
2010-01-04 11:16:17 +00:00
aarne
ab0eaa7b62
morpho analysis with -missing flag, shows words outside lexicon; also invoked if parsing fails; also added pg -words to show the list of words
2009-12-31 11:02:26 +00:00
krasimir
548d7e3209
js-runtime: redundant loop removed
2009-12-27 12:12:51 +00:00
krasimir
c6ac5df859
use object references instead of FunId and SeqId in the javascript parser
2009-12-27 11:03:39 +00:00
krasimir
1e3dacfd71
bugfix in the javascript parser
2009-12-27 10:46:29 +00:00
krasimir
212fb4d789
javascript editor with PMCFG parser. (not stable yet)
2009-12-21 13:41:51 +00:00
aarne
c0ffa614ae
mathtext examples from Bonn
2009-12-18 11:08:39 +00:00
aarne
8d5f97866d
Phrase.UttCN added and implemented for Eng,Fre,Ger
2009-12-17 21:54:11 +00:00
aarne
5c9ac3655e
word order in subordinate German AdvS fixed
2009-12-17 21:31:02 +00:00
aarne
4e28be6958
correct capitalization in unlexmixed; unlextext and unlexmixed now remove string literal quotes
2009-12-17 21:17:46 +00:00
aarne
d0fc84ba74
removed commas from subjunctions in Eng,Fre
2009-12-17 09:46:22 +00:00
aarne
3e79540035
fixed place of infinitive particle in german fixed prefix
2009-12-17 09:24:16 +00:00
aarne
371aa3848c
Paradigm for German fixed prefix verbs
2009-12-17 09:14:06 +00:00
aarne
c9a89c50a2
that_Subj in Eng,Fre,Ger
2009-12-17 09:01:20 +00:00
aarne
787714b3fe
postfix subjunction SSubjS, defined for Eng, Ger, Romance
2009-12-17 08:49:41 +00:00
aarne
283807d2ec
fixed the order of complements in Romance insertObj
2009-12-16 18:06:45 +00:00
aarne
24f6f9181a
one step deeper into records in PGF generation
2009-12-16 16:25:52 +00:00
aarne
9c20e87a08
ImpP3 in French
2009-12-16 15:54:52 +00:00
aarne
403bec9f16
replaced German Agr record by an algebraic type
2009-12-16 15:45:29 +00:00
aarne
4f749d8bae
ImpP3 in IdiomEng
2009-12-16 15:42:47 +00:00
aarne
95ad030dc6
ImpP3 in IdiomGer
2009-12-16 15:42:16 +00:00
hallgren
5a9b43a422
Home page updated for GF 3.1 release
...
+ Added links to Google Group and Google Project.
+ Removed duplicated links.
+ Minor style changes.
+ The page is not generated from index.txt.
2009-12-15 21:20:35 +00:00
hallgren
2fa9d7652c
New GF 3.1 package for windows
2009-12-15 20:01:54 +00:00
hallgren
c4d93e515b
Comment out broken link to old download page
2009-12-15 17:42:16 +00:00
hallgren
de95eccac6
Download page updated for GF 3.1 release
2009-12-15 17:20:49 +00:00
hallgren
9fc30c11df
Update version number 3.0 to 3.1 in a number of places
2009-12-15 15:27:26 +00:00
hallgren
b81e56f306
Add build-tools: happy, alex
2009-12-15 15:25:15 +00:00
aarne
90b8c947c3
completed gf-bibliography
2009-12-15 14:39:04 +00:00
aarne
08fa2be8ab
warm_A in FoodsFin
2009-12-15 13:40:05 +00:00
hallgren
040290c41d
Make transparent pixels white in the logos
2009-12-14 20:51:37 +00:00
krasimir
1e592e20e6
reverse engineered version of the Editor grammar
2009-12-14 20:01:41 +00:00
hallgren
74017f8dc1
Added rules to update automatically generated HTML files.
...
Only gf-developers.html is updated for now, but more files could be added to
the list.
2009-12-14 18:01:05 +00:00
hallgren
4f9d5a4a4c
Developer documentation updates prompted by the switch to darcs version 2
...
In particular, the --lazy flag replaces the --partial flag.
2009-12-14 17:57:03 +00:00
hallgren
130417b541
New smoother version of the GF logo
...
The new logo is in the new directory doc/Logos. The old logo has been moved
there too. The documentation has been updated to refer to the new logo.
The new logo was provided in SVG format by Krasimir, but PNG files are included
as well. There are some new rules in doc/Makefile to convert from SVG to PNG,
which you can use if you edit the SVG files.
2009-12-14 16:01:47 +00:00
krasimir
286e60c7dc
fix the directories in gf-server.cabal
2009-12-14 15:21:09 +00:00
krasimir
57d07a295a
use forward slash instead of back slash in GF.cabal
2009-12-14 14:32:55 +00:00
ra.monique
bb0bac0310
fixedRon
2009-12-14 11:58:15 +00:00
krasimir
7a449030b0
remove some more dead code
2009-12-14 13:11:58 +00:00
krasimir
76debee2c1
remove the old parsing code and the -erasing=on flag
2009-12-14 10:54:22 +00:00
krasimir
15ddc283d4
rename some modules that had GFCC in the name to PGF+something
2009-12-14 10:10:58 +00:00
krasimir
71e51e34c3
now the PGF to JavaScript convertor uses PMCFG
2009-12-14 09:53:53 +00:00
krasimir
c92f9d1c0c
reorganize the directories under src, and rescue the JavaScript interpreter from deprecated
2009-12-13 18:50:29 +00:00
krasimir
15305efa5a
rename #Var to __gfVar because it breaks the JavaScript editor
2009-12-13 15:29:26 +00:00
aarne
0d41f45966
moved some doc to deprecated; empty dirs in lib to enable lib/src/Make
2009-12-14 09:54:23 +00:00
aarne
a6d9bc3126
unicode encoding in quiz questions fixed
2009-12-13 18:51:20 +00:00
ra.monique
3bd269ac2e
SymbolRon
2009-12-12 14:16:11 +00:00
krasimir
7c2bce5779
judgements lindef are now respected by both the parser and the linearizer
2009-12-11 17:39:18 +00:00
aarne
fc1d03f2f1
moved bin/jgf to deprecated
2009-12-11 16:27:24 +00:00
gdetrez
e560968144
Example was not parsed.
2009-12-11 13:21:19 +00:00
krasimir
541aee6ae6
allow empty lines when reading with 'rf -lines -tree'
2009-12-10 18:45:10 +00:00
aarne
44bc65282f
index: version still 3.0
2009-12-10 16:24:52 +00:00
aarne
a9173b7aae
updated index page - back in old place after all
2009-12-09 17:22:17 +00:00
hallgren
65ae76f226
Added a page title on the home page
2009-12-10 12:44:42 +00:00
hallgren
bd577639ac
Transparent logo background
2009-12-10 12:35:54 +00:00
krasimir
8de29e2227
function read_file now reports errors if there is expression with parse or type error
2009-12-09 22:43:17 +00:00
aarne
a2546722d1
moving a few things to deprecated
2009-12-09 09:47:16 +00:00
aarne
df019fa427
manual web page edits from cs.chalmers
2009-12-09 09:37:47 +00:00
aarne
338efc291e
utf8 flags in Arabic modules
2009-12-08 13:11:16 +00:00
aarne
f26676f556
Polish Bronzeage, compile with 13 languages
2009-12-08 13:04:05 +00:00
aarne
076643c4e1
making Arabic minimal compile; strange chars remain
2009-12-08 07:32:46 +00:00
aarne
5981a279a3
bug fix in ResAra
2009-12-07 19:56:38 +00:00
krasimir
ee04ff6157
change the URL to the bug tracker
2009-12-07 15:22:26 +00:00
aarne
09a5165adb
conversion of Int to Tree in haskell
2009-12-07 15:00:52 +00:00
aarne
c3263ea25d
Constructors.str2numeral for making numerals from strings
2009-12-07 10:29:53 +00:00
krasimir
234247b2bd
added mkMeta and isMeta in PGF
2009-12-05 10:12:03 +00:00
krasimir
65e9869f1a
fix the pattern matching in unStr, unInt, unDouble
2009-12-05 10:06:59 +00:00
krasimir
bfa926062a
more fixes in DictEng
2009-12-05 10:05:26 +00:00
aarne
e03fd993df
tensed verb coordination (cat VPS) in English and Scand extra
2009-12-04 14:19:40 +00:00
krasimir
03ac7006c8
UK, US and USA should be with capital letters in DictEng
2009-12-03 21:46:01 +00:00
krasimir
0c8f581bcf
remove that_A and that_Adv also
2009-12-03 21:18:00 +00:00
krasimir
04d6a7addb
few more fake words in DictEng
2009-12-03 21:08:32 +00:00
krasimir
080f299483
remove some fake and some duplicated words from DictEngAbs and DictEng
2009-12-03 19:59:25 +00:00
aarne
a7809c3e1c
took tense linearizations apart from Common/Cat to Tense, for bettter structure of lib
2009-12-03 10:53:14 +00:00
aarne
5c678ab686
articles added to Browse
2009-12-03 09:27:57 +00:00
aarne
bb41907a4d
abstracts, literals, and variables in tree visualization
2009-12-01 09:55:01 +00:00
krasimir
836e742ddf
TranslateApp now have browser for abstract syntax
2009-11-29 14:51:12 +00:00
krasimir
abe21f6fbb
function doListGrammars in PGFService is obsolete
2009-11-26 16:27:04 +00:00
krasimir
12d64654d7
the default function of the PGFService should return list of functions as well as list of categories
2009-11-26 14:47:35 +00:00
krasimir
b596086edf
change PGF.categories to return list of identifiers instead of types
2009-11-26 14:43:31 +00:00
aarne
9af907c31b
some corrections in Dutch after Koen's checks
2009-11-23 15:20:44 +00:00
aarne
29406fa916
restored a parsing grammar api/Browse
2009-11-20 15:14:41 +00:00
aarne
16c7420410
adding an mkQCl case for CompIP
2009-11-20 10:56:28 +00:00
aarne
597ab8c0b5
more accurate adjective paradigm in Dutch
2009-11-18 17:23:31 +00:00
aarne
711bfa4a11
more accuracy in Dutch smart paradigms
2009-11-18 16:45:30 +00:00
aarne
a31c74e056
corrections after running the test suite for Dutch
2009-11-18 09:36:21 +00:00
aarne
30a1b5c4d8
fixed double infinitives in Dutch
2009-11-18 09:18:44 +00:00
krasimir
a01faec4f9
slight optimization in GF.Grammar.Lexer
2009-11-17 21:49:51 +00:00
aarne
d4ac17b9d2
Dutch api modules
2009-11-17 19:21:21 +00:00
aarne
9927088414
dutch complete, verbs verified in the lexicon
2009-11-17 17:56:04 +00:00
aarne
635f9cbdd3
Dutch lexicon complete (except left and right)
2009-11-17 15:38:49 +00:00
aarne
7a26b95adf
Dutch lexicon closer to complete, but not verified.
2009-11-17 12:52:32 +00:00
aarne
200b1d5473
Dutch syntax complete (but not checked)
2009-11-17 10:29:33 +00:00
aarne
8ed9fe442d
Dutch lexicon generated via Google translate; method in lib/src/MkExx.hs
2009-11-16 15:21:56 +00:00
aarne
70308bb549
command vt -mk for displaying overload-style function names
2009-11-15 20:03:28 +00:00
krasimir
7f407e8e32
lookupResType should always return the precomputed CncFun type
2009-11-14 09:21:34 +00:00
krasimir
a2452fce56
bugfix: In AppPredefined.hs, PTrue and PFalse should be declared as constructors
2009-11-13 21:52:53 +00:00
krasimir
1c6d0ee306
add test case for typechecking of lincat
2009-11-13 10:28:37 +00:00
krasimir
2ddefec2bc
for 'lincat C = T' the typechecker should check that T is a valid type
2009-11-13 10:25:31 +00:00
krasimir
5a63f221d7
before the optimizations OptParametrize and OptValues were applied twice. in addition the values optimization is now always applied because it become very cheep
2009-11-12 21:11:51 +00:00
krasimir
28e6c021e7
parteval -> partial evaluation
2009-11-12 20:12:59 +00:00
krasimir
1c4525d763
bugfix: GF.Compile.GrammarToGFCC should not strip the parameter values
2009-11-12 20:09:59 +00:00
aarne
bf311d19b0
the verb hebben in Dutch
2009-11-12 07:39:07 +00:00
aarne
454dc5dd54
questions, relatives, numerals - most of Dutch syntax soon in place
2009-11-11 20:34:09 +00:00
aarne
53a5c1ee9d
list of Dutch irregular verbs
2009-11-11 08:08:09 +00:00
aarne
504b8e879f
prefix verbs in Dutch
2009-11-10 20:33:30 +00:00
aarne
00cda41bc0
more words and rules in Dutch
2009-11-10 17:24:32 +00:00
aarne
ad89cc7cc2
subordination in Dutch
2009-11-08 20:23:21 +00:00
krasimir
fad4c66451
check grammar should process the definitions in dependency order. This also ensures that the list of parameters for some parameter type is complete
2009-11-07 15:30:57 +00:00
krasimir
8e623175a6
bugfix: if a concrete module has operations then they also should be optimized
2009-11-07 15:18:25 +00:00
aarne
0ed7853c6b
first compilable LangDut
2009-11-06 17:58:07 +00:00
aarne
1823d1b896
a script for bootstrapping a resource language
2009-11-06 17:57:13 +00:00
krasimir
5b3eef5c1b
update testsuite/runtime/parser/Parse.hs
2009-11-02 16:31:32 +00:00
krasimir
fa187d2c30
update the testsuite
2009-10-28 18:07:49 +00:00
krasimir
52d99546e1
added test cases for cyrcular definitions
2009-10-28 17:59:18 +00:00
krasimir
83eca99da1
check for cyclic parameters, operations and dependent types
2009-10-28 17:44:50 +00:00
krasimir
3f006ab7d9
refactoring in GF.Grammar.Lookup
2009-10-28 17:10:43 +00:00
krasimir
526e75fce1
restructure ResParam and ResValue
2009-10-28 16:47:01 +00:00
krasimir
d99e134fed
bugfix in GF.Compile.CheckGrammar
2009-10-28 09:10:58 +00:00
krasimir
7656ff29b5
simplify the Term again
2009-10-27 15:45:05 +00:00
krasimir
f0ab7463e8
fix the compilation of MorphoService.hs
2009-10-27 09:10:50 +00:00
krasimir
6e0ed0f4d4
strip some redundant constructors from GF.Grammar.Grammar
2009-10-25 18:01:04 +00:00
krasimir
038b2c9f2d
small refactoring in GF.Compile.CheckGrammar
2009-10-25 15:20:44 +00:00
krasimir
98cf0ea180
add GF.Compile.Concrete.TypeCheck in GF.cabal
2009-10-25 13:10:24 +00:00
krasimir
6cb3228a04
split the abstract syntax specific and the concrete syntax specific modules in different subfolders in GF.Compile
2009-10-24 17:42:02 +00:00
krasimir
9c0b693aec
refactoring in GF.Compile.Optimize
2009-10-24 16:08:00 +00:00
krasimir
9412171621
integrate Polish in the build system
2009-10-24 12:32:03 +00:00
'Adam Slaski
c98dcdfc4f
symbolpol and fixing typo in verbpol
2009-10-24 12:14:56 +00:00
krasimir
73e1f0e81e
added tree visualizations in TranslateApp
2009-10-24 10:38:21 +00:00
krasimir
cc69abd7b6
expose the tree visualization via PGF API
2009-10-24 09:03:40 +00:00
aarne
5f5e3f1d69
making TryPol compile
2009-10-23 16:11:54 +00:00
krasimir
4f6bd2f1d6
add API modules for Polish
2009-10-23 15:34:09 +00:00
krasimir
4f8e32cb5d
use restricted inheritance in Polish
2009-10-23 15:00:24 +00:00
aarne
cfd9894086
C bindings to PGF interpreter
2009-10-23 12:54:21 +00:00
gabpag
4dff246697
fixes on italian/romance resource grammar
2009-09-27 13:33:25 +00:00
aarne
2c57206b75
Polish resource grammar
2009-10-23 12:44:58 +00:00
krasimir
604c6e44f2
fix typo
2009-10-23 12:16:29 +00:00
krasimir
4e7a5bb297
experimental robust parser
2009-10-23 08:35:32 +00:00
aarne
1141be0972
fix for multiword phrases in Malt format
2009-10-20 19:27:42 +00:00
aarne
6fc1ea5922
MaltParser input
2009-10-20 14:45:02 +00:00
aarne
0b220af720
Malt parser .conll format by vd -output=malt
2009-10-20 13:04:33 +00:00
aarne
f37d5a0f65
labels read from config files for dependency trees, eg lib/src/dep.labels
2009-10-19 15:53:30 +00:00
aarne
79e4d6ebf8
one missing case in dep trees
2009-10-19 12:47:31 +00:00
aarne
5ab335517a
experiment examples, starting with Dep trees
2009-10-19 08:48:46 +00:00
aarne
650aab234a
labels in dep trees (preliminary)
2009-10-19 08:47:44 +00:00
aarne
4f7595b1f5
improved printing of dependency trees
2009-10-18 19:24:01 +00:00
aarne
c6843d0b25
a compilable version of English with OALD
2009-10-12 20:07:06 +00:00
krasimir
fb60cc36d1
added smart constructors for types in PGF
2009-10-15 16:21:26 +00:00
krasimir
3cf44aaa74
make the GF server to compile after that changes in the PGF runtime
2009-10-15 11:32:25 +00:00
krasimir
d31e2fe040
bugfix in Setup.hs for Linux
2009-10-15 06:44:40 +00:00
krasimir
0b9c38569c
added start category S to Trigram.gf
2009-10-08 13:41:34 +00:00
krasimir
d920a0c53d
just for fun - grammar for trigram models in GF
2009-10-08 13:13:48 +00:00
aarne
30638abe98
Sammie grammars added to examples
2009-10-08 12:40:47 +00:00
aarne
fa8bcda821
rudimentary dependency tree by command vd
2009-10-08 07:03:29 +00:00
aarne
deb905bbdb
parse tree visualization command vp
2009-10-07 16:18:33 +00:00
krasimir
f607cd0108
remove duplicated function from GF.Grammar.Macros
2009-10-07 09:33:57 +00:00
krasimir
f89d582d3b
the Setup.hs script should build the prelude also
2009-10-07 08:34:32 +00:00
krasimir
7ba65bb0d4
fix the error message for overload resolution
2009-10-06 14:59:02 +00:00
krasimir
1a58e32362
hopefully the last revision of the relative paths handling algorithm
2009-10-06 10:27:34 +00:00
krasimir
d258b72719
another attempt to get the paths handling right
2009-10-05 14:58:13 +00:00
aarne
2a2cc38fda
restored lib/src/Make files
2009-10-05 12:55:29 +00:00
aarne
6a744bfb5f
paths in Symbol modules; present in ResRon (not complete)
2009-10-05 12:54:17 +00:00
krasimir
da177ed66a
bugfix in extendPathEnv
2009-10-03 07:39:06 +00:00
krasimir
eae27821a0
update the testsuite
2009-10-03 06:52:14 +00:00
krasimir
f000f30714
merge GF.Grammar.API into GF.Grammar
2009-10-02 23:34:35 +00:00
krasimir
9b2c81436c
refactor GF.Infra.CheckM and use the CheckM monad in the renamer as well
2009-10-02 22:52:14 +00:00
krasimir
f05088df54
fixes in the library for the implicit arguments syntax
2009-10-02 21:26:45 +00:00
krasimir
2732a7a22e
Implicit arguments in GF. Works only in PGF for now.
2009-10-02 13:25:12 +00:00
krasimir
40373704ff
refactoring in GF.Grammar.Macros
2009-09-21 06:56:39 +00:00
krasimir
c2ef7ed35d
syntax for implicit arguments in GF
2009-09-20 13:47:08 +00:00
krasimir
7c805b8ff7
rename MetaSymb in GF.Grammar.Grammar to MetaId to match the convention in PGF
2009-09-20 10:28:27 +00:00
krasimir
73e11a60c5
remove the Read instances from GF.Grammar.Grammar
2009-09-20 10:16:59 +00:00
krasimir
94068df3fb
rename Decl in GF.Grammar.Grammar to Hypo to match the convention in PGF
2009-09-20 10:15:39 +00:00
krasimir
1dfa67a30a
change the data types and the syntax in PGF to match the new syntax for implict arguments
2009-09-20 11:43:41 +00:00
krasimir
6549bd7caf
fix the least version number for the base package
2009-10-01 17:20:04 +00:00
krasimir
1455bca545
remove the fake word prava_N from DictBul.gf
2009-09-28 12:08:06 +00:00
krasimir
bb0be1e964
export the morphology API from PGF
2009-09-28 12:06:20 +00:00
krasimir
97d25fa6c8
fix the paths in DictXXX.gf
2009-09-27 18:17:31 +00:00
krasimir
dd1014d009
bugfix: the identifiers in the output of l -table should not be qualified
2009-09-25 08:53:27 +00:00
krasimir
b4f8f39f76
bugfix in the filterProds function
2009-09-23 06:32:24 +00:00
krasimir
b6a011c734
the pmcfg_pretty printer now prints the actual grammar used for parsing
2009-09-23 06:28:36 +00:00
krasimir
1e894281b7
remove the redundant complement fields in V2V and V2A
2009-09-22 08:08:54 +00:00
ra.monique
d7817e5317
romanian_mod
2009-09-20 15:06:10 +00:00
krasimir
eb139fd705
better error message for the ai command
2009-09-19 10:24:02 +00:00
krasimir
c09404ebc1
bugfix in PGF.TypeCheck
2009-09-19 10:21:26 +00:00
krasimir
fd63cdaeed
use the syntax <x : A> in PGF.Expr for typed expressions. This is consistent with the GF language
2009-09-19 10:16:37 +00:00
krasimir
2bb3229a84
command ai doesn't need typechecking from the shell
2009-09-18 14:43:04 +00:00
krasimir
e8d8f5dfe1
typo in PGF.Expr
2009-09-18 12:05:32 +00:00
krasimir
5d75dfab2b
fix in GF.Grammar.Printer
2009-09-17 20:09:22 +00:00
krasimir
715f551802
fixes in NumeralTransfer.gf
2009-09-17 15:57:20 +00:00
krasimir
e55b70a9af
added pt -transfer
2009-09-17 15:47:06 +00:00
krasimir
d9365c6cf0
added transfer module for Numeral to Digits and back
2009-09-17 14:35:19 +00:00
krasimir
45bfba4103
remove the transfer modules. We don't need anything special, a transfer module is module without concrete syntax
2009-09-17 14:32:20 +00:00
krasimir
347e5db212
bugfix in the ai command
2009-09-17 13:14:04 +00:00
aarne
361ed80517
some fixes in clitics in French imperatives
2009-09-16 13:26:49 +00:00
krasimir
34c8d78fed
more fixes in the testsuite
2009-09-16 12:49:04 +00:00
krasimir
886d663a96
another fix in the testsuite
2009-09-16 12:13:11 +00:00
krasimir
5c882f9bf9
fix some tests in the testsuite
2009-09-16 11:20:05 +00:00
krasimir
6e6d943630
remove some obsolete directories and files in lib
2009-09-16 08:43:43 +00:00
krasimir
4b8ff9a4be
add Romanian to the build system
2009-09-16 08:40:16 +00:00
krasimir
032b1fffc2
uncomment SymbolicRon
2009-09-16 08:39:43 +00:00
krasimir
2f97a77cbe
implementation for SymbolRon.gf from Ramona
2009-09-16 08:14:12 +00:00
aarne
d1794a764a
make Romanian compilable for present, and Bronzeage for most languages
2009-09-15 15:27:42 +00:00
krasimir
a85dc0c3be
forgot to push the changes to GF.cabal
2009-09-15 11:51:26 +00:00
krasimir
bfe4ff0d7a
update the compiler testsuite
2009-09-14 16:27:37 +00:00
krasimir
7a169dd586
clean up the GF.Grammar API
2009-09-14 16:23:23 +00:00
krasimir
9cebd25eac
Use GF.Grammar.Printer everywhere instead of PrGrammar
2009-09-14 15:13:11 +00:00
krasimir
3e489086ed
fix typo in CheckGrammar
2009-09-14 12:34:46 +00:00
krasimir
c61fbb4206
added some tests in the testsuite for the compiler
2009-09-14 12:17:57 +00:00
krasimir
5d06550283
CheckGrammar is now using the printer in GF.Grammar.Printer. Fixed bug that was hiding the warnings
2009-09-14 12:16:02 +00:00
krasimir
4ef98f44d2
remove some more independent keywords from Romanian and import the right version of NumeralRon.gf
2009-09-14 07:49:08 +00:00
ra.monique
18d01be869
romanian_modified
2009-09-14 01:33:06 +00:00
krasimir
a81def4168
more fixes for the lock_ fields
2009-09-13 21:18:43 +00:00
krasimir
4f87558b55
fix the missing lock fields in several languages
2009-09-13 20:31:20 +00:00
krasimir
f165acc41b
fixed missing lock_N warning in LexiconCat.gf
2009-09-13 19:18:07 +00:00
krasimir
d67f2ad970
added needsTypeCheck parameter to CommandInfo. The argument to the command is typechecked only if needsTypeCheck=True
2009-09-13 15:39:11 +00:00
krasimir
352a640e64
the testsuite\runtime\parser test now generates random trees to test the parser with
2009-09-13 15:17:15 +00:00
krasimir
96f86d53ac
add dummy SymbolRon.gf
2009-09-12 13:36:33 +00:00
krasimir
f5e4cd4b9f
add the API modules for Romanian
2009-09-12 13:34:01 +00:00
krasimir
57e53d46f6
added wrapper functions for expression manipulations in PGF. The Haskell API now uses the wrappers
2009-09-11 14:42:45 +00:00
krasimir
d294b70395
polish the PGF API and make Expr and Type abstract types. Tree is a type synonym of Expr
2009-09-11 13:45:34 +00:00
krasimir
7a13751a10
added the rest of Romanian :-)
2009-09-10 17:23:29 +00:00
krasimir
be3dc0ef9e
now the datatype Tree is only internal. All API functions are working with Expr directly. Commands gt, gr, p and rf filter out the output via the typechecker
2009-09-08 08:40:28 +00:00
krasimir
4f878c1f91
export Hypo(..) from PGF
2009-09-07 19:16:27 +00:00
krasimir
e1efcbe76d
make the PMCFG generation lazy again. it was made strict when the profiler was introduced
2009-09-07 14:45:17 +00:00
krasimir
54dbfeef48
hopefully complete and correct typechecker in PGF
2009-09-06 20:31:52 +00:00
krasimir
26367d6a1e
bugfixes in the parser for PGF.Type.Type
2009-07-07 22:22:05 +00:00
krasimir
ee4734c472
bugfix in PGF.Expr.apply
2009-07-05 16:07:34 +00:00
krasimir
cb6244c820
PGF.Type.Hypo now can represent explicit and implicit arguments and argument without bound variable
2009-07-05 15:44:52 +00:00
krasimir
a2929ac2b1
PGF.Expr.eval now returns suspension when a meta variable is encountered
2009-07-05 15:34:16 +00:00
jordi.saludes
313ab5a724
Changed regN endings in 'e' for Cat
2009-09-05 16:48:15 +00:00
jordi.saludes
2bb60dcb39
Fixed MassNP for Cat
2009-09-05 16:07:56 +00:00
krasimir
8b67bc92dd
simple profiler for PMCFG
2009-09-05 14:04:39 +00:00
jordi.saludes
e0930e51e2
ExtraCat fixed
2009-09-05 12:55:42 +00:00
krasimir
366c7faf89
refactoring in Bulgarian: use explicit Animacy instead of fourth gender
2009-09-03 20:13:09 +00:00
aarne
d8ef62ae76
revised FoodsHeb
2009-09-03 14:26:31 +00:00
jordi.saludes
bd8ddf4a14
GF summer school for Cat
2009-09-01 07:30:04 +00:00
krasimir
784d327505
the -dump-X options should convert to UTF8
2009-08-27 17:27:20 +00:00
aarne
87b0856239
food grammars added, with copyright statements
2009-08-29 17:36:15 +00:00
aarne
966e39bf47
added contrib and summerschool
2009-08-28 07:05:08 +00:00
krasimir
c5ac722916
if there is oper patt = #(...) then it also should be decoded to Unicode
2009-08-27 15:57:38 +00:00
aarne
a6bdd2d3c8
some corrections in Bronzeage
2009-08-27 13:49:00 +00:00
aarne
0619eded15
Persian transliteration
2009-08-27 13:47:57 +00:00
krasimir
9039fd3d7b
fix some paths in the libraries
2009-08-25 18:42:36 +00:00
krasimir
b72fe16445
let the 'se utf8' command change the terminal codepage to 65001 on Windows
2009-08-25 18:35:33 +00:00
aarne
c0e55c4bc9
ancient greek ut additions
2009-08-21 16:13:07 +00:00
aarne
add4702320
simplified Romance VP and fixed some bugs
2009-08-20 21:08:22 +00:00
aarne
eab322e51e
some romance VP fixes
2009-08-20 16:39:59 +00:00
krasimir
284f382d7a
the parsing test now evaluates all languages
2009-08-19 22:35:57 +00:00
krasimir
3ecd87fc93
add functions and functionType to the PGF API
2009-08-19 20:59:43 +00:00
krasimir
f9efc3c9bd
update some paths in the libraries
2009-08-19 20:59:09 +00:00
krasimir
be4ed7ff0a
let the GF.Grammar.Printer printer output the unicode symbols directly
2009-08-18 07:09:41 +00:00
krasimir
44e0e0e3cd
fix the unicode encoding problem with the cc command
2009-08-18 07:08:44 +00:00
aarne
cd511bbc25
spelling of grammar_N is LexiconRus
2009-08-12 15:48:19 +00:00
aarne
5bb66da259
transliteration now needs addition only in one file; a code can be more than 2 chars; ancientgreek added
2009-08-07 13:20:45 +00:00
krasimir
ee155a7f07
merge some changes from the latest version of Data.Binary. Makes the binary decoding faster
2009-08-06 11:19:04 +00:00
krasimir
fbc516007c
remove SC from CatBul because it is defined in CommonX
2009-08-06 08:29:31 +00:00
krasimir
171556dc9a
just for fun: Roman numbers in the Latin grammar
2009-07-31 11:58:22 +00:00
krasimir
219f19d265
added testcase for pattern matching on runtime variables
2009-07-22 09:53:39 +00:00
krasimir
af41bcd46e
updated the output in testsuite/compiler/check/lins
2009-07-22 09:51:57 +00:00
krasimir
111c8a53a5
bulgarian: CommonX is used like in the other languages but with restricted inheritance
2009-07-10 11:59:28 +00:00
krasimir
02b22b8b78
added testcases for evaluation with suspension
2009-07-07 11:40:14 +00:00
krasimir
a25038f4d3
added example for abstract syntax of RDF
2009-07-06 19:58:27 +00:00
aarne
535aa3cad1
Catalan voler and nou
2009-06-24 16:02:21 +00:00
aarne
9c396ed6ff
updated bibliography
2009-06-24 14:55:51 +00:00
aarne
0a167199ce
added Structural.language_title_Utt and a script for making alignment logo
2009-06-23 19:23:27 +00:00
krasimir
4546203f9e
simplification: decodeFile doesn't have to check that the file is empty anymore
2009-06-24 12:21:09 +00:00
krasimir
10fec3453a
make the Functor Get instance in Data.Binary strict to be sure that the decoder is strict
2009-06-24 12:08:32 +00:00
krasimir
958d988217
bugfix: Use openBinaryFile in Data.Binary.decodeFile. It makes difference only on Windows
2009-06-24 12:07:38 +00:00
krasimir
5f23ff1f05
explicitly close the file handle in Data.Binary.decodeFile
2009-06-24 10:39:03 +00:00
krasimir
3a0e978026
make Data.Binary.decodeFile stricter. It seems like this fixes the file locking problem on Linux
2009-06-23 11:56:22 +00:00
krasimir
6c8ad4ca16
added preCopy and postCopy hooks in Setup.hs
2009-06-23 11:44:36 +00:00
aarne
13644fc261
made .cf grammars take their startcat from the first rule
2009-06-23 10:13:12 +00:00
aarne
2116f41bc2
next-lib renamed to lib, lib to old-lib
2009-06-22 15:39:08 +00:00
aarne
90bd07b1cf
cleaning up overshadow failure to warning, after testing resource compilation
2009-06-22 14:51:58 +00:00
aarne
7685d64cc8
some more fixes for cleaner compilation of alltensenses
2009-06-22 14:45:02 +00:00
aarne
205c176315
fixed warnings in present compilation of resource, esp. unreached patterns
2009-06-22 14:30:55 +00:00
aarne
dc63402761
test unification in TypeCheck
2009-06-22 06:39:25 +00:00
aarne
c8027c8a4c
the construct lin C t now replaces lock fields (in source code; still tempor used internally); lock fields removed from english resource as an example
2009-06-20 13:50:34 +00:00
aarne
ddd6902e7d
accepting + patterns in pre expressions
2009-06-20 08:39:30 +00:00
aarne
19a1cd392d
function for printing the help file in txt2tags
2009-06-20 07:02:13 +00:00
aarne
637242ba45
made AllLat compilable and fixed a bug in first declension
2009-06-05 17:40:26 +00:00
krasimir
f8e3d5a3fc
in splitContraints the values first have to be reduced
2009-06-19 14:37:58 +00:00
krasimir
9812839d2e
replace the reference to src/INSTALL with doc/gf-developers.html in the README
2009-06-19 13:39:32 +00:00
krasimir
87288d4f1b
extend the developers documentation with some information for readline,editline and haskeline
2009-06-19 13:37:38 +00:00
krasimir
ec4b9c18af
fix the current PGF typechecker
2009-06-19 12:03:18 +00:00
krasimir
46439cdab9
bugfix: restore the check for bound variables in expr2tree
2009-06-19 06:37:24 +00:00
krasimir
cfdd39574c
added testcase for linearization with HOAS
2009-06-18 17:47:06 +00:00
krasimir
b0283d31a2
in the ai command don't show the fun keyword if there aren't any functions.
2009-06-18 17:44:29 +00:00
krasimir
a33f1bd3c5
the PMCFG lexical categories are not printed out with prefix C i.e. CInt,.. to make them different from the same PGF categories
2009-06-18 17:33:06 +00:00
krasimir
aaeecb9b5d
bugfix: the optimizer should not filter out rules that refer to lexical categories
2009-06-18 17:31:49 +00:00
aarne
e3b38dc245
adds to gf-biblio
2009-06-18 16:08:05 +00:00
aarne
8b88fc9166
shortcuts for this_Det etc
2009-06-18 13:45:55 +00:00
krasimir
2087339dfc
make erasing=on the default
2009-06-16 14:50:06 +00:00
krasimir
d33032916e
fix the path in Italian
2009-06-16 12:20:06 +00:00
krasimir
3115ee32ce
now rgl-pgf produces one .pgf per language and finally one combined .pgf
2009-06-16 12:15:11 +00:00
krasimir
194a185e63
completely phrase based parser and support for pre {} in PMCFG
2009-06-16 11:56:08 +00:00
krasimir
9ba7a9e420
reduce the number of variants in Interlingua
2009-06-16 07:53:01 +00:00
krasimir
9dd84ff5ed
remove some obsolete code from Interlingua
2009-06-15 09:59:21 +00:00
krasimir
cacd7b998c
fix the -path directive in French
2009-06-15 09:58:29 +00:00
krasimir
73fd4b8f0d
reduce the number of variants in Catalan
2009-06-15 09:56:35 +00:00
krasimir
d954295724
reduce the number of variants in Spanish
2009-06-15 09:31:20 +00:00
krasimir
042664a615
add reference to the developers quite from the GF Tutorial
2009-06-13 18:10:35 +00:00
krasimir
3dc7289835
update the developers documentation with instructions for building and running the testsuite
2009-06-13 18:02:06 +00:00
krasimir
4e119eb63c
make the text in the SyntaxEditor float nicely
2009-06-06 08:33:11 +00:00
krasimir
90d364dec4
added AllTur.gf and AllTurAbs.gf
2009-05-25 16:54:27 +00:00
krasimir
8ae43ac855
split the testsuite to different directories for compiler, runtime and libraries
2009-06-13 13:54:06 +00:00
krasimir
4df8a263eb
use oper in examples
2009-06-13 13:36:41 +00:00
krasimir
3441ca7697
scratched version of GWT Syntax Editor
2009-06-05 18:19:53 +00:00
krasimir
2c5ff0f4b1
update the Makefile and the README for the server
2009-06-04 16:45:29 +00:00
krasimir
702bc404ec
added decoding from UTF8 in MorphoService.hs
2009-06-04 16:39:06 +00:00
krasimir
e3052a25bd
GF.Grammar.Parser is added to gf-server.cabal to tell Cabal that he has to run Happy
2009-06-04 16:38:07 +00:00
krasimir
eed3bc5312
the morpho server is now updated and works with the current GF. the sources are moved in directory server
2009-06-04 16:26:52 +00:00
krasimir
0fd18dafa9
Update FastCGIUtils.hs to work with GHC 6.10
2009-06-04 14:56:50 +00:00
aarne
3d339d38a5
fixed pre expressions, parsing {} patterns, and the path in resource Make.hs
2009-05-25 12:19:32 +00:00
krasimir
d6092e0ab2
added test cases for computation with abstract syntax terms
2009-05-23 21:43:24 +00:00
krasimir
0c46a129e6
now in the command shell the primary type in the pipe is Expr not Tree. This makes the pt -compute and pt -typecheck more interesting
2009-05-23 21:33:52 +00:00
krasimir
f9c877eec6
some work on evaluation with abstract expressions in PGF
2009-05-22 18:54:51 +00:00
krasimir
f29bdd762e
fix in testcase testsuite\paraphrase
2009-05-22 22:14:57 +00:00
krasimir
640a388253
fix the handling of wildcards
2009-05-22 21:47:32 +00:00
krasimir
d2f2922102
fix the funpatt testcase
2009-05-22 21:42:21 +00:00
krasimir
3763b98e89
bugfix to the previous patches
2009-05-22 21:30:34 +00:00
krasimir
e5399f2d0e
refactor the PGF.Expr type and the evaluation of abstract expressions
2009-05-20 21:03:56 +00:00
krasimir
f9574dcf77
some more tests for evaluation in the abstract syntax
2009-05-20 20:27:19 +00:00
krasimir
38d5846b44
more friendly error message when renaming patterns
2009-05-20 20:24:15 +00:00
krasimir
baf56d651c
fix the generation of warnings in CheckGrammar. They are printed even in quiet mode and the prefix "Warning" is added automatically
2009-05-20 17:05:58 +00:00
krasimir
4e2e2b2535
testcase for parameters with nested records
2009-05-20 16:38:19 +00:00
krasimir
c6dcec2e9c
added testcase for categories with lincat C = {};
2009-05-20 16:27:12 +00:00
krasimir
4a2b219921
added testcases for abstract syntax computation
2009-05-20 15:01:52 +00:00
krasimir
9a3576c1d2
the treebank test for the resource libraries is moved to the testsuite
2009-05-20 14:59:46 +00:00
krasimir
055f33518e
now 'runghc Setup.hs test' runs a simple extensible testsuite
2009-05-20 14:57:42 +00:00
krasimir
819db9b7ad
Now the toplevel file i.e. from command i is searched both in the current directory and in GF_LIB_PATH
2009-05-20 13:40:55 +00:00
krasimir
45a9c1666b
simpler algorithm for file searching in the compiler. should be equivalent to the previous one
2009-05-20 13:23:34 +00:00
krasimir
a911f41020
remove the obsolete testsuite/srg directory
2009-05-20 12:39:32 +00:00
krasimir
bf044db5b2
now a single line comment (--) is recongized as an empty command. Usefull for GF shell scripts
2009-05-20 12:10:54 +00:00
krasimir
0cb89b2a77
examples/test is moved to testsuite
2009-05-20 11:25:00 +00:00
krasimir
4fcf6bc065
removed some debug traces
2009-05-18 15:53:36 +00:00
krasimir
7593e69214
added filtering for useless productions in PMCFG
2009-05-18 15:52:10 +00:00
aarne
3583561492
pattern macros: oper f : pattern T = # p ; used as #f in patterns
2009-05-18 15:01:18 +00:00
aarne
e3c0d8b49c
entry "make gf" in Makefile with similar effect as in old src/Makefile
2009-05-18 08:50:23 +00:00
krasimir
7258e0c898
the new PMCFG compilation scheme is pushed. the old version is kept in GeneratePMCFGOld.hs (for now).
2009-05-16 12:14:47 +00:00
krasimir
ac80d732df
implement command 'runghc Setup.hs test'
2009-05-13 08:44:47 +00:00
aarne
dde36ed01c
new pre syntax (as alternative): pre {"o" | "i" => "an" ; _ => "a"}
2009-05-15 16:45:16 +00:00
krasimir
27c602b14f
the check for lincat C = <> is made more robust
2009-05-15 11:27:26 +00:00
krasimir
2ac2402843
if the lincat is empty record the linearizations are derived automatically
2009-05-15 09:34:06 +00:00
krasimir
99285c97f6
added command rgl-none in Setup.hs
2009-05-14 20:12:41 +00:00
krasimir
f3b02ad279
in command 'ai' send the output through the pipe
2009-05-13 06:49:37 +00:00
krasimir
d6e923d8cc
now command 'ai' prints the list of functions for given category
2009-05-13 06:27:31 +00:00
krasimir
f4164303d0
added command ai which prints information about given identifier
2009-05-12 20:52:18 +00:00
krasimir
6f8b601629
Setup.hs now builds RGL. the code is borrowed from Make.hs
2009-05-11 06:55:11 +00:00
krasimir
85d0324a9b
-gfo-files is consulted not only when .gfo files are created but also when we search for them
2009-05-11 06:50:50 +00:00
krasimir
2e068c90a4
Turkish: set coding=utf8 in NumeralsTur.gf
2009-05-09 18:19:44 +00:00
krasimir
e5720b1b9e
implement --gfo-dir. before it was recognized but ignored
2009-05-09 18:00:11 +00:00
krasimir
ce8c2bab75
Turkish: bugfix in mkPron
2009-05-08 08:20:38 +00:00
krasimir
01b155f445
Turkish: implement NumCard and NumNumeral
2009-05-08 08:15:32 +00:00
krasimir
00067a73ed
Turkish: implement UsePron
2009-05-08 07:53:47 +00:00
krasimir
655c72d0e6
Turkish: harmony2 and harmony4 should be more liberal
2009-05-08 07:52:50 +00:00
krasimir
dca87956e1
Turkish: add abessive case for the pronouns
2009-05-08 06:14:21 +00:00
krasimir
ba4785b524
Turkish: fixed vowel harmony
2009-05-07 14:55:38 +00:00
krasimir
0059f4493c
Turkish: scratch the NP category
2009-05-07 10:28:47 +00:00
krasimir
a9f1248286
Turkish: some more nouns in the lexicon and some work on the paradigms. still not complete
2009-05-07 07:41:38 +00:00
krasimir
9e8c5ceb04
forgot to add GF.System.UseEditline and GF.System.UseHaskeline
2009-04-30 13:31:22 +00:00
krasimir
69c5448f95
conditional support for haskeline, readline and editline
2009-04-30 09:40:48 +00:00
krasimir
ff9ba99e72
added new Makefile in the top directory which calls Cabal for compilation
2009-04-30 07:57:56 +00:00
krasimir
063c965b5c
added -gf-lib-path option which overides the value of GF_LIB_PATH
2009-04-30 07:56:22 +00:00
krasimir
3fa25b165f
fix the syntax for some modules in lib/resource/api
2009-04-30 07:29:37 +00:00
krasimir
26ab90c652
upgrade to GHC 6.10.2
2009-04-30 05:13:55 +00:00
aarne
06c0b57ed1
have_V2 in Structural
2009-04-27 13:28:47 +00:00
aarne
2a235f9709
started to move have_V2 from Lexicon to Structural ; fixes in Hindi translit table
2009-04-26 20:10:44 +00:00
aarne
14a97dd876
documentation before on-line course
2009-04-20 08:28:22 +00:00
krasimir
829ba15752
proper pretty printing of tokens in PGF.PMCFG
2009-04-15 12:10:08 +00:00
aarne
592fca98be
on-line course announced on the summer school page
2009-04-14 08:12:45 +00:00
krasimir
8b4c865199
refactor GF.Data.BacktrackM to use the MonadState and Functor classes
2009-04-14 08:07:33 +00:00
aarne
7138a1c201
hebrew transliteration added
2009-04-08 20:01:35 +00:00
aarne
bbe15482b1
food grammar path changed in tutorial
2009-04-08 05:59:16 +00:00
aarne
0bfa52e442
warning for overshadowed patterns, temporal solution
2009-04-06 14:07:22 +00:00
krasimir
d7c9c716fb
raise better error message when decode GFO file
2009-04-02 13:29:03 +00:00
krasimir
17055dc496
raise better error message when decode PGF file
2009-04-02 13:25:20 +00:00
aarne
aceff6b951
version in Makefile
2009-04-02 10:01:26 +00:00
aarne
9b4141ad68
Updated version numbers.
2009-04-02 09:49:13 +00:00
aarne
f095da93ba
fixes before beta3 release
2009-04-02 09:35:48 +00:00
aarne
2ee7d4fe74
BronzeageAra compiles again, via minimal Syntax
2009-03-28 20:22:07 +00:00
aarne
63303892ca
restoring Arabic to new API
2009-03-28 19:03:54 +00:00
aarne
e7088ee93a
doc for next-lib; adjustments in summerschool-flyer
2009-03-28 13:20:47 +00:00
aarne
76fb2055da
adapt Precedence.gf to new syntax; bug fix in Swedish mkA
2009-03-26 22:40:44 +00:00
aarne
14f606449c
examples of file conversion with ps
2009-03-28 13:41:29 +00:00
krasimir
38e52ec6f0
some fragments of Turkish noun morphology
2009-03-27 08:43:43 +00:00
krasimir
a404168b5e
Turkish moved to next-lib
2009-03-27 08:41:55 +00:00
krasimir
2ac619df0f
the first letter of every PN should be in upper case
2009-03-25 17:49:11 +00:00
krasimir
008af00029
remove the alphabet from DictEng
2009-03-25 17:35:08 +00:00
krasimir
b82d6ed082
remove some abreviations like am, pm and bc which are declared as proper names
2009-03-25 17:19:05 +00:00
krasimir
dbf1194c2f
remove the verb be from DictEng
2009-03-25 17:17:43 +00:00
krasimir
d1f2aa9a85
DictEng to utf8
2009-03-25 17:11:06 +00:00
aarne
30cd3704dc
flag -env=quotes (and possible other flags) to restrict ps
2009-03-18 12:49:46 +00:00
aarne
045c70c7bb
string operation in environment (begin and end marks)
2009-03-18 08:43:46 +00:00
aarne
8eeb6ae89e
Greek (modern) transliteration scheme
2009-03-17 22:04:20 +00:00
aarne
98019dda53
Finnish verb in Attempto
2009-03-17 18:53:57 +00:00
krasimir
72f4165fae
add the compiled Haskell sources for Parser and Lexer
2009-03-17 08:49:06 +00:00
krasimir
6cdb1fcb06
incomplete support for record types in the abstract syntax
2009-03-16 14:41:49 +00:00
krasimir
e6da4bca2d
typos in the grammars
2009-03-16 14:39:54 +00:00
krasimir
6f733230dd
use new parser which supports the syntax in GF.Grammar.Grammar directly
2009-03-16 14:10:30 +00:00
krasimir
fe5afb1cd1
export ppLabel from GF.Grammar.Printer
2009-03-15 18:52:27 +00:00
krasimir
c073b05118
some more refactoring
2009-03-15 17:59:49 +00:00
krasimir
26e86f13dc
code cleanup in the typechecker
2009-03-15 17:33:14 +00:00
krasimir
9f4720373f
update GF.cabal
2009-03-15 17:15:52 +00:00
aarne
9278a04cec
adjusted Make.hs to languages that do have appropriate modules
2009-03-15 16:55:39 +00:00
krasimir
40089ae62d
fix typo cs1 -> c2. the whole typechecker was broken before that
2009-03-14 21:02:17 +00:00
aarne
a77eee5d8e
new languages in Make.hs
2009-03-13 17:24:47 +00:00
aarne
e6995727b2
interlingua updated for new resource
2009-03-13 16:05:13 +00:00
aarne
6cb13d8acc
additions to ideas page
2009-03-13 14:04:01 +00:00
krasimir
6b23221085
remove the obsolete GF.Infra.PrintClass
2009-03-13 07:00:04 +00:00
krasimir
352e25db19
don't use ByteString.copy in Data.Binary this makes it far too slow
2009-03-12 09:03:55 +00:00
aarne
9428d7aef6
removed conflict marks from previous update
2009-03-11 16:57:28 +00:00
aarne
8c2a476a10
idea page
2009-03-11 16:54:16 +00:00
aarne
04b176fe37
google analytics
2009-03-11 16:10:02 +00:00
aarne
22b7e133fe
Finnish attempto started
2009-03-11 16:08:55 +00:00
aarne
0ac664d147
preliminary Italian in Attempto
2009-03-10 17:31:18 +00:00
krasimir
ff573ca0de
special cases for printing the build-in PMCFG categories
2009-03-09 18:08:54 +00:00
aarne
51120decdb
tested "minimal" resource to compile Foods and Bronzeage
2009-03-09 16:53:40 +00:00
aarne
9dce1ef229
marked Constructors that don't belong to a minimal implementation of RG
2009-03-06 17:14:56 +00:00
aarne
57301ee6fe
next-resource Make extended; bronezeage compilable again
2009-03-06 13:15:52 +00:00
krasimir
55dbaaa402
fix the update of overloaded functions
2009-03-05 19:18:51 +00:00
krasimir
7e75015e7d
print semicolon after the ind statement
2009-03-05 13:14:17 +00:00
krasimir
f3152a0c22
in GF.Grammar.Update - remove the indirection before to print the error message
2009-03-05 09:08:52 +00:00
krasimir
9b63134806
remove the spurious adjective sledni_ja__A in DictBul
2009-03-05 08:32:24 +00:00
krasimir
13a0871fa7
fix the compilation of ExtraBul.gf
2009-03-05 08:25:29 +00:00
krasimir
9e51c755c4
GF.Grammar.Printer: parenthesis around single identifier are not necessary
2009-03-04 15:22:23 +00:00
aarne
482bdfa47f
folder adjustments
2009-03-04 15:06:35 +00:00
krasimir
a31d3f747c
another missing case in GF.Grammar.Printer
2009-03-04 13:52:01 +00:00
krasimir
9190efdd62
qualified/unqualified mode for GF.Grammar.Printer. Used in the "cc" command
2009-03-04 13:41:33 +00:00
krasimir
6d00b73f1f
remove the spurious toplevel romanian directory
2009-03-04 13:40:58 +00:00
krasimir
c6bececa8a
added few missing cases in GF.Grammar.Printer
2009-03-04 12:47:05 +00:00
ra.monique
4a7ad5ca9f
mkA revised
2009-03-04 11:12:06 +00:00
aarne
3d2d48c2ef
summerschool folder
2009-03-04 10:15:18 +00:00
ra.monique
fd83938487
Adjective Smart Paradigm
2009-03-01 13:56:02 +00:00
aarne
9cb3f75c5c
newlines and indentation in XML printing
2009-03-03 10:41:36 +00:00
aarne
eee00ee9f3
clarifications in summer school web page
2009-03-02 10:48:28 +00:00
aarne
df1df57f07
summer school edits
2009-02-26 13:07:26 +00:00
ra.monique
f794be60d7
convert ParadigmsRon.gf to UNIX format
2009-02-25 13:21:24 +00:00
ra.monique
7b086fb985
Romanian: mkV moved to ParadigmsRon
2009-02-25 12:54:00 +00:00
krasimir
c7761069c1
Bulgarian: fixes in some vocatives
2009-02-25 12:26:47 +00:00
krasimir
ac25f2cea5
set the code page for the Romanian grammar to cp1250
2009-02-23 14:19:10 +00:00
krasimir
e647de7149
fix the handling of flag coding
2009-02-23 14:17:16 +00:00
ra.monique
ef8b8aa1a3
Romainian in next-lib
2009-02-23 13:29:42 +00:00
krasimir
0296492f9d
Perhaps -> Maybe refactoring and better error message for conflicts during module update
2009-02-23 12:42:44 +00:00
aarne
03aa49aece
alignment in summer school
2009-02-17 14:57:36 +00:00
aarne
a2e758eb5e
new school web page
2009-02-16 15:12:23 +00:00
krasimir
37aebd395c
Graftals in GF. examples/graftals
2009-02-14 14:07:04 +00:00
krasimir
8ec1a5643e
fixes in the pretty printer for PMCFG
2009-02-08 09:57:16 +00:00
krasimir
72fa768613
PMCFG pretty printer
2009-02-07 23:31:22 +00:00
krasimir
aa1ad4bcb6
Bulgarian: fixed the paradigm for bizju
2009-02-05 23:47:36 +00:00
krasimir
eb2e6e8fb0
Bulgarian: paradigm 089 was fake -> removed
2009-02-05 23:46:31 +00:00
krasimir
894417ca8b
Bulgarian: fixes in the noun morphology. vocative forms for all paradigms. MascPersonal gender in the paradigms
2009-02-05 23:42:55 +00:00
krasimir
128ad102c6
Bulgarian: formal and informal numerals + small bugfix
2009-02-05 21:34:55 +00:00
aarne
0d3f0d835e
some new resource API functions
2009-02-04 17:16:48 +00:00
krasimir
52c538bfd1
tabularLinearize should always generate label names
2009-02-02 09:56:02 +00:00
krasimir
8b7383b616
another bugfix in the module dependency checker
2009-02-01 21:32:46 +00:00
krasimir
008566d41d
the new pretty printer is now used for all -dump-* options. added -dump-source. implemented -dump-opt
2009-02-01 12:24:37 +00:00
krasimir
ccaf6a38a3
small fixes in GF.Grammar.Printer
2009-02-01 12:23:58 +00:00
krasimir
9275cd20c6
merge Lookup and LookAbs and move some lookup functions from PrGrammar to Lookup
2009-01-31 22:08:12 +00:00
krasimir
0e720570f9
the dependency graph now shows all dependencies
2009-01-31 21:15:42 +00:00
krasimir
8333aee547
some dead code elimination in UseIO and ReadFiles
2009-01-31 20:36:41 +00:00
krasimir
f072485cf5
fix flag handling in combination with binary serialization
2009-01-31 16:53:21 +00:00
krasimir
99c430e5f5
bug fix in the module dependencies checker
2009-01-31 10:49:01 +00:00
aarne
f207a4038e
metavariables made unique in type checking
2009-01-30 16:52:38 +00:00
krasimir
fe74414462
the grammars are now recognized by extension i.e. .pgf is grammar just like .php is a PHP script
2009-01-25 22:06:20 +00:00
krasimir
5913e10c44
the pgf-server is single-threaded on Windows
2009-01-25 22:04:59 +00:00
krasimir
6bb1f0f864
add Translate-compile.bat
2009-01-25 21:27:41 +00:00
krasimir
35370de324
add Fridge-compile.bat
2009-01-25 15:12:56 +00:00
krasimir
bca1991d05
hack for pgf-server for Windows
2009-01-25 15:07:29 +00:00
krasimir
d5f4482e39
remove some more obsolete code
2009-01-23 07:16:46 +00:00
krasimir
724417916c
.gfo files in binary format
2009-01-23 06:15:27 +00:00
krasimir
5a5088a68c
--make now implies --batch
2009-01-23 06:14:34 +00:00
krasimir
042739d747
pretty printing of qualified identifiers
2009-01-23 06:11:41 +00:00
krasimir
181e6a26b1
remove unused import
2009-01-23 06:11:10 +00:00
krasimir
1e8ec70c95
improved error message
2009-01-22 15:52:19 +00:00
krasimir
b0b0911a20
remove the obsolete GF\Devel directory
2009-01-22 15:28:10 +00:00
krasimir
7f388d4f19
optimized Data.Binary.Get.getWord8
2009-01-22 15:01:41 +00:00
krasimir
523ca3a076
add hopefully complete binary serialization for the GF.Grammar.Grammar abstract syntax. Still not in use
2009-01-20 16:20:38 +00:00
krasimir
e176b99d12
simple fixes in GF.Grammar.Printer
2009-01-20 15:38:52 +00:00
krasimir
425b464f2d
whitespace only
2009-01-20 15:38:18 +00:00
krasimir
c8e924707c
remove some dead types from GF.Grammar.Grammar
2009-01-20 14:33:42 +00:00
krasimir
36c757b076
added pretty printing for flags
2009-01-20 14:07:13 +00:00
krasimir
6a0dcdd043
pretty printer for the GF.Grammar syntax. still not in use
2009-01-20 12:43:15 +00:00
krasimir
1fcf8d8208
larger treebank in examples/test/parser
2009-01-19 13:39:06 +00:00
krasimir
4f093feb49
refactor the GF.Grammar.Grammar syntax. The obsolete constructions are removed
2009-01-19 13:23:03 +00:00
aarne
47b60d0b88
empty variants in mkVV eliminated
2009-01-15 09:53:19 +00:00
krasimir
5afac01585
revert all changes related to the common Slavic grammar
2009-01-08 08:28:43 +00:00
aarne
bd95b5e3eb
command dg for showing source grammar dep graph restored
2008-12-19 14:28:58 +00:00
aarne
9a70beb91f
marked a workaround
2008-12-18 15:25:29 +00:00
aarne
994aa43bd0
Hindi and Thai compile in 1.5
2008-12-18 14:21:28 +00:00
aarne
031909c8c7
Arabic compiles now in 1.5
2008-12-18 14:17:42 +00:00
krasimir
79d51c4479
added codepage 1250 i.e. central european. Useful for Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, Croatian, Serbian, Romanian and Albanian
2008-12-17 23:53:12 +00:00
aarne
e62ffcbad1
completed Russian grammar with missing syntax functions (marked ---- AR 17/12/2008); their effects should be checked
2008-12-17 15:41:38 +00:00
aarne
4d970ae48c
fixed discontinuous constituents in word alignment
2008-12-16 15:20:03 +00:00
aarne
c75c7a38a0
datatype for bracketed texts, and improved word alignment
2008-12-16 13:56:23 +00:00
aarne
4fd7cb4976
position of arrows in alignment
2008-12-16 08:59:26 +00:00
aarne
9982b15b5b
better treatment of syncategorematic words in alignment
2008-12-15 15:45:36 +00:00
aarne
2bccc3e405
visualization of word alignment based on bracketing (command aw); does not work for syncategorematic words yet
2008-12-15 10:33:53 +00:00
aarne
10fbaa6dec
bracketing with tree node reference: l -bracket
2008-12-13 20:19:37 +00:00
aarne
e8898ffd69
morphological analyser in shell state - now reasonably fast
2008-12-12 08:12:24 +00:00
krasimir
31b9707af8
fixed nn_6n_blad paradigm in SALDO
2008-12-11 20:45:37 +00:00
aarne
8c4cc8fa5f
a dialogue-like editor loop
2008-12-11 15:36:40 +00:00
krasimir
a13fa9d7c5
DictSwe changes: CR+LF -> CR, added reference to Borin at all paper
2008-12-11 12:55:20 +00:00
aarne
c69cfe7a50
added and editor function allMetas showing all meta positions and their types
2008-12-10 14:20:52 +00:00
krasimir
db8fd1f931
big dictionaries for Bulgarian, English, Swedish in next-lib
2008-12-10 13:58:14 +00:00
aarne
e0600ad248
documentation in the Editor files
2008-12-10 13:22:54 +00:00
aarne
c6a8477106
fix in Editor
2008-12-10 12:13:01 +00:00
aarne
f2271374ea
parsing in the toy editor
2008-12-09 23:05:32 +00:00
krasimir
6a4711fdba
bugfix in the Swedish paradigms - jazz is jazz in gentive not jazzs
2008-12-10 10:58:20 +00:00
krasimir
bf98fede18
bugfixes in Numerals for Romanian
2008-12-09 20:26:03 +00:00
aarne
485ad4ff80
Editor with some commands, using PGF API, with demo shell in exper/EditShell; still buggy
2008-12-09 14:52:12 +00:00
aarne
dd691347f8
started PGF editor
2008-12-08 17:15:36 +00:00
aarne
666184ca64
removed dependencies of Zipper and editor in GF grammar compiler
2008-12-08 14:25:11 +00:00
aarne
72346d6aca
preperations for Val of params
2008-12-08 12:49:03 +00:00
aarne
ca4c63c58f
data structures for param values with number, preparing optimized pattern matching in grammar compilation
2008-12-08 07:15:19 +00:00
krasimir
87d7def438
remove GF.Source.SharedString from GF.cabal
2008-12-06 14:26:28 +00:00
bjorn
48e90ad8bd
Rename PGF Server cabal packages to pgf-server (was gf-server).
2008-12-05 19:10:51 +00:00
bjorn
e27065ae74
Added more functions to gf-server-jsapi.js
2008-12-05 19:08:58 +00:00
bjorn
48630f36ea
Update src/server/simple-client.html and gf-server-jsapi.js to work with current pgf server.
2008-12-05 19:00:20 +00:00
aarne
7de283f322
fixed a Compute bug due to failure to match typed record values with untyped record patterns
2008-12-04 17:02:24 +00:00
aarne
95840d7cdc
factored out RET in letter grammars
2008-12-04 15:20:47 +00:00
krasimir
0616cf93bf
spotted wrong traslation in the Bulgarian dictonary. feather is feather not father
2008-12-04 14:19:29 +00:00
bjorn
bfa73d40fc
pgf server: return 1 result for /random without limit argument.
2008-12-04 13:54:43 +00:00
aarne
ac15cff40e
the letter grammar set ported to GF 3
2008-12-04 13:55:35 +00:00
aarne
5418e7bdff
accusative for Finnish numeral determiners
2008-12-03 16:23:54 +00:00
aarne
7e613de9a1
bug fixes relevant for Bronzeage. NB Bulgarian can be compiled separately with old lib
2008-12-02 15:21:37 +00:00
aarne
f5c48cb49b
added slavic to some paths in Bulgaria, and Inanimate to one place in SymbolBul, to be able to compile them
2008-12-02 08:49:04 +00:00
aarne
683a776f83
sibstantival det forms in scandinavian
2008-12-02 08:22:32 +00:00
aarne
80d6d61cc4
corrected BeschSpa.encontrar_38
2008-12-02 07:45:58 +00:00
bjorn
82926e52dd
Don't try to include Bulgarian in the bronzeage.pgf, since it seems to be missing from the repo.
2008-12-01 22:13:08 +00:00
bjorn
2cea569e3a
Get A2, married_A2 from Lexicon in parsing grammar, since OALS doesn't have any A2's.
2008-12-01 21:40:57 +00:00
bjorn
69a945e8a1
Copy OALD files after building parse grammar.
2008-12-01 21:40:33 +00:00
bjorn
5ce5a3403b
Remove more unused stuff from GF.Data.Operations.
2008-12-01 21:33:53 +00:00
bjorn
09845dc0b4
Fix URL of delete-last.png in fridge app.
2008-12-01 20:45:07 +00:00
aarne
80512723e4
fixed the gender of French numeral "un"
2008-12-01 18:02:08 +00:00
krasimir
461ec34e5b
fix the inflection of computer in Bulgarian
2008-11-27 15:11:39 +00:00
krasimir
f59810bb8c
category Art removed from Russian
2008-11-27 14:20:18 +00:00
krasimir
fb17eb7961
further refactoring in Russian
2008-11-27 14:08:50 +00:00
krasimir
149326c909
move lincat Subj, Prep to Slavic
2008-11-27 06:32:18 +00:00
bjorn
acea90a252
Remove lots of old unused stuff from GF.Data.Operations.
2008-11-27 10:55:24 +00:00
bjorn
f6cf10e655
More efficient implementation of topological sort.
...
Profiling the compilation of the OALD lexicon showed that 90-95% of the time was spent in topoSort. The old implementation was quadratic. Replaced this with O(E + V) implementation, in GF.Data.Relation. This gave a 10x speed-up (~ 25 sec instead of ~270 sec) for compiling ParseEng and OaldEng.
2008-11-27 10:29:29 +00:00
bjorn
210089b6c8
Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data.
2008-11-27 08:43:08 +00:00
bjorn
0619824fa3
Remove ununsed GF.Source.SharedString module.
2008-11-27 08:36:18 +00:00
krasimir
32cbb995f1
initial Slavic grammar, shared between Bulgarian and Russian
2008-11-26 21:21:23 +00:00
krasimir
20c55c4f5a
SubstForm in Russian is replaced with NForm like in Bulgarian and is used more widely
2008-11-26 19:38:51 +00:00
bjorn
832f25fc2a
Don't use string sharing in LexGF.
...
Profiling showed that when loading a large .gfo file, shareString was responsible for
15-18% of the CPU time, and a lot of the allocation. Since we already use ByteStrings for
reading the source files, shareString mostly has the effect of creating lots
of small ByteStrings instead of one large one. Since the plain size of the .gfo is seldom
a problem (unlike when it was read as a String), it is ok to keep the whole file
as one ByteString in RAM, and have all tokens point into that.
Profiling after the change showed 15-20% reduction in CPU time and in total allocation.
2008-11-26 16:19:54 +00:00
bjorn
499d6ade49
My profiling showed that the BinTree operations were responsible for about 60% of the CPU time when reading a large .gfo file. Replacing BinTree by Data.Map reduced this to about 6%, which meant about 50% reduction in total CPU time.
2008-11-26 15:44:22 +00:00
bjorn
22269d277e
Get 'make prof' working with GHC 6.8
2008-11-26 14:56:46 +00:00
bjorn
c63c3d9f58
Use OALD in ParseEng.
2008-11-26 14:56:34 +00:00
bjorn
54e994ef15
OALD: split lexicon into two: one for open classes and one for closed classes.
2008-11-26 14:35:35 +00:00
krasimir
4616041bdd
add Russian in next-lib
2008-11-26 14:43:05 +00:00
bjorn
74c3956144
Added generated OALD files (Oald.gf and OaldEng.gf) to repo.
2008-11-26 14:17:55 +00:00
bjorn
6d13809091
Added original OALD files to repo.
2008-11-26 14:17:35 +00:00
bjorn
859cd04ae7
OALD: More info in generated header.
2008-11-26 14:17:16 +00:00
bjorn
dbbf7b5368
OALD: clean up asc2gf script.
2008-11-26 14:00:10 +00:00
bjorn
52536e8776
OALD: remove * and add comment for guessed irregular noun plural forms.
2008-11-26 13:38:34 +00:00
bjorn
4ab34d11bf
OALD: Use verbs from IrregEng when possible.
2008-11-26 13:33:53 +00:00
bjorn
97a5fbca79
Added ParadigmsEng.mkV : Str -> V -> V, which adds a prefix to an existing verb.
2008-11-26 13:33:22 +00:00
bjorn
93222bb0ed
First working version of OALD dictionary conversion. Still missing: irregular verbs, irregular nouns, better handling of singular- and plural-only nouns.
2008-11-25 20:09:50 +00:00
bjorn
734ac4cfc2
Added ParadigmsEng.mkConj.
2008-11-25 19:53:22 +00:00
bjorn
e80abfffbd
First version of OALD alsmost working.
2008-11-25 14:50:16 +00:00
krasimir
c4f5c03700
add preposition "na" when the case is dative (QuestionBul)
2008-11-24 13:27:33 +00:00
krasimir
177e8573ec
replace spec with qform
2008-11-24 12:55:17 +00:00
krasimir
5d8868e38c
replace latin 'a' with cyrillic 'a'
2008-11-24 12:53:57 +00:00
aarne
a993ee2151
links in demo.txt
2008-11-21 17:12:34 +00:00
aarne
94320c3889
links to demos
2008-11-21 17:10:02 +00:00
bjorn
c03f2768af
Started working on oald2gf script.
2008-11-21 16:50:07 +00:00
bjorn
0a73c96ee3
Added CompCN to ParseEng. Perhaps this should move to NounEng.
2008-11-21 12:33:56 +00:00
bringert
fee1483bd8
lighttpd conf tweak.
2008-11-20 16:49:12 +00:00
bjorn
de09e64892
pgf.fcgi: don't install any signal handlers. Since we didn't look at the variable they set, we just created zombies.
2008-11-20 15:00:53 +00:00
bjorn
1203d31d77
gwt: rearragne html files and paths to get nicer URLs.
2008-11-20 14:06:06 +00:00
bjorn
8f1d5c79ef
Added CAdvNP and CAdvSSlash to ParseEng. Maybe they should go in Noun.gf instead?
2008-11-20 10:32:15 +00:00
bjorn
dd58077add
Fix permissions of pgf server error log.
2008-11-20 09:52:18 +00:00
bjorn
7181e8540a
gf-server lighttpd.conf: put fcgi socket in basedir, with PID in name. This helps avoid clashed when running muyltiple gf servers on the same machine.
2008-11-20 08:56:17 +00:00
bringert
d6acf9ac89
Include MachDeps.h in Data/Binary.hs, since it uses WORD_SIZE_IN_BITS. Without this, the Binary Word instance would be wrong on 64-bit machines.
2008-11-19 20:30:57 +00:00
bjorn
b5a6e15757
Updated CompatibilityEng to compile with case-inflected Num and Ord.
2008-11-19 14:28:50 +00:00
bjorn
842d7e434b
Fix good_A in BigLexEng.
2008-11-19 13:57:42 +00:00
bringert
de52b219f3
Merge SyntaxEng.mkOrd and ParadigmsEng.mkOrd in TryEng.
2008-11-19 14:16:28 +00:00
bjorn
972d300ba0
Updated ParseEng for case-inflected Num.
2008-11-19 13:15:36 +00:00
bjorn
eaed41caaa
Added case inflection to English numerals and adjectives, in order to get genitive forms of stand-alone determiners that use Num or Ord right.
2008-11-19 13:11:45 +00:00
aarne
cad49a225d
restored "?" as system pipe command
2008-11-18 15:31:30 +00:00
bjorn
081b5707c3
Added overloaded mkQuant to ParadigmsEng.
2008-11-18 15:30:53 +00:00
bjorn
eba86d2f24
The stand-alone form of no_Quant should be "none", not "no".
2008-11-18 15:20:40 +00:00
bjorn
da4b858316
Remove "at least" and "at most" from parsing grammar, since they are now in structural.
2008-11-18 15:20:14 +00:00
bjorn
6cd27ad4f3
Remove no_Det, nobody_NP and nothing_NP from the parsing grammar, sicne they are now in Structural.
2008-11-18 12:38:03 +00:00
aarne
65aefea2d6
fixed a bug with type checking function types
2008-11-18 10:58:50 +00:00
peb
fae330f733
Fix in Prolog output of the atom "'"
2008-11-17 13:33:53 +00:00
aarne
ce50264e91
updated demo page and summer school
2008-11-18 10:00:43 +00:00
aarne
31c010d61e
new version of summerschool announcement
2008-11-17 17:58:11 +00:00
aarne
d67c87b7d8
Attempto complete up to spec
2008-11-15 20:08:09 +00:00
aarne
b13c62f71b
PP lists in Attempto via iteration
2008-11-15 17:20:38 +00:00
aarne
9cf2fd879a
new CAdv type in Dan and Nor
2008-11-15 11:24:22 +00:00
aarne
fc60a33c2a
comparative adverbs generalized to cover more of Attempto
2008-11-15 11:19:10 +00:00
aarne
6b21e170e8
attempto almost complete to spec now
2008-11-14 17:39:05 +00:00
aarne
65c6f8548a
rules for constructing structural words (separate from Paradigms - is this desirable?)
2008-11-14 17:32:34 +00:00
aarne
e9592c8020
added ConjRS and things needed for it
2008-11-14 15:42:09 +00:00
aarne
b9bda0e69d
Attempto lexicon bug fixes
2008-11-14 12:51:14 +00:00
bjorn
0992b8507b
gwt: fix gf-gwt.jar compilation to use the dnd jar
2008-11-11 22:13:12 +00:00
bjorn
edbe6c9edc
Frdige: hide magnet bag when empty.
2008-11-11 12:44:59 +00:00
bjorn
ec301fea5e
make food.pgf in src/server from resource-foods
2008-11-11 12:26:00 +00:00
bjorn
723e5e9dd6
Towards better layout of Fridge app.
2008-11-11 11:00:33 +00:00
aarne
6d4b5334fb
tutorial complete with server and js
2008-11-11 10:28:32 +00:00
aarne
892514fc31
fixed some tutorial grammars and updated embedded section (JavaScript and web TODO)
2008-11-11 09:21:59 +00:00
aarne
0d6b1081ff
print "no trees found" in GF shell if an empty tree list is returned by p or pt
2008-11-10 16:23:09 +00:00
aarne
a9e51ed9c7
updated tutorial html
2008-11-10 15:57:29 +00:00
aarne
79ef938590
lexer documentation in help and tutorial updated
2008-11-10 15:53:38 +00:00
aarne
87c6bebf29
updated tutorial up to lexers ; fixed lexcode in GF (was wrong due to a typo)
2008-11-10 10:59:13 +00:00
bjorn
eedd209458
SRG generation: renameCats now gives new names to all cates used in the grammar, on RHS or LHS. This avoids a crash in non-recursive SRGS generation. The crash happend becase the bottom-up filter has not yet been done when renameCats is called.
2008-11-09 14:27:34 +00:00
bjorn
9dbb65055d
Fixed PGF file overwriting issue reported by Peter, by refusing to overwrite any of the input pgf files. Maybe the right fix would be to read the PGF strictly?
2008-11-09 13:58:28 +00:00
bjorn
526d8409bd
Nicer brushed metal background.
2008-11-08 20:09:24 +00:00
aarne
fc0432e4e1
corrections in Attempto grammars
2008-11-08 09:38:32 +00:00
bjorn
70e49b204c
Symbolic.symb: overload versions with Quant instead of Det.
2008-11-07 16:15:53 +00:00
bjorn
f1ad4febd9
Added variants of Symbolic.symb that take Numeral instead of Card.
2008-11-07 14:30:32 +00:00
aarne
967c4b5f65
one more word in German corrected
2008-11-07 16:24:00 +00:00
aarne
e9d3b508ae
bug fixes in German lexicon
2008-11-07 16:16:06 +00:00
krasimir
bf79f8a074
add TTAnt in CatBul
2008-11-07 09:41:59 +00:00
krasimir
96b12c621e
add SymbolBul, SymbolicBul, CompatibilityBul
2008-11-07 09:41:04 +00:00
bjorn
e9dc470dcc
More work on IE 6 bugs.
2008-11-07 09:55:56 +00:00
bjorn
bc5f5e9413
Fridge: don't carch on start-up in IE6.
2008-11-07 09:07:58 +00:00
bjorn
ea0af09cbb
Added IE6-only testing module for FridgeApp.
2008-11-07 08:56:19 +00:00
bjorn
076a5167d0
Fridge: Added Delete Last button.
2008-11-06 14:31:06 +00:00
bjorn
6578905ddc
The PGF GWT module needs to inherit the DnD stuff.
2008-11-06 14:24:38 +00:00
bjorn
f686fd3e2f
Fridge: prefix panel layout tweak.
2008-11-06 14:13:24 +00:00
bjorn
4b5a88e6aa
Fridge: show initial letters in magnet bag when needed.
2008-11-06 14:11:32 +00:00
bjorn
599fa7dd55
Fridge: minor refactoring.
2008-11-06 13:47:40 +00:00
bjorn
66d46369be
Fridge: allow clicks in addition to drag and drop. Don't remove magnets when dnd-ing.
2008-11-06 13:42:16 +00:00
bjorn
95e637b845
Use drag and drop in Fridge app.
2008-11-06 10:15:38 +00:00
bjorn
d0a3b7e78e
Brushed metal look for fridge app.
2008-11-05 21:03:23 +00:00
aarne
9d31acc16e
German Bronzeage ; two fixes in Italian
2008-11-06 09:55:36 +00:00
aarne
beb43387fe
Scandinavian indefinite modified form fix
2008-11-05 22:00:08 +00:00
aarne
d38ed0da06
bug fixes in Finnish
2008-11-05 19:28:14 +00:00
bjorn
a1c8dc8ece
Make fridge magnets look more like magnets.
2008-11-05 16:47:52 +00:00
bjorn
294309f2e0
GWT: big refactoring of the translator and fridge apps.
2008-11-05 16:36:52 +00:00
aarne
cfce955aa8
distinguished know_VS and know_V2 in Lexicon; patched Italian imperatives (not quite finished yet)
2008-11-05 10:22:09 +00:00
aarne
8957050a87
slight modifs in Bronzeage, adapted to next-lib
2008-11-05 10:21:28 +00:00
aarne
59e418f77b
URL for gwt in README corrected
2008-11-04 15:23:25 +00:00
bjorn
408d4122f6
Get Fridge to compile with changes in Translate.
2008-11-04 14:12:37 +00:00
bjorn
2a567a6891
Forgotten record in src/server/Makefile.
2008-11-04 13:57:27 +00:00
bjorn
9b4d4cc13f
Added GWT compile instructions to src/server/README.
2008-11-04 13:32:44 +00:00
bjorn
e4552a97db
GWT: changed input na doutput language boxes to not pretend that they allow multiple selections.
2008-11-04 10:44:23 +00:00
bjorn
76b8d37824
pgf-server: write stderr to pgf-error.log, since lighttpd closes stderr for fastcgi processes.
2008-11-04 09:28:21 +00:00
bjorn
1684db98ea
Use next-lib when building example PGFs in src/server
2008-11-04 09:10:50 +00:00
bjorn
75c5c52179
Added /random to pgf-server.
2008-11-04 09:09:22 +00:00
bjorn
8a4250c2f4
Fix GWT client-side completion caching bug. Typing a space and then a letter quickly would cause the first request to be cancelled, and the second would use the two steps old results, which didn't go past the space => 0 completions.
2008-11-03 21:07:53 +00:00
aarne
ee7146e96f
some tutorial updates ; new structural words Italian and Finnish
2008-11-03 17:22:21 +00:00
aarne
e67587ae5b
structural words needed for Attempto ; negative items are overgenerating
2008-11-03 16:52:54 +00:00
aarne
7f0b861ca9
missing constructions in Attempto grammars added
2008-11-03 16:51:43 +00:00
bjorn
df5e7b3363
Added first version of the fridge poetry gui
2008-11-03 16:43:47 +00:00
bjorn
12ecbdc89f
gf-server: complete noew sorts case-insensitive
2008-11-03 16:43:19 +00:00
bjorn
34868b04bb
GWT: Refactor TranslateApp to make the suggestion panel and the settings panel separate classes. This makes it possible to reuse them in mosg and fridge.
2008-11-03 14:42:49 +00:00
bjorn
580618587b
ParseEng: more liberal IdRP
2008-11-03 13:00:35 +00:00
bjorn
bd7e0bd496
Added 'parse' target to Make.hs.
2008-11-03 12:29:28 +00:00
bjorn
e2fb4aa24d
ParseEng: StrandRelSlash as variant of RelSlash.
2008-11-03 12:28:40 +00:00
aarne
830bb7e9b0
fixed some spurious errors in romance
2008-10-31 14:39:47 +00:00
bjorn
0eaba1fe1f
ParseEng: ise CompleBareVS as variant of ComplVS
2008-10-31 11:04:22 +00:00
bjorn
875e03c92f
Use BigLexEng in ParseEng.
2008-10-31 10:58:21 +00:00
bjorn
c0a5ababe8
BigLexEng: use mkV3 instead of dirdirV3
2008-10-31 10:54:39 +00:00
bjorn
3836eaf139
BigLexEng: drop superfluous parantheses.
2008-10-31 10:51:33 +00:00
bjorn
2c7edaa0a2
BigLexEng: better use of mkV3, mkV2, mkN2.
2008-10-31 10:47:28 +00:00
bjorn
bdc0af1564
ParadigmsEng: more versions of mkV2 and mkV3.
2008-10-31 10:43:13 +00:00
bjorn
dbbecda3b3
BigLexEng: Get rid of the last mkV2 with empty second argument.
2008-10-31 10:34:59 +00:00
bjorn
b23aa5ea0d
igLexEng: Use mkV2 : Str -> V2 instead of mkV2 (mkV "...")
2008-10-31 10:32:47 +00:00
bjorn
6cc801ed1f
BigLexEng: Use one-argument mkV2 instead of two-argument one with empty prep.
2008-10-31 10:28:54 +00:00
bjorn
2d39e424c9
Update BigLexEng to use overloaded paradigms.
2008-10-31 10:26:17 +00:00
bjorn
70ddf9cd91
ParadigmsEng: more overloaded version of mkA2, mkV2, mkV3, mkN2. Added mkSubj.
2008-10-31 10:19:44 +00:00
bjorn
a18c8d67df
LexiconEng: Lexicon.sister_N is N, not N2 (but it probably should be).
2008-10-31 10:05:59 +00:00
bjorn
e2f602718a
Added BigLexEng from mosg (originally from GF/example) to next-lib/parsing.
2008-10-31 09:26:38 +00:00
bjorn
5a49924c29
Added Pol argument to ExtraEng.Unc* to give them the same signatures as the standard (contracted) versions. This makes it easier to use Unc* as a variant without getting meta-variables when parsing,
2008-10-31 09:22:09 +00:00
aarne
bd71b12224
refactored romance VP. Now it is possible to parse with Spanish and Catalan; for the rest, some Slash rules still pose a problem. Some clitic and agreement things unfinished. All this in next-lib only; resource 1.4 untouched
2008-10-30 20:38:51 +00:00
krasimir
4558f2064d
bulgarian in next-lib
2008-10-30 18:04:09 +00:00
bjorn
751d9c8940
Started working on a parsing grammar. English-only so far.
2008-10-30 16:53:26 +00:00
bjorn
4da0100312
Removed "that" variant in RelativeEng.IdRP. Added instead that_RP in ExtraEng[Abs].
2008-10-30 15:06:34 +00:00
bjorn
3d20090483
More English morphology clean-up.
2008-10-30 14:37:54 +00:00
bjorn
205f4d1516
Remove lots of dead code from MorphoEng.
2008-10-30 14:21:46 +00:00
bjorn
29c63ae172
Added case parameter for stand-alone forms of determiners. I had to move mkPron from ResEng to MorphoEng, and mkQuant from StructuralEng to MorphoEng. I also removed the unused mkPronoun stuff from MorphoEng.
2008-10-30 14:09:27 +00:00
bjorn
61bddaba10
Towards cleaner english morphology: use mkPrep instead of ss in StructuralEng.
2008-10-30 14:08:21 +00:00
bjorn
d2a9a9c480
Removed some unused (and strange) code from MorphoEng.
...
Why would you want a function that always returns the noun "dog"?
2008-10-30 13:10:29 +00:00
bjorn
6ebd80ba97
Include .gf file name in source parsing syntax error message.
2008-10-30 10:49:23 +00:00
bjorn
748b60eaee
GWT lib and translator: added support for multiple pgf files.
2008-10-30 09:19:58 +00:00
bjorn
3e40a907ca
gf-server: added a way to list the available pgf files
2008-10-29 20:45:18 +00:00
bjorn
681648fb05
Rename MainFastCGI.hs to PGFService.hs.
2008-10-29 19:49:38 +00:00
bringert
c40ca4b0c7
Some lighttpd config fixes for the gwt translator.
2008-10-29 14:45:15 +00:00
bjorn
70331e394b
GWT translator: fixed copy-paste bug where the from language was sent as both from and to language.
2008-10-29 14:30:20 +00:00
bringert
f360e136b9
Better way of building gf-gwt.jar.
2008-10-29 14:02:58 +00:00
bringert
277bcf0a35
GWT: Some changes to compilation scripts to run on linux.
2008-10-29 13:55:00 +00:00
bjorn
64765cd184
Changed UncNegX in ExtraEng to take a Temp rather than Tense and Ant arguments.
2008-10-29 13:27:04 +00:00
bjorn
0b2f87ee1f
Remove superfluous RP argument to EmptyRelSlash.
2008-10-29 13:06:03 +00:00
bjorn
fa061ce136
Replace PGF.Raw with PGF.Binary in the executable section of GF.cabal
2008-10-29 09:46:46 +00:00
bjorn
2c2a8a51e3
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
4dd05f663b
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
aarne
d5e0ffc5d7
smart consonant duplication in ParadigmsEng
2008-10-29 08:56:36 +00:00
krasimir
a977b48b1e
even more compact binary representation. saldo < 19MB
2008-10-28 16:54:46 +00:00
krasimir
0762bd40ea
Data.Binary should use Data.ByteString.copy when decoding ByteStrings
2008-10-28 16:43:00 +00:00
krasimir
44391a9125
remove some traces that I left by incident
2008-10-28 16:31:30 +00:00
aarne
3204702619
German Attempto - lots of words to check
2008-10-28 16:15:13 +00:00
krasimir
a35919542f
remove some redundant imports of GF.Text.UTF8
2008-10-28 15:47:04 +00:00
krasimir
5e23cece4b
forgot to add PGF.Binary
2008-10-28 15:40:10 +00:00
aarne
e26383f7ca
notpresent flags in French auxiliaries
2008-10-28 15:33:57 +00:00
aarne
61c16c7b34
Attempto in French ; not correct for mode in "il n'est pas possible que..." etc
2008-10-28 15:33:02 +00:00
aarne
4f327ca357
part of Attempto controlled language in English and Swedish
2008-10-28 14:05:55 +00:00
aarne
7408089e29
fixes in next resource needed for Attempto
2008-10-28 14:05:11 +00:00
krasimir
e44448bad0
binary serialization for PGF
2008-10-28 13:57:10 +00:00
bjorn
d61f6f1085
GWT: better heuristics for when to ask the server for completions.
2008-10-28 12:59:00 +00:00
bjorn
7ef019b006
GWT completion: only return request.getLimit() results to the SuggestBox. Re-request completions from the server if there is only one completion.
2008-10-28 12:37:52 +00:00
bjorn
76931b40fb
Changed PGF.complete to include the given input if it can be parsed as a complete tree.
2008-10-28 12:28:46 +00:00
krasimir
8a4cb6ba1d
define Read and Show instances for Expr and Tree
2008-10-28 12:22:34 +00:00
bjorn
12a17a7e81
GWT: Hold on to the previous suggestions, and try filtering them before asking the server.
2008-10-27 21:51:54 +00:00
bjorn
938340aed3
GWT: added IterableJsArray.isEmpty().
2008-10-27 10:18:21 +00:00
aarne
cbb38747f8
missing case in PGF generation
2008-10-27 09:24:33 +00:00
krasimir
799c915170
fix typo
2008-10-25 20:44:04 +00:00
krasimir
c641cdedb9
Windows fix: the default coding isn't utf8 but the current system codepage. The se command changes the codepage as well as the coding
2008-10-25 20:26:48 +00:00
krasimir
96e39ced12
add cp1252. usefull for Swedish and German
2008-10-25 20:25:09 +00:00
krasimir
4fe931c67f
extend the cp1251 coding to cover all cyrillic letters
2008-10-25 20:22:06 +00:00
bjorn
93b4d6a398
GWT: hide stale suggestions.
2008-10-24 14:22:19 +00:00
bjorn
bc255b3a7f
GWT code import tweak.
2008-10-24 14:00:24 +00:00
bjorn
a984aaa9cb
More GWT refactoring.
2008-10-24 08:45:34 +00:00
bjorn
c02d577cde
Added Eclipse project stuff for the GWT library. Some refactoring of the GWT code.
2008-10-23 11:51:52 +00:00
bjorn
807a314063
Added PGF.parse method to GWT client.
2008-10-22 19:59:43 +00:00
bjorn
c205b867be
Some refactoring of the GWT translator.
2008-10-22 19:37:57 +00:00
krasimir
c658f4057e
fix the word completion in the shell
2008-10-22 11:27:01 +00:00
krasimir
b303201200
fix a typo. It is option "-cat" not "-type"
2008-10-22 09:36:50 +00:00
bjorn
252ae4cb31
Make GWT compilation easier.
2008-10-22 13:29:57 +00:00
bjorn
94b8b451df
Remove compiled GWT stuff.
2008-10-22 13:28:33 +00:00
bjorn
161cb67082
gf-server: preliminary Ubuntu instructions
2008-10-22 12:36:13 +00:00
bjorn
622dc8fbaf
Recompiled GWT code. I should drop the compiled code from the repo soon, this is getting tedious.
2008-10-22 12:07:04 +00:00
bjorn
22c271ad70
Rename the GWT Translate module to PGF. Rename the GF class to PGF.
2008-10-22 12:05:59 +00:00
bjorn
792752c382
Change GWT compilation scripts to make it easier to change the GWT dir location.
2008-10-22 11:19:12 +00:00
bjorn
a28183ef01
New compiled GWT stuff.
2008-10-22 09:37:06 +00:00
bjorn
e21f64ab09
Reorganize GWT stuff into a reusable module and one application module.
2008-10-22 09:36:05 +00:00
krasimir
c72ee23d85
efficient and nicer implementation for literal categories
2008-10-21 14:30:36 +00:00
bjorn
7ae8c798e9
gf-server: move some general stuff to FastCGIUtils
2008-10-20 15:17:57 +00:00
krasimir
16dacfdd45
the literal categories were slowing down the parser 3 times. this is quick and dirty workaround until I find something cleverer.
2008-10-20 15:38:59 +00:00
bjorn
5b5b91eb0a
Added --parser=ondemand flag.
2008-10-20 14:52:50 +00:00
bjorn
aed72e7653
Added PGF.Macros.mapConcretes
2008-10-20 14:51:42 +00:00
bjorn
e5a595567a
Added on-demand parser generation back in. It's pretty unproblematic, and can help with memory use in some cases.
2008-10-20 14:05:39 +00:00
bjorn
d6ef31ada2
Added new generated GWT output.
2008-10-20 13:30:01 +00:00
bjorn
b5756f322f
Removed the flag icons from the GWT client.
2008-10-20 13:23:40 +00:00
bjorn
c783c12b15
Update gf-server instructions and configuration.
2008-10-20 12:56:08 +00:00
bjorn
e25d03ed32
Drop -beta2 from version in GF.cabal. It confuses cabal-install.
2008-10-20 12:49:18 +00:00
krasimir
d474800250
fixed typo in the Haddock documentation
2008-10-20 12:24:07 +00:00
bjorn
82b30838d2
Reorganize PGF export list to get easier to read haddock.
2008-10-20 12:10:42 +00:00
bjorn
ae3dac1b56
Update gf-server to compile with changed PGF API.
2008-10-20 12:07:05 +00:00
bjorn
335a8d6977
Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage.
2008-10-20 11:59:31 +00:00
bjorn
0c442d9ac9
Added Read and Show instances for Type. This required moving some code around.
2008-10-20 11:36:17 +00:00
bjorn
29ca3b692b
Replace Category with Type in the PGF API. Added readLanguage and showLanguage.
2008-10-20 11:35:05 +00:00
krasimir
14cd21db6d
more test/srg to examples/test/srg
2008-10-20 11:11:59 +00:00
krasimir
31ccbdb34c
added parser test suite
2008-10-20 09:40:09 +00:00
bjorn
9638567274
Added 'run' target to gf-server Makefile. It compiles the server, and starts lighttpd.
2008-10-20 08:46:32 +00:00
bjorn
43ab23b978
Added compiled GWT code to repo.
2008-10-20 08:45:42 +00:00
bjorn
547f362f83
gf-server: New URL format: /grammar.pgf/command
2008-10-20 08:45:00 +00:00
bjorn
95fca30b5d
lighttpd.conf tweak
2008-10-20 08:43:23 +00:00
bjorn
dd17e7a2cc
fastcgi: better grammar cache implementation: don't deadlock on exceptions
2008-10-20 08:24:01 +00:00
bjorn
e7656c9d2e
(fastcgi) replace DataRef with a more general Cache type, which can hold several PGF grammars.
2008-10-17 14:12:53 +00:00
krasimir
1ddb738459
preparation for dep. types. The -cat option can take any type instead of just a category. The PGF API is generalized as well.
2008-10-20 08:42:39 +00:00
krasimir
5dfab9e431
export wildCId from PGF.hs
2008-10-20 07:56:32 +00:00
krasimir
ef0ff58516
add parser and pretty printer for types
2008-10-20 07:52:14 +00:00
krasimir
d27b017c7f
move the literal category names to PGF.Macros
2008-10-19 14:21:58 +00:00
aarne
c44f79dd64
fixed type error in German Feder, added erasing flag to LangGer
2008-10-19 10:02:21 +00:00
krasimir
286be2e4d9
move PGF.Quiz to GF.Quiz. It is not part of the PGF API
2008-10-19 16:38:56 +00:00
bjorn
21ff851493
Added PredNP to demo grammars.
2008-10-17 13:00:17 +00:00
bjorn
333efb4063
lighttpd.conf: use default server.event-handler = "select"
2008-10-17 12:57:52 +00:00
bjorn
7317d41c84
gf-server-jsapi: clean up old callbacks
2008-10-17 12:57:34 +00:00
bjorn
2df86ad3fb
Don't include parsers for Ger, Dan, Nor in server/demo.pgf and server/lang.pgf
2008-10-17 12:41:48 +00:00
bjorn
647164ed64
Fixed URL in gwt-client/Translate-shell-external to work with lighttpd
2008-10-17 12:41:19 +00:00
bjorn
d8568d4f66
Use JSON-P in gf-server-jsapi.js
2008-10-17 11:14:46 +00:00
bjorn
9b920a0b73
Added JSON-P support to fastcgi server.
2008-10-17 10:49:34 +00:00
bjorn
c59103a27f
Delete gf.fcgi in src/server/Makefile.
2008-10-17 10:05:29 +00:00
bjorn
3ee2a7b072
A bunch of changes that make it easy to run the gf server with lighttpd
2008-10-16 13:39:09 +00:00
bjorn
e94cfd8567
Multithreaded gf.fcgi.
2008-10-16 13:00:44 +00:00
bjorn
bc87219f8e
server/makefile added test.pgf target.
2008-10-16 13:00:16 +00:00
bjorn
d67d44993b
Export list in GF.Compile.GetGrammar
2008-10-16 12:59:40 +00:00
bjorn
b9a9fb2f40
Copy command-line flags to in-memory module when reading from a .gfo file. This maeans that command-line flags get put in the .pgf file.
2008-10-16 11:58:18 +00:00
bjorn
ff36a38a48
Fixed German feather_N, it was just copy-paste from English.
2008-10-16 11:40:01 +00:00
bjorn
67fabb0e0d
In shell "p" command, only try languages that have a parser.
2008-10-16 11:33:09 +00:00
bjorn
1f724b36bb
build pgf files in src/server with erasing parsing
2008-10-16 11:27:12 +00:00
bjorn
fb3fdcab3d
Allow giving .gfo files as gfc command-line arguments.
2008-10-16 10:33:23 +00:00
bjorn
d698a006cc
Removed on-demand parser generation from the PGF interpreter.
2008-10-16 10:18:54 +00:00
bjorn
8d832b5b9a
Moved parser building in the PGF interpreter to PGF.hs from PGF/Raw/Convert.hs, in preparation for doing something more clever about it (e.g. looking at the parser flag).
2008-10-16 10:13:25 +00:00
bjorn
e75ccc2542
A bit more verbosity when combining PGF files. Use putPointE when writing output files.
2008-10-16 10:12:57 +00:00
bjorn
21e3858442
Honor --erasing flag from command-line also when compiling existing .gfo to PGF.
2008-10-16 08:27:43 +00:00
bjorn
23a139ec07
code tweak: use Map.findWithDefault in PGF.Macros.lookMap
2008-10-16 08:22:04 +00:00
aarne
65bafe2a3b
restored the possibility to compile .cf files to gf
2008-10-15 15:08:38 +00:00
krasimir
bb6623f6e7
high-order syntax in PMCFG
2008-10-15 14:58:00 +00:00
krasimir
063b82cf6c
rename some variable names
2008-10-15 09:43:15 +00:00
bjorn
f898c7543d
Copy command-line options to module flags when compiling to .gfo.
2008-10-15 14:24:23 +00:00
bjorn
58381a95a4
Merge ModuleOptions and Options.
2008-10-15 11:55:18 +00:00
bjorn
50ed99e9b1
Added OPTIONS class to make options handling somewhat nicer. Next, I will merge Flags and ModuleFlags.
2008-10-15 11:38:34 +00:00
jordi.saludes
41cc4694fd
for_Prep is 'para' in Spa.
2008-10-11 21:50:28 +00:00
krasimir
cdff4db5c4
rename emptyFRulesEnv to emptyGrammarEnv
2008-10-15 09:26:01 +00:00
bjorn
accff02c8d
Added PGF.TypeCheck to .cabal.
2008-10-15 09:05:37 +00:00
krasimir
8386c8b939
threat category _Var as a literal category
2008-10-15 08:38:34 +00:00
krasimir
b01fcc8c3c
generate metavariables in the tree extraction for PMCFG
2008-10-15 08:02:12 +00:00
krasimir
ebef7ecb7b
store the total number of PMCFG categories in the PGF file
2008-10-15 07:47:57 +00:00
krasimir
50fc82d4db
literal categories in the incremental parser
2008-10-14 15:29:50 +00:00
aarne
b6666624a0
rudimentary abstract syntax type checker and solver in PGF
2008-10-14 14:34:08 +00:00
krasimir
94bc0c9032
pass the full Tokn type to the add function not just the KS string
2008-10-14 13:29:45 +00:00
aarne
b862003c11
moved paraphrases to examples/test/, meant for small grammars used for testing various aspects
2008-10-14 11:20:44 +00:00
aarne
df08e52d5c
paraphrase works a little better now ; added examples/paraphrase for testing
2008-10-14 11:19:30 +00:00
krasimir
e94f1cf2c7
remove trace in the PMCFG compilation
2008-10-14 09:40:55 +00:00
krasimir
1fc909c101
the new optimized incremental parser and the common subexpression elimination optimization in PMCFG
2008-10-14 08:00:50 +00:00
krasimir
fa4003535f
register PGF.AbsCompute and PGF.Paraphrase in GF.cabal
2008-10-14 07:57:32 +00:00
krasimir
cdca907909
remove GF.Source.ErrM from GF.cabal
2008-10-13 20:03:29 +00:00
aarne
8abf7f5c8a
added a paraphrase method applying def's in both directions, in subtrees, and step by step; doesn't work properly yet
2008-10-13 16:41:21 +00:00
aarne
a643cc522d
added a note on refreshing variables in AbsCompute
2008-10-10 16:01:07 +00:00
aarne
8555c65c36
a first version of PGF.AbsCompute
2008-10-10 15:53:17 +00:00
aarne
76e9964d98
AdjOrd instance of mkAP
2008-10-10 12:26:09 +00:00
bjorn
7a5d3da347
Added option to treat some categories as lexical when generating Haskell data types.
2008-10-10 11:55:12 +00:00
aarne
9d6f088dc0
oops - forgot mkPresent as well
2008-10-08 08:35:51 +00:00
aarne
51046b5639
oops - had forgotten Makefile from next-lib
2008-10-08 08:28:39 +00:00
krasimir
21028dbe94
the parameter for RS and RCl should be Agr and not GenNum (bulgarian)
2008-10-07 18:17:32 +00:00
aarne
43dcd61cbf
next-lib now compiles webalt ; removed subdir mathematical/ for simplicity
2008-10-06 15:27:14 +00:00
aarne
e56e6483f6
simplified 1.5 by removing mathematical/
2008-10-06 12:49:13 +00:00
aarne
f376576af0
added a command for tree operations and started a module for defining them
2008-10-05 19:49:26 +00:00
aarne
673bc27755
adapted old AbsCompute for use with source GF terms
2008-10-05 18:01:42 +00:00
aarne
1f8c999f1b
prevent pgf from being empty when there are no concrete syntaxes
2008-10-05 15:44:16 +00:00
aarne
be9ff0cbca
forced checking def definitions; accept pgf with no concretes
2008-10-05 15:21:08 +00:00
aarne
16a1a48874
extended AP with Ord and compar in 1.5
2008-10-03 20:42:09 +00:00
aarne
56c2c0e067
print full types instead of lock field heuristics in overload resolution if the heuristic is misleading
2008-10-03 18:18:21 +00:00
aarne
4b707dbf01
return error on undefined opers in instance and resource
2008-10-03 16:16:45 +00:00
aarne
4bfd3f91cf
added mkCard to resource 1.4
2008-10-03 13:18:46 +00:00
bjorn
338d4132c4
Merge mine and aarne's variants linearization changes.
2008-10-03 09:53:25 +00:00
bjorn
3e3ba03724
Don't build FV terms if there is exactly one variant.
2008-10-03 08:18:24 +00:00
aarne
feecb1c368
made variants checking symmetric for Ints m == Ints n in PGF.Check
2008-10-03 08:02:54 +00:00
aarne
0b5a7abb2c
fixed the over-expansion of record variants in PGF.Linearize
2008-10-03 07:57:40 +00:00
bjorn
ae13f4f2c9
Fixed variants semantics in PGF linearization to expand make variants of argument lists, to get things like Auto/Wagen gender right.
2008-10-03 07:53:37 +00:00
bjorn
4b41039a5d
Added | syntax for variants.
2008-10-03 07:35:26 +00:00
bjorn
6d4d6bce68
Handle concatenations with variants in PGF.ShowLinearize, fixes http://trac.haskell.org/gf/ticket/23
2008-10-03 07:16:39 +00:00
bjorn
f362f6ad01
Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is used, no hand-hacking is needed.
2008-10-02 14:11:41 +00:00
bjorn
2fc5c7f579
Added src/GF/Source/Makefile for regenerating the GF source parser from GF.cf.
2008-10-02 13:42:24 +00:00
bjorn
c21d0d10b8
Converted GF/Source/*.hs to Unix line endings, to be able to see what happens when I regenerated the files.
2008-10-02 13:23:54 +00:00
bjorn
7c30f07f75
Fail more gracefully on unknown file name extensions.
2008-10-02 12:32:03 +00:00
aarne
3d2465bb37
small fixes in tutorial ; added txt source of the same
2008-10-01 16:07:09 +00:00
aarne
d53f8e0644
added mode 'gf --run' for running silently a script ; made quizzes handle character encoding correctly ; for this end, collected coding functions in GF.Text.Coding
2008-10-01 16:01:51 +00:00
aarne
81a93979ad
refreshed the tutorial
2008-10-01 13:13:10 +00:00
aarne
0c964105d9
Italian "quello" corrected
2008-10-01 12:11:29 +00:00
krasimir
86a6e282da
fix the translation of "fat" in bulgarian
2008-10-01 09:37:59 +00:00
aarne
c0a800e73e
download page for beta2 ; link to JEM demo
2008-10-01 09:20:36 +00:00
aarne
2f54dcb842
more work with Parametric
2008-09-30 20:21:33 +00:00
aarne
fb3e468373
started experiment on parametrizing more of RG definition
2008-09-30 14:16:39 +00:00
bjorn
cec77015ad
Use parantheses for precedence in pgf-pretty lincats.
2008-09-30 12:02:58 +00:00
bjorn
14373feb3a
Added --cfg option for specifying which CFG transformations to use. Added startcatonly CFG trasnformation. Removed output formats that are now easily done with --cfg: "regular", "nolr".
2008-09-30 11:52:11 +00:00
bjorn
ed7d52843b
Fixed CFG start cats for categories with more than one constituent.
2008-09-30 10:53:36 +00:00
bjorn
3ad9d12c81
Use filtering in regular printer.
2008-09-30 09:39:09 +00:00
bjorn
e1d90c00b9
SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer.
2008-09-30 09:32:16 +00:00
bjorn
6791378846
pgf-pretty: remove single field record lincat hack. handle f "" (S []) correctly.
2008-09-30 09:31:31 +00:00
jordi.saludes
6706441624
regular verbs in Cat.
2008-09-29 18:29:20 +00:00
jordi.saludes
becce3cb62
better noun morphology in Cat.
2008-09-29 18:28:27 +00:00
bjorn
662663ffa3
Some pgf-pretty fixes, including note by Peter about W "apa" (S []).
2008-09-30 07:24:01 +00:00
peb
bfcfb513f3
Changes to the prolog output format
2008-09-25 07:32:39 +00:00
bjorn
2884598b7c
Added pgf-pretty output-format
2008-09-26 15:21:32 +00:00
bjorn
0e869a3574
Added isLiteralCat function to PGF.Macros.
2008-09-26 15:04:13 +00:00
bjorn
f377af2617
Added 'complete' function to the PGF API. This is a higher-level API to the completion functionality.
2008-09-26 13:17:21 +00:00
bjorn
8fe2a1cc59
Added semantic interpretation tag printing to the *bnf grammar printers.
2008-09-26 12:57:20 +00:00
bjorn
b64d25b3be
Use ebnf format for "regular" output-format.
2008-09-26 10:20:18 +00:00
bjorn
a84849bee2
Changed nolr printer to use EBNF format.
2008-09-26 10:03:42 +00:00
bjorn
9010afef50
ebnf printer: print external cats first.
2008-09-26 09:58:57 +00:00
bjorn
d54ba6f112
bnf and ebnf printer: align ::= symbols.
2008-09-26 09:54:09 +00:00
bjorn
93e9d60765
SRG category renaming: don't count the external cats when calculating indices.
2008-09-26 09:44:02 +00:00
bjorn
d80c71f688
Changed SRG category renaming to use GF cat + index among CFG cats for that GF cat, instead of the old Concrete syntax name + index among all CFG cats.
2008-09-26 09:39:48 +00:00
bjorn
c588e8ca2b
Oops, I accidentally disabled all CFG simplification and LR-removal with the ENBF printing patch.
2008-09-26 09:39:04 +00:00
bjorn
8c348f963f
Change category naming in CFG generation: the number now starts from 1 for each GF category, instead of being the FCFG category number.
2008-09-26 09:28:03 +00:00
bjorn
824d72bf16
Added --output-format=ebnf.
2008-09-26 09:20:39 +00:00
bjorn
84dec7aaa2
In CFG generation: don't add linrow number if the lincat has only a single constituent.
2008-09-26 09:06:52 +00:00
bjorn
367cc0acb9
Added --output-format=nolr. Minor makeRegular refactoring.
2008-09-25 13:41:07 +00:00
bjorn
8001ea8ea0
Added --output-format=regular.
2008-09-25 11:49:00 +00:00
bjorn
4d96eb7e9a
Fixe copy-paste error: srgs_abnf_nonrec produced xml, fixed now.
2008-09-25 11:36:04 +00:00
bjorn
716250bcf1
Somewhat nicer FCFG output format.
2008-09-25 08:44:23 +00:00
bjorn
90b2441c34
Added an FCFG output format (--output-format=fcfg). This now lives in GF.Speech.PGFToCFG, but should probably move somewhere else.
2008-09-25 08:41:49 +00:00
aarne
1dd60b1b22
ParadigmsCat in next-lib updated
2008-09-24 08:52:49 +00:00
jordi.saludes
2e2db8c945
Paradigms for Cat updated from Spa.
2008-09-23 11:42:10 +00:00
bjorn
0d1b2c01b9
Got SRGS ABNF generation to compile.
2008-09-23 12:56:25 +00:00
bjorn
66d4909142
Added srgs_abnf_nonrec grammar printer to GF.Infra.Options.
2008-09-23 12:44:17 +00:00
bjorn
c01af6168b
Re-added old PrSRGS_ABNF (does not compile yet).
2008-09-23 12:41:44 +00:00
aarne
0a27471a57
started Telugu in next-lib
2008-09-23 09:52:10 +00:00
aarne
961261c46e
use hex in transliteration table
2008-09-23 09:04:03 +00:00
aarne
2269a5ba41
Telugu transliteration
2008-09-23 08:49:58 +00:00
aarne
21b4fbca69
updated HOWTO to the new place of next resource
2008-09-22 12:28:07 +00:00
aarne
33a44b2683
adapted German to 1.5
2008-09-22 12:24:28 +00:00
aarne
1a4fb83878
updated next-resource/src/catalan/Lexicon and Paradigms to Jordi's patches in 1.4
2008-09-22 11:55:27 +00:00
aarne
aacf6945fb
moved lib/next-resource to next-lib/src, to enable linking with next-lib as value of GF_LIB_PATH
2008-09-22 11:49:15 +00:00
bjorn
3d11bf48a3
GWT: somewhat nicer iterable() hack.
2008-09-22 10:11:15 +00:00
bjorn
491a829105
Added iterable() method for nicer iteration through GF method results. (GWT)
2008-09-21 20:37:27 +00:00
aarne
c028605e43
added README-1.5 to explain the novelties
2008-09-21 07:38:05 +00:00
aarne
292df86e25
adapted Hindi to next-resource
2008-09-20 14:40:18 +00:00
aarne
9b08ad1f07
removed jung latin files created by mistake
2008-09-20 09:07:14 +00:00
aarne
862310b01a
new resource-howto
2008-09-20 08:51:39 +00:00
aarne
d0a4ff8a11
latin verbs in active indicative
2008-09-16 19:11:04 +00:00
aarne
b77a44b830
fixed bug in latin 3rd conjugation; added PP adverbs
2008-09-19 07:15:30 +00:00
bjorn
279ba4823b
Fixed gf-morpho-server.cabal name typo. Added basic README for morpho server.
2008-09-18 20:12:01 +00:00
aarne
4437a84939
determiners and more words in latin
2008-09-18 14:36:33 +00:00
aarne
d9b6bdaf1e
latin adjectives and determiners
2008-09-18 13:29:53 +00:00
aarne
6d458d19dc
latin: able to parse "ego te amo"
2008-09-17 15:37:45 +00:00
aarne
78181618f3
personal pronouns in latin
2008-09-17 14:30:29 +00:00
bjorn
bc2447bcbb
GWT: disable translation until the language info has been loaded from the server,
2008-09-17 13:25:08 +00:00
bjorn
7c79fd0aa9
GWT: update to use new /grammar resource. Select from language based on Accept-Language header.
2008-09-17 13:04:10 +00:00
bjorn
0896d6dee1
fastcgi: rename /info to /grammar
2008-09-17 12:42:05 +00:00
bjorn
4a2bac3cf2
fastcgi: replace /categories, /languages and /mylanguage with /info.
2008-09-17 12:37:34 +00:00
bjorn
9265be0326
fastcgi server: add /mylanguage resource, which selects the language that best matches the Accept-language header.
2008-09-17 12:22:17 +00:00
bjorn
ee40c265b7
GWT: comment out flag icon stuff in CSS.
2008-09-17 11:40:35 +00:00
bjorn
64bbd08edd
Towards looking at the locale for default language. Added flag icons.
2008-09-17 10:12:36 +00:00
aarne
04e3c06aec
verb conjugations in Latin
2008-09-17 07:05:24 +00:00
jordi.saludes
74e3e03f0b
Irregular verbs in LexiconCat fixed.
2008-09-16 21:54:26 +00:00
krasimir
9827f433fb
build parsers on demand if they aren't in the PGF file
2008-09-16 15:35:15 +00:00
krasimir
a0fb2a0b0b
fix the segmentation fault with Swedish
2008-09-16 15:11:06 +00:00
aarne
b4dd4f5804
Latin noun declension complete
2008-09-16 14:28:41 +00:00
bjorn
64728d1205
Better error handling in GWT UI.
2008-09-16 13:53:07 +00:00
aarne
0e9c7629d2
restored the summer school and Resource-HOWTO documents
2008-09-16 08:01:47 +00:00
bjorn
70f8bc0f99
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
aarne
b782fa3ef2
third declension in latin
2008-09-15 16:19:08 +00:00
aarne
f3be339437
started Latin resource
2008-09-15 15:45:39 +00:00
aarne
d2322241c1
JEM tutorial examples - some files missing still
2008-09-15 15:28:47 +00:00
bjorn
a691f4dfaf
GWT client: set Accept header to get plain text error messages,
2008-09-15 15:43:37 +00:00
bjorn
62a872b033
Added loading popup to gwt ui
2008-09-15 15:27:33 +00:00
bjorn
a43ed0f99f
fastcgi server: decode UTF-8 inputs produced by the gwt client
2008-09-15 15:20:15 +00:00
bjorn
1579174e14
gwt installball should not contain gf.fcgi
2008-09-15 14:40:05 +00:00
bjorn
ca9b011b27
GWT: only allow a single compeltion request at a time.
2008-09-15 14:39:25 +00:00
bjorn
59065bb6fc
Use abs path for gf.fcgi in gwt client.
2008-09-15 14:16:56 +00:00
bjorn
b9ec6b089f
Fixes to the GWT UI to be able to run it on other machines (still some hardcoded paths in the compilation).
2008-09-15 13:49:55 +00:00
bjorn
c2da4129ed
Added partial word completion to fastcgi server and update GWT UI accordingly.
2008-09-15 13:33:40 +00:00
bjorn
3857f4a6a6
A somewhat better solution to the words/UTF-8 problem: do encoding last, but only on what appears to be string literals.
2008-09-15 13:16:04 +00:00
bjorn
a39f8cc5da
Temporary fix for the grave accent a encoding problem: change compatPrint to id.
...
The problem is that lower case a with a grave accent is coded in UTF-8 as \195\160.
Unicode character \160 is non-breaking space, so Haskell's words function
will break a UTF-8 encoded string at this character.
String literals in the .gfo file are UTF-8 encoded in generateModuleCode,
just before the call to prGrammar (which uses compactPrint, which used words).
The real solution would be to pretty-print the grammar to Unicode, and then
encode as UTF-8. The problem with that is Latin-1 identifers. They are now
kept in Latin-1 in the .gfo file, since Alex can't handle Unicode.
The real solution to that would be to fix Alex to handle Unicode, but
that is non-trivial. GHC interally uses a very hacky .x file to be
able to lex UTF-8 source files.
An alternative solution that doesn't address the weirdness of using two different
encodings in the same .gfo as we do now, is to incorporate compactPrint
into the grammar printer, to avoid having to do any postprocessing.
2008-09-15 12:38:37 +00:00
aarne
994c2f349f
moved Symbol and Symbolic to new places to eliminate mathematical in next-resource
2008-09-13 10:39:18 +00:00
aarne
c3ea6a7399
reimplemented Combinators with Constructors in next-resource
2008-09-13 10:18:52 +00:00
aarne
04e8c2458e
"quello" in next-resource Italian corrected
2008-09-13 09:38:41 +00:00
aarne
ffc93ff544
removed inheritance of Numerals in Syntax, added Combinators (for all langs now)
2008-09-13 06:33:42 +00:00
aarne
219eab4c1f
completing resource api with things needed in WebALT
2008-09-12 22:31:13 +00:00
bjorn
1c16b6b6e2
Somewhat nicer gwt client ui style.
2008-09-12 21:07:14 +00:00
bjorn
75b0279a11
GWT client now has the same func
2008-09-12 11:47:41 +00:00
bjorn
ddd4d418c0
server: changes lang field to name
2008-09-12 11:32:30 +00:00
bjorn
9cebc28e8e
Update gf-client.html with new gf.fcgi output types.
2008-09-12 11:14:02 +00:00
bjorn
a282f868bc
Change JSON structures returned by the translation server to always be arrays of objects.
2008-09-12 11:05:38 +00:00
bjorn
78a86d6092
translation server: added limit argument to /complete.
2008-09-12 10:13:16 +00:00
bjorn
585368e003
Started working on Google Web Toolkit version of translation server ui.
2008-09-12 10:03:12 +00:00
bjorn
f5d3c17777
Fix binary-dist to include gfc and exclude compiled grammars, since the latter didn't work anyway. NOTE: you must re-run autoconf (actually the previous patch is the one that requires this).
2008-09-11 08:35:17 +00:00
bjorn
257636ec21
Remove old editor shell script and configure stuff.
2008-09-11 08:30:29 +00:00
bjorn
b2e874b057
Change version number in configure.ac to 3.0-beta2 too.
2008-09-10 12:48:34 +00:00
bjorn
f772cded9e
Added temporary completions button to AJAX translation UI.
2008-09-10 11:57:00 +00:00
bjorn
3f4d79eba1
Note about deleting /tmp/fcgi_ipc
2008-09-10 11:55:10 +00:00
bjorn
a49362f225
missing sudo in erver README
2008-09-10 11:52:45 +00:00
krasimir
23f2f0ae00
bump version number to beta2
2008-09-10 09:59:50 +00:00
krasimir
2d6e7ad625
print the search path when we can't find a module
2008-09-10 08:55:16 +00:00
bjorn
a16bb8b40d
mod_fastcgi installation instructions in src/server/README
2008-09-10 08:44:18 +00:00
bjorn
6dbc576426
Note that Apache must be restarted after config changes.
2008-09-10 08:19:50 +00:00
bjorn
26d8a7254d
Fix type error in fastcgi server.
...
I forgot to fix this after I copied the modified FastCGIUtils from morpho-server.
2008-09-10 07:09:44 +00:00
aarne
b764d6e5b0
Make for compatibility
2008-09-09 20:02:19 +00:00
aarne
279c0367d8
better error msg for missing record labels
2008-09-09 19:43:33 +00:00
aarne
e228fc897a
compatibility module for Finnish
2008-09-09 16:30:13 +00:00
aarne
3da1d10eb9
completed IdiomCat to compile api and math
2008-09-09 16:11:05 +00:00
aarne
fa02871525
missing case in param lookup table in GrammartoGFCC
2008-09-09 15:33:56 +00:00
aarne
95866cbe6c
more compatibility modules
2008-09-09 14:06:46 +00:00
aarne
4f560ea668
debug information in GrammarToGFCC
2008-09-09 14:04:37 +00:00
aarne
6f9efe9373
Possessive constructor in Romance: un-record arguments to work around a PGF bug
2008-09-09 13:11:08 +00:00
bjorn
7826a445b0
More info in src/server/README.
2008-09-09 12:38:45 +00:00
bjorn
9e3b3f1bd2
Disable translation on every keystroke, and completion, in the gf FastCGI AJAX client, since it can be too slow.
2008-09-09 12:19:28 +00:00
bjorn
af2dbf293a
Updated JS editor to the latest version from Moises.
2008-09-09 09:32:32 +00:00
aarne
b3af35a88e
show "error" in run interruptibly mode in GFI
2008-09-09 06:58:38 +00:00
aarne
56173a9fdb
enable matching of ++ strings with regular patterns
2008-09-09 06:36:36 +00:00
aarne
5fde12f8f4
compatibility modules started to deal with WebALT grammars
2008-09-08 16:02:05 +00:00
aarne
940f7894ec
added romance in next-resource ; some French determiners and definite articles in other languages to revisit
2008-09-05 16:20:38 +00:00
aarne
da76aa68ff
finnish in next-resource; articles to check
2008-09-05 15:09:30 +00:00
aarne
2bbd5b21e9
updated exx-resource.gft to the new tree structure
2008-09-05 14:56:06 +00:00
aarne
3312bb9dde
fixed new tense structure in next-resourc/demo
2008-09-05 14:38:59 +00:00
aarne
7ab51924dc
carried over Art and Temp changes to next-resource/api/Constructors
2008-09-05 13:51:59 +00:00
aarne
7d82132b9e
Temp = Tense + Ant in next-resource
2008-09-05 13:27:56 +00:00
aarne
98184c5016
starting next-resource by fusing Art and Quant in english and scandinavian; substantival forms added for e.g. possessive pronouns
2008-09-05 13:12:47 +00:00
aarne
efd1b4fb73
capitals in lextext and unlextext; notice that a sentence starting with a proper name now gets lexed with a small letter if lextext is used
2008-09-05 09:21:48 +00:00
aarne
9884983762
convert all values in shell pipes to strings
2008-09-04 09:03:02 +00:00
bjorn
dbe3571fcc
Added --haskell-prefix option for changing the constructor prefix in generated Haskell modules.
2008-09-03 15:42:11 +00:00
aarne
6f42ba8693
simplified the deprecated complex lincat of PredefCnc.Int
2008-09-03 09:45:09 +00:00
peb
8952a626d0
new PGF output format: prolog syntax
...
* output a PGF grammar in prolog readable syntax
* variables in abstract syntax (hypotheses and lambda-abstractions)
are translated to unique logical variables
* PGF terms in concrete syntax are translated to more prolog-like terms
2008-09-03 09:04:09 +00:00
aarne
2efc33329e
treatment of Int: not always PredefAbs but can be PredefCnc
2008-09-03 09:33:37 +00:00
bjorn
27fdc19b20
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
1919fe99a6
gf-server: the readData function given to getData should be m a, not IO a.
2008-08-24 20:44:30 +00:00
bjorn
85bfb64e2a
First (hacky) working version of FastCGI JSON morphology server.
2008-08-24 19:31:12 +00:00
bjorn
f8487ec6b9
Move CGIError stuff to FastCGIUtils.
2008-08-24 19:12:44 +00:00
bjorn
646bf9c4d8
URL decode text input in fastcgi server, including %uXXXX sequences.
2008-08-24 17:39:24 +00:00
aarne
9a29d50763
fixed unstressed e in Swedish fifth declension
2008-08-24 15:35:06 +00:00
bjorn
2ffc138e52
Overload mkAdv in TrySwe.
2008-08-24 14:53:45 +00:00
bjorn
f246747496
Completed SISR 1.0 support (untested).
2008-08-24 14:53:21 +00:00
bjorn
c42e4c0690
Export modifyFlags and modifyModuleFlags from GF.Infra.Options.
2008-08-24 14:52:49 +00:00
bjorn
b8fae8f5a4
Re-enable Catalan in the server demo grammar.
2008-08-24 10:19:44 +00:00
jordi.saludes
65cf602ce8
Words added in Cat.
...
Some verbs in LexiconCat are defined as regular by default. TODO: put the right one in BeschCat.
2008-08-23 22:19:04 +00:00
jordi.saludes
7d0fa02081
make bread_N in Cat irregular.
2008-08-23 15:19:39 +00:00
aarne
dd839fa867
updated gf-bibliography
2008-08-23 16:34:42 +00:00
aarne
e8e95e140c
removed repeated CPU time printing in GFI
2008-08-23 15:35:39 +00:00
aarne
65e92e6dab
infForm added to Catalan ; debugging alternative in PGF generation
2008-08-23 14:26:34 +00:00
aarne
976b73d4c9
error fix in Constructors documentation
2008-08-22 14:32:42 +00:00
bjorn
c80538e068
Added target for building translation server grammar for LangX.
2008-08-23 10:33:16 +00:00
bjorn
45ab3ea0d9
Added README with build instructions for the fastcgi server.
2008-08-22 13:16:31 +00:00
bjorn
0e80a79e1d
Don't include DemoCat in server example grammar, since some parts are missing.
2008-08-22 13:15:51 +00:00
bjorn
849c146973
UTF8 encode all generated XML.
2008-08-22 09:47:42 +00:00
bjorn
acf1a17268
In GF.Compile.Export, output file name extensions should not have double dots.
2008-08-22 09:27:44 +00:00
bjorn
440d9c49b9
Renamed the gf3 executable to gf in GF.cabal
2008-08-22 08:45:40 +00:00
bjorn
243bd895e4
Added srgs_xml_nonrec output format.
2008-08-22 08:43:58 +00:00
bjorn
b73f03b366
Removed Overload modules from GF.cabal.
2008-08-22 07:18:34 +00:00
bjorn
921798bc2a
Added target to lib/resource/Makefile for building a tarball of the compiled resource library.
2008-08-22 07:06:07 +00:00
aarne
090d30c26b
peace grammars patched to work with the new API
2008-08-20 07:14:20 +00:00
aarne
b962c3a0d3
alternative prtType to help debugging overload resolution errors
2008-08-20 06:44:58 +00:00
aarne
cff2b7ff7f
removed the obsolete Overload modules
2008-08-19 13:54:25 +00:00
bjorn
a16b87f441
Use overloaded API in peace keeping grammar. Still not compiling, "no instance of mkS for Cl among ... Cl ... ?"
2008-08-19 14:35:45 +00:00
bjorn
7616c2ea23
removed some dead code from gflib.js
2008-08-19 14:08:02 +00:00
bjorn
5477222a4d
tweak ajax client html
2008-08-19 12:40:17 +00:00
bjorn
c43e5bf979
First version of ajax / fastcgi interface with completion.
2008-08-19 12:29:31 +00:00
bjorn
07e0449132
Remove src/server/grammar.pgf from the repo, use 'make food' if you want it.
2008-08-19 08:14:22 +00:00
bjorn
9f9bb2d5b7
Added parse and linearize functions to the fastcgi server. Some refactoring.
2008-08-19 08:13:51 +00:00
aarne
1510e08209
qualified a pattern in Constructors, preventing it to be taken as a variable
2008-08-19 07:56:21 +00:00
bjorn
6d0cdf3cda
Fix order in the cncnames list in unionPGF. It was made in reverse.
2008-08-19 07:40:45 +00:00
bjorn
6856723e48
Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter.
2008-08-18 20:56:30 +00:00
bjorn
8767009f7e
Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested.
2008-08-18 20:28:22 +00:00
bjorn
33b71088ec
AJAX translator: update translation when the from or to language is changed.
2008-08-18 20:26:52 +00:00
bjorn
591c44f05b
Some peacekeeping clean-up, still far from compiling.
2008-08-18 20:22:25 +00:00
bjorn
018b8e2f0d
Include all languages in the demo pgf for the fastcgi server.
2008-08-18 20:21:02 +00:00
bjorn
ca667318cf
Sort languages in fastcgi /languages output.
2008-08-18 20:20:32 +00:00
bjorn
6360d3f473
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
4925580877
When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing.
...
The old code was brittle, and only converted strings in the lins and opers, not in printnames and parsers. The old code also double encoded some grammars when using gfc to combine PGF files.
2008-08-18 12:34:56 +00:00
bjorn
ae90af3211
Updated AJAX translator to make use of canParse and the fixed parseAllLangs.
2008-08-18 09:38:21 +00:00
bjorn
686dd71041
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
78cd216243
Added canParse function to the PGF API. Make parseAllLang and parseAll skip languages which don't have parsers, instead of always throwing exceptions when some language is missing a parser.
2008-08-18 09:26:24 +00:00
bjorn
5e1836d4f9
Added languageCode function to the PGF API.
2008-08-18 09:25:43 +00:00
bjorn
7743fee09c
Removed spurious lin foo = bar in DemoEng.
2008-08-18 08:58:11 +00:00
bjorn
c9983ac6b5
Updated resource grammar fle list in GF.cabal
2008-08-18 08:47:39 +00:00
bjorn
95cdaaf4c4
gfc can now combine PGF files.
2008-08-15 21:10:54 +00:00
bjorn
0f51f5187c
Added peacekeeping example back in. Doesn't compile yet.
2008-08-15 20:21:12 +00:00
aarne
65a25ad181
bronzeage grammar restored except for three ones with issues ; arabic transliteration added
2008-08-16 18:55:28 +00:00
aarne
b1b2e6766d
workaround in Spanish and French for a pgf compiler issue showing in pronArg
2008-08-16 12:29:04 +00:00
aarne
20fe8a8c20
improved error message in pgf compilation to help debugging
2008-08-16 12:27:59 +00:00
bjorn
e2f5add011
Added Makefile for fastcgi server.
2008-08-15 20:33:04 +00:00
bjorn
e121f8f4cf
Qualify PGF import in fastcgi server, to avoid hiding Language, which breaks with older cgi versions.
2008-08-15 20:31:23 +00:00
aarne
7df3c6ec72
numerals demo on the web
2008-08-15 15:28:09 +00:00
aarne
f56ad59698
examples of morphological synthesis/analysis as top-level grammars
2008-08-15 12:41:04 +00:00
bjorn
c00007c49e
Added a basic stylesheet for the js and ajax translators.
2008-08-15 11:46:36 +00:00
bjorn
310d7cc63a
JS translator: fixed typo, before a ul was produced instead of an li
2008-08-15 11:28:41 +00:00
bjorn
a4bc886a31
First working version of the AJAX translation client.
2008-08-15 11:14:13 +00:00
bjorn
c32be3e827
Change JS translation to replace existing output when a new translation is done.
2008-08-15 10:53:59 +00:00
aarne
8719bb9530
typo in AllHin corrected; excluded ReflA2 in Demo (not needed in concretes any more)
2008-08-14 20:30:17 +00:00
aarne
5368b95a45
added linearization of john_PN - hope it's right
2008-08-14 20:29:21 +00:00
aarne
1302960992
forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance)
2008-08-14 20:25:52 +00:00
bjorn
5939be16b8
Refactor js translator to be able to share some code with the ajax version.
2008-08-14 18:51:06 +00:00
bjorn
b8de42f050
Started working on an AJAX client for the fastcgi server.
2008-08-14 15:56:52 +00:00
bjorn
f29fac369e
Added /cats and /langs to fastcgi server.
2008-08-14 15:56:38 +00:00
bjorn
ca5a30b3f7
Print gf commands in Make.hs for debugging purposes.
2008-08-14 15:25:05 +00:00
aarne
0caebe9092
removed optStr from IdiomEng
2008-08-14 14:21:42 +00:00
aarne
ac6b028b1b
changed startcat from Phr to S in Demo
2008-08-14 14:17:27 +00:00
bjorn
4792a92eb5
Better error handlig in the GF FastCGi server.
2008-08-14 12:08:38 +00:00
bjorn
38d37c4149
Added first version of the GF FastCGI server.
2008-08-14 09:06:26 +00:00
bjorn
3aee461ec0
Added startcat flag to Demo.gf
2008-08-14 08:07:24 +00:00
bjorn
5245c1e2b7
Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them.
2008-08-14 07:58:04 +00:00
bjorn
664bc8f534
Added .PHONY to lib/resource/Makefile
2008-08-14 07:57:50 +00:00
bjorn
f43f756edb
Remove superfluous DemoI.gf.
2008-08-14 07:56:41 +00:00
bjorn
a709c654d1
Remove src/module-structure.txt, it's about the restructuring in GF 2.2.
2008-08-14 07:14:22 +00:00
bjorn
b296099441
Include concrete syntax flags in generated JS.
2008-08-13 12:08:11 +00:00
bjorn
538f173447
Added missing translator.js
2008-08-13 11:11:25 +00:00
bjorn
d43f3e7f5d
Add language selectors to JavaScript translator.
2008-08-12 20:13:41 +00:00
bjorn
d836aac9cd
First working JavaScript translator.
2008-08-12 19:35:27 +00:00
bjorn
03660714f1
Use Food grammar as the example grammar.js.
2008-08-12 19:35:05 +00:00
bringert
56adb8b8cd
Compile AllX.gf instead of LangX.gf.
2008-08-12 18:43:13 +00:00
aarne
c90a558b2a
fixed bugs in AllFin so that it now compiles
2008-08-12 16:13:53 +00:00
bringert
24e609189f
Started working on a JavaScript translator.
2008-08-12 15:56:24 +00:00
bringert
b99256ca9a
Use conjunctDistrTable in ExtraGer.ConjVPI to get it to compile.
2008-08-12 15:22:42 +00:00
bringert
12ea512bdf
Use the .s field of .c2 fields in ExtraScand instead of plain .c2 to get it to compile.
2008-08-12 15:15:06 +00:00
bringert
636300cc09
Replace use of DetSg by DetArtSg in ExtraFin.PartCN to get it to compile.
2008-08-12 15:14:26 +00:00
bringert
42efbabaa6
Rename all Language.gf to AllLan.gf to be able to build them automatically.
2008-08-12 15:12:54 +00:00
bringert
9cf67b6313
Some clean-up in the resource lib build system.
2008-08-12 14:28:31 +00:00
bringert
d5a7595e7f
gfc command now looks for gf executable in the same directory
2008-08-12 14:11:17 +00:00
aarne
9829a67c70
ported numerals to GF3 and encoded in UTF8; some problematic ones in todo
2008-08-04 18:26:48 +00:00
aarne
9123d76a76
corrected links in index
2008-08-04 18:17:41 +00:00
krasimir
e6936b5f8b
tiny fragment of Turkish
2008-07-30 06:39:07 +00:00
bjorn
48e1ff8b3c
russian: possesive pronouns don't get inital n after prepositions
2008-06-30 18:13:19 +00:00
krasimir
c52d1074c4
change the path from resource-1.4 to resource in cabal
2008-06-28 08:41:48 +00:00
aarne
d63e15d13b
new tramdemo link
2008-06-27 18:31:38 +00:00
bjorn
ff80576666
Don't build lib twice in make binary-dist.
2008-06-27 18:16:46 +00:00
bjorn
99762c4bbc
Build gfdoc in binary-dist, since the tarball includes it.
2008-06-27 18:15:27 +00:00
bjorn
428d92eac0
Set charset to utf-8 when printing html code. This is needed to get Safari to display resdemo.html correctly.
2008-06-27 18:14:19 +00:00
bjorn
7d9a48788d
Drop java-related stuff from Makefile.binary.
2008-06-27 18:02:54 +00:00
bjorn
c1c125d1b1
Changed version number in configure.ac.
2008-06-27 18:02:05 +00:00
aarne
0970b3f5cf
final adjustments in doc
2008-06-27 17:54:04 +00:00
aarne
432b6c02c9
finishing doc
2008-06-27 17:50:46 +00:00
aarne
a2dbdb0163
updated readme and install
2008-06-27 17:34:17 +00:00
aarne
ce95305918
rm obsolete download file
2008-06-27 17:11:54 +00:00
aarne
415082e88d
tiger binary
2008-06-27 17:10:44 +00:00
aarne
c093252d20
file names in download index
2008-06-27 16:54:21 +00:00
aarne
070d198e7e
added api/Combinators for Eng
2008-06-27 16:48:28 +00:00
aarne
9aaf53dba1
documentation almost up to date
2008-06-27 14:43:05 +00:00
aarne
333480388f
documentation written; some weird constructors excluded from demo
2008-06-27 14:14:01 +00:00
aarne
54a12c6937
updated synopsis, removed GF/devel/
2008-06-27 11:59:03 +00:00
aarne
a73caec804
more rm in doc
2008-06-27 11:32:49 +00:00
aarne
21c84a0a96
rm old tutorials
2008-06-27 11:27:40 +00:00
aarne
b36365e9e7
more rm in doc
2008-06-27 11:27:00 +00:00
aarne
14aabd1a4a
more obsolete doc rm'd
2008-06-27 11:22:51 +00:00
aarne
c878a7561c
removed obsolete items from doc
2008-06-27 11:21:49 +00:00
krasimir
62bca15468
change the version number to beta in cabal
2008-06-27 10:46:21 +00:00
krasimir
bff0a96b0b
the shell now supports cp1251 coding with se command. works with the word completion as well
2008-06-27 10:33:46 +00:00
aarne
9fbe3cbcd3
took away old-examples
2008-06-27 09:18:50 +00:00
aarne
ae83ab19ed
version-related changes in Makefile and help
2008-06-27 09:09:29 +00:00
aarne
ba6407cacd
interrupt in proper place in GFI
2008-06-27 06:50:50 +00:00
aarne
7bf0ea6bf1
hacks to make Arabic compile on GF3
2008-06-27 06:44:34 +00:00
aarne
334394f3ea
debugging arabic
2008-06-26 21:40:21 +00:00
aarne
d1a491653c
removed Transfer interpreter
2008-06-26 21:05:50 +00:00
aarne
7ff344ae5b
removed transfer from gf3
2008-06-26 21:05:01 +00:00
aarne
4a9bc587a5
moved interruption to GFI level to capture all commands
2008-06-26 21:01:51 +00:00
aarne
9d909f32cf
fixed decodeUTF8 for pgf; removed old resources from darcs
2008-06-26 19:41:25 +00:00
aarne
544fc47489
oops, forgot add Coding
2008-06-26 18:48:28 +00:00
aarne
7f9a0cdd34
uniform encoding: gfo and pgf in UTF8, internal in unicode
2008-06-26 16:35:45 +00:00
aarne
712717e461
utf8 adjustments
2008-06-26 06:52:01 +00:00
bjorn
75c08292e3
Changed src-3.0 to src in GF.cabal
2008-06-25 18:29:21 +00:00
bjorn
83318d0757
Include coding flag in .gfo files.
...
Because the PGF file gets all the flags from the GFO file automatically, we get the coding flag in the PGF file too. This is undesirable, since PGF is supposed to always by in UTF-8.
2008-06-25 18:14:45 +00:00
aarne
5fcd5c4f73
added a slot for Urdu in Text.Transliterations
2008-06-25 17:42:19 +00:00
bjorn
475e1ea4d9
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
aarne
edda3db1b5
resource gold standard in UTF8, since test output is also
2008-06-25 17:25:30 +00:00
aarne
15d44712f6
removed JavaGUIs from src
2008-06-25 17:05:19 +00:00
bjorn
4e5c83fa74
quote stirng in getDataDir as generated by make today
2008-06-25 17:20:16 +00:00
aarne
c5c6d13546
changed names of resource-1.3; added a note on homepage on release
2008-06-25 16:54:35 +00:00
aarne
7d721eb16e
removed src for 2.9
2008-06-25 16:43:48 +00:00
aarne
7e0c2c3656
Updated version numbers for 2.9f (final 2.9).
2008-06-25 16:34:50 +00:00
aarne
8c21f4ccc2
a new example in exx-resource
2008-06-25 10:14:06 +00:00
bjorn
408aa5b608
russian added operation for adding n prefix to pronouns after prepositions.
2008-06-25 14:16:09 +00:00
bjorn
7dd461ab15
russin: noun declesion 10: small animals
2008-06-25 13:54:18 +00:00
bjorn
e6af6c2714
russian: fix neutral adjective-declined nouns
2008-06-25 13:30:05 +00:00
bjorn
d87872f823
russian: no need to import Predef.
2008-06-24 23:16:01 +00:00
bjorn
b14394afdc
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
695fdca35a
russian: more noun paradigm work
2008-06-24 21:22:47 +00:00
bjorn
0554bb1937
Remove lots of ununsed noun stuff from MorphoRus.
2008-06-24 21:21:59 +00:00
bjorn
26aba963e7
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
aarne
2e89af633d
demo prepared
2008-06-24 22:08:54 +00:00
aarne
ed72a2ef79
added default decodings to Make, to enable multilingual utf8 generation
2008-06-24 21:52:07 +00:00
aarne
06eb01ac7e
some fixes in Hindi and Finnish
2008-06-24 20:40:21 +00:00
aarne
a0953a6c94
a method for cloning a file to different languages: Make clone file=FileLLL.gf
2008-06-24 18:26:06 +00:00
bjorn
0b881cb489
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
aarne
3d63d3a966
trying to get the coding flag to work in grammars
2008-06-24 14:31:21 +00:00
aarne
2038b776af
cp1251 coding ; trying to recognize the coding flag in grammar
2008-06-24 13:58:04 +00:00
aarne
c122bc52d8
scandinavian agreement to object
2008-06-24 12:00:40 +00:00
aarne
9945a5b08e
langs option to Make.hs ; utf8 exception in linearization from the coding flag in grammar
2008-06-24 08:35:02 +00:00
bjorn
984c5ecc48
Russian: some refactoring of verb conjugation.
2008-06-23 20:01:47 +00:00
bjorn
6762837d54
Remove prepos2Pl argument to mkN. It is always identical to preposPl.
2008-06-23 18:37:50 +00:00
bjorn
b2fe0d881a
Russian: remove a big chunk of ParadigmsEng which was pasted into ParadigmsRus and commented out.
2008-06-23 18:32:51 +00:00
bjorn
2ab39eb0ee
russian: implement pronMu and pronVu in terms of a common operation
2008-06-23 18:28:05 +00:00
bjorn
e668b6d466
russian: removed preposition o from some prepositional cases. don't understand why it was there.
2008-06-23 18:27:37 +00:00
bjorn
a0da909916
russian: use pronOn to implement pronOno.
2008-06-23 18:06:23 +00:00
bjorn
1bcdd06409
russian: reimplement pronYa and pronTu in terms of a common operation.
2008-06-23 18:01:27 +00:00
bjorn
fac2e5cf13
russin: implement -to pronouns in terms of the base ones.
2008-06-23 17:30:23 +00:00
bjorn
a50c7e3a7c
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
krasimir
8cdad08ad9
remove the comments about the meta variables. They are not relevant anymore
2008-06-23 14:32:55 +00:00
krasimir
893a929c28
typo in the PGF documentation
2008-06-23 14:23:14 +00:00
krasimir
71e3ce5107
added type signature for expr2tree to make it visible for haddock
2008-06-23 14:12:40 +00:00
bjorn
74715f4673
Collapse some unnecessairly expanded cases in the russian morphology.
2008-06-23 13:27:51 +00:00
aarne
f47b1a7487
more demo languages; an entry for demo in Make.hs
2008-06-23 12:59:26 +00:00
krasimir
c140794c98
fix the digits spelling in bulgarian
2008-06-23 12:21:31 +00:00
krasimir
0122ef5889
hfix the definitive article in case of NP with postmodifing AP
2008-06-23 11:13:28 +00:00
aarne
8fe8e8ad8a
html string option
2008-06-23 09:19:21 +00:00
aarne
2a2e985f0e
demo grammars for some new languages
2008-06-23 09:08:31 +00:00
krasimir
133680fe20
the Makefile should generate Paths_gf.hs with GF_DATA_DIR instead of GF_LIB_DIR
2008-06-23 08:53:09 +00:00
krasimir
b3d03db7bd
fix Haskell embedded grammars
2008-06-23 08:48:17 +00:00
bjorn
683a87ad59
SRG generation: start categories etc should be checked after category renaming.
2008-06-22 21:01:38 +00:00
bjorn
6ebf615655
Rename SRG categories after preprocessing, since pp may introduce illegal category names.
2008-06-22 20:28:39 +00:00
aarne
8ffd695a12
gold standard for restest
2008-06-22 19:47:03 +00:00
aarne
fc69b962bc
threaded string operations to strings if given as options to linearize
2008-06-22 19:02:09 +00:00
aarne
f283528094
Finnish negation particle stored in VP for vowel harmony
2008-06-22 18:33:15 +00:00
aarne
29a677730b
facility to compile many modules (needed for old gf and cf)
2008-06-22 16:04:01 +00:00
aarne
7d1ee74958
added -nofun and -nocat options to vt
2008-06-22 14:15:06 +00:00
aarne
16fd61ce00
tree visualization command
2008-06-22 13:07:09 +00:00
aarne
06f3fa8637
prefix and variants restored in linearization
2008-06-22 09:01:32 +00:00
aarne
7a227a136c
fixes in finnish
2008-06-21 20:15:56 +00:00
aarne
2ee2d8d29e
simplified VP lincat in German and Romance
2008-06-21 16:56:18 +00:00
bjorn
8c71cc884b
Added SLF, RegExp and Dot printing to exportPGF.
2008-06-22 12:01:29 +00:00
bjorn
3362b20647
Get GF.Speech.PrRegExp to compile.
2008-06-22 11:58:31 +00:00
bjorn
8c5a5298fe
Added old GF.Speech.PrRegExp back in
2008-06-22 11:56:12 +00:00
bjorn
d617a05a36
Get GF.Speech.SLF to compile in GF 3.
2008-06-22 11:51:53 +00:00
bjorn
0fb3221775
Added old GF.Speech.PrSLF back in
2008-06-22 11:31:06 +00:00
aarne
23793d3353
fixed Scandinavian bugs in exx-resource
2008-06-20 20:42:26 +00:00
aarne
2f8a83b883
added some words to complete resource test
2008-06-20 16:08:22 +00:00
aarne
8e5989362d
restored Makfile and synopsis in 1.4
2008-06-20 14:01:53 +00:00
aarne
6f60b26413
extended api with some IQuant rules
2008-06-20 11:54:37 +00:00
aarne
3d74636d2d
tutorial semantics example works except one rul
2008-06-20 10:38:03 +00:00
aarne
392b11ba78
restored Symbolic in 1.4, moved to mathematical; Int and Float don't work properly
2008-06-20 10:12:50 +00:00
aarne
b0c3dfb213
restored mathematical in 1.4; forgave some lock fields in overload resolution
2008-06-20 09:21:52 +00:00
aarne
a21b4b0e2e
some more words in index-3
2008-06-19 16:25:43 +00:00
krasimir
682ff7040a
yBGLexicon is not part of the distribution -> remove from cabal
2008-06-19 15:05:59 +00:00
krasimir
b7be040be6
move the prelude sources to the prelude directory and add the resource library to cabal
2008-06-19 14:16:05 +00:00
krasimir
0808aa8936
fix the lock fields in MorphoFunsBul.gf
2008-06-19 13:02:48 +00:00
krasimir
c0d22bec2d
split the Exp type to Tree and Expr
2008-06-19 12:48:29 +00:00
aarne
0442d67e8c
system command pipes (sp)
2008-06-18 16:26:12 +00:00
aarne
8201f59aeb
term macro help
2008-06-18 09:14:31 +00:00
aarne
b37db6c880
macros for commands (dc) and terms (dt)
2008-06-18 07:22:30 +00:00
aarne
ae171fc05f
started examples-3.0 with examples that are tested to work
2008-06-17 13:16:15 +00:00
aarne
9c30d94c28
fixed command abbreviations in GFI
2008-06-17 12:34:02 +00:00
bjorn
b2cb675317
Remove "srgs" output format name, use "srgs_xml" instead.
2008-06-17 12:30:19 +00:00
bjorn
dacf248160
Refactor grammar export code.
2008-06-17 12:29:11 +00:00
bjorn
fe6255bf2e
Got GSL generation working.
2008-06-17 12:06:27 +00:00
bjorn
775761a885
Added old GF.Specch.PrGSL back in (still unchanged).
2008-06-17 11:58:51 +00:00
bjorn
b043de5529
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
krasimir
e5969581bc
two more tests are moved to exx-resource.gft
2008-06-17 08:07:30 +00:00
aarne
1379b1a8f6
some more 1.4 functions in russian
2008-06-17 06:55:02 +00:00
aarne
90ed5a2529
Russian in 1.4 - compiles but is incomplete
2008-06-16 21:05:31 +00:00
aarne
937df7382a
moved commands pf and af to options of pg and wf, respectively
2008-06-16 20:36:10 +00:00
aarne
012e07cded
collected resource test examples in exx-resource.gft, which is also used in Make test
2008-06-16 20:13:19 +00:00
bjorn
a0d29773a6
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
f117eb95c3
Handled renaming external SRG categories centrally.
2008-06-16 16:44:33 +00:00
bjorn
c57218d9ba
Added --sisr option for including SISR tags in generated SRGs.
2008-06-16 16:12:17 +00:00
bjorn
395dd70f58
Fix handling of external categories in SRG generation.
2008-06-16 15:49:17 +00:00
aarne
361c6cb096
new languages in resource Make; moved GF-specific stuff from Quiz
2008-06-16 11:15:38 +00:00
aarne
f6ef4e2dfd
interlingua in resource-1.4
2008-06-16 10:09:07 +00:00
krasimir
a62bd0708a
rename reflV to medialV as it is in the paper
2008-06-16 08:59:07 +00:00
aarne
4be8e59c1c
documentation of commands; restriction options to generation
2008-06-15 21:36:41 +00:00
aarne
88a09c4b7e
Thai in 1.4
2008-06-15 19:40:53 +00:00
aarne
3c5346f049
converted Hindi to the revised encoding
2008-06-15 15:55:49 +00:00
aarne
caa0e37c56
commands for displaying transliteration tables
2008-06-15 15:24:11 +00:00
aarne
15c9fada0a
UTF3 coding as ps command options, also -bind
2008-06-15 13:25:22 +00:00
krasimir
49eefbb2ad
QForm is more appropriate parameter than Species in IAdv and IP
2008-06-15 12:38:12 +00:00
krasimir
89bd8eeb74
Switch to indirect questions in ComplVQ & SlashV2Q
2008-06-15 12:12:53 +00:00
krasimir
d9cea4b50d
fix typo: RVocative => RVoc
2008-06-15 11:58:18 +00:00
krasimir
1ab4f13416
add definite forms for IAdv,IDet,IP, etc
2008-06-15 11:23:36 +00:00
krasimir
06b527283e
replace one test case with more meaningful one
2008-06-15 11:13:53 +00:00
krasimir
a3c6fef6ae
fix the command line parser
2008-06-15 09:21:59 +00:00
krasimir
d9cca2146d
fix CleftAdv in bulgarian-1.4
2008-06-15 09:08:14 +00:00
krasimir
6d3331a1c6
ExistIP in bulgarian-1.4
2008-06-15 09:00:58 +00:00
aarne
dba7689977
started new forthcoming web page
2008-06-15 08:45:11 +00:00
aarne
a90e0f8189
corrected imports in DemoEng
2008-06-14 22:23:09 +00:00
aarne
9bf4583a35
parsable demo of resource, without VP
2008-06-14 22:13:35 +00:00
aarne
096c42540e
some more command options and documentation
2008-06-14 15:48:52 +00:00
krasimir
f4aeb1554b
even more testcases
2008-06-15 08:39:51 +00:00
krasimir
7a561ff025
minor fixes in the lexicon
2008-06-15 08:39:24 +00:00
krasimir
20209ce716
completely redesigned VP. Added ReflVP in bulgarian-1.4
2008-06-15 08:35:52 +00:00
aarne
dbfe4c94e4
added syntax and examples fields to command help
2008-06-14 10:02:40 +00:00
aarne
93122ed338
added translation and mophology quizzes
2008-06-14 08:51:13 +00:00
aarne
95c062875c
present version of Make in 1.4
2008-06-14 07:35:58 +00:00
aarne
60a68c5f3d
arabic in 1.4 - something makes compilation get stuck
2008-06-13 20:40:50 +00:00
krasimir
da6330c7b7
fix the syntax convention in DetArtOrd
2008-06-14 07:01:32 +00:00
krasimir
148afd1e01
remove the spec field in PossPron it is redundant
2008-06-14 07:00:53 +00:00
krasimir
e46049aab9
in vocative case don't use definite possesive pronouns
2008-06-14 07:00:22 +00:00
krasimir
e8cc01b9db
the imperatives dojdi and dojdite are archic use the greek ela and elate
2008-06-14 06:58:16 +00:00
krasimir
19ac91fa21
add "na" if possess_Prep is used
2008-06-13 22:41:15 +00:00
krasimir
1ad2aad18f
rename the s2 field in VP and VPSlash to compl
2008-06-13 22:27:59 +00:00
krasimir
9ad1cb5749
fix the imperative forms and the subjRole in SlashVV and SlashV2VNP
2008-06-13 22:12:07 +00:00
krasimir
7e3c02e641
three more tests for SlashVV
2008-06-13 22:06:36 +00:00
krasimir
6f0f9571bc
fix the word order and agreement in SlashV2VNP
2008-06-13 21:09:41 +00:00
krasimir
a9cd62799c
add extra test for the agreement with RelSlash and SlashV2A
2008-06-13 20:34:36 +00:00
krasimir
610574e845
fix the agreement for ClSlash & SSlash
2008-06-13 20:32:33 +00:00
krasimir
7679730d0f
rename the vp variable to slash in ComplVV and ComplV2VNP
2008-06-13 19:43:52 +00:00
krasimir
d4d33fc5ed
fix the object-complement agreement in ComplSlash
2008-06-13 19:43:03 +00:00
krasimir
2166d9ce54
test for known from Janna
2008-06-13 18:23:17 +00:00
krasimir
db2305286f
the verb know is a special case. It doesn't have passive but the adjective izwesten is used instead
2008-06-13 17:44:36 +00:00
krasimir
4f642d0d9e
fix the translation of learn_V2
2008-06-13 15:55:40 +00:00
krasimir
8d13418637
use verbBe instead of verbWould in PassV2 in bulgarian-1.4
2008-06-13 15:54:53 +00:00
krasimir
c3493e1661
fix ImpPl1
2008-06-13 15:44:14 +00:00
krasimir
ccf149caac
yet another of Janna's examples is in the testsuite
2008-06-13 15:42:49 +00:00
krasimir
da6559544e
add some more cases in the testsuite. taken from Janna's examples
2008-06-13 14:27:57 +00:00
krasimir
6080d7f384
fixed the linearization for both7and_Conj and either7or_Conj
2008-06-13 13:57:50 +00:00
aarne
85606ec32b
make with test trees
2008-06-13 12:49:54 +00:00
krasimir
e71b54318f
fix the [AP] construction in bulgarian-1.4
2008-06-13 11:59:32 +00:00
krasimir
0f10ebd23b
fix the word order in SlashV2V
2008-06-12 18:41:33 +00:00
aarne
0113a9cadc
started Make.hs in resource-1.4; api files for all langs
2008-06-13 08:58:00 +00:00
aarne
561fe9a6f8
file name as option in commands
2008-06-12 21:04:16 +00:00
bjorn
6ba502589f
Get JSGF generation to compile. Still untested.
2008-06-12 18:39:02 +00:00
bjorn
a6b8857e09
Add GF.Speech.SRG.isExternalCat
2008-06-12 18:35:25 +00:00
bjorn
f480dd3403
Rename GF.Speech.SRGS to GF.Speech.SRGS_XML
2008-06-12 18:24:26 +00:00
bjorn
3c2e1a15ba
Added unmodified GF.Speech.PrJSGF back in.
2008-06-12 18:19:45 +00:00
bjorn
f231a75b87
Exclude literal categories from generated VoiceXML.
2008-06-12 18:12:43 +00:00
aarne
e783a894bf
added command ps -stringop, with stringop being (un)lexer defined in Lexing
2008-06-12 14:36:03 +00:00
krasimir
e969ea61af
set the bulgarian-1.4 grammar in erasing mode
2008-06-12 13:36:06 +00:00
krasimir
43f8ec9228
fix the tree extractor in the incremental parser to check for cyclic charts and coercion rules.
2008-06-12 13:34:47 +00:00
krasimir
8f8709b9fa
add generation of erasing PMCFG grammars
2008-06-12 13:11:38 +00:00
aarne
9de5012d76
treating Int as PredefAbs.Int in lookup
2008-06-12 13:11:18 +00:00
krasimir
67c43b8251
use import System.Cmd instead of import System. It is in the process package and we already depend on it.
2008-06-11 14:00:04 +00:00
aarne
9a8295c98d
restored the read_file command ; filename must be in quotes (to be fixed?)
2008-06-11 13:18:09 +00:00
aarne
4681aaa11c
system command (!) in gf3 shell
2008-06-11 12:20:42 +00:00
krasimir
3241b03d8a
fix the word order in SlashV2A in bulgarian-1.4
2008-06-11 09:30:38 +00:00
aarne
2c0229f65c
allow spaces between command options; option -treebank in linearize
2008-06-11 09:20:26 +00:00
krasimir
808126fa19
bugfix: the SlashV2A definition was repeated in bulgarian-1.4
2008-06-11 08:51:17 +00:00
krasimir
8742cb7b60
bugfix: wrong case was used in Slash3V3 in bulgarian-1.4
2008-06-11 08:49:59 +00:00
krasimir
d0887407f9
typo - latin a was used instead of cyrilic
2008-06-10 21:24:09 +00:00
krasimir
31b4d5640f
genGenNum operation not needed anymore - remove
2008-06-10 21:23:32 +00:00
krasimir
acd37bec0c
simplified questions in bulgarian-1.4
2008-06-10 20:11:22 +00:00
aarne
59aff851a7
preliminary version of morpho analysis
2008-06-10 16:00:42 +00:00
aarne
613d775a54
release document on gf3
2008-06-10 11:34:16 +00:00
aarne
33263b0b2c
added some functions to overloaded API
2008-06-09 15:54:03 +00:00
aarne
db28875ee4
added common to darcs in resource-1.4
2008-06-09 08:40:09 +00:00
krasimir
3c2f45da85
simplify the determiners in bulgarian-1.4
2008-06-09 07:11:32 +00:00
krasimir
5cf3daf609
fix the do_V2 translation
2008-06-08 11:23:26 +00:00
krasimir
7d9f4337d9
add adverbial form to each adjective in bulgarian-1.4
2008-06-08 11:06:30 +00:00
krasimir
a9ad4dbba6
force the interpreter to flush the output. usefull for the testsuite
2008-06-08 10:35:19 +00:00
aarne
fd6f37032c
sorting command list in Commands
2008-06-08 19:27:20 +00:00
krasimir
ce06bd457e
longname, synopsis and explanation for all commands
2008-06-05 20:48:24 +00:00
aarne
df35188df7
Bulgarian in 1.4
2008-06-05 16:11:36 +00:00
kr.angelov
83cededff9
file name completion for command i
2008-06-05 12:12:44 +00:00
kr.angelov
d970ed5224
fix the error checking in the word completion
2008-06-05 12:00:51 +00:00
kr.angelov
3e15333c41
describe cc,e,ph,q and i in Commands also. Allows word completion
2008-06-05 11:50:24 +00:00
kr.angelov
0841f73b83
remove the wc command
2008-06-05 11:34:29 +00:00
kr.angelov
e54e17e43b
complete word completion in the shell. works for commands, flags, options, abstract syntax identifiers and NL strings
2008-06-05 11:29:08 +00:00
kr.angelov
e94a57e37b
in initState report the error strictly. This allows to catch it easily
2008-06-05 11:26:48 +00:00
kr.angelov
09768534aa
lookParser already returns Nothing if there is no parser. Don't generate error
2008-06-05 11:18:59 +00:00
kr.angelov
0625cbb869
use parser combinators to parse the shell commands. simplified CommandLine type
2008-06-05 07:33:42 +00:00
kr.angelov
4606271031
back to breadth first search. Fixes the the "I am here" bug
2008-06-04 21:49:39 +00:00
aarne
b33b7aa339
finnish who_IP corrected; previous patch was to complete 1.4 for Finnish
2008-06-04 13:51:39 +00:00
aarne
742a7feeea
darcs pull
2008-06-04 13:41:52 +00:00
aarne
869e0563d1
completed German in 1.4
2008-06-04 12:09:14 +00:00
krasimir
0797d5940a
add mtl dependency in cabal. It is used in the speech grammar generation
2008-06-04 09:27:39 +00:00
kr.angelov
ea0ff19423
do the cyrilic trick for Windows in gf3 also
2008-06-04 07:52:12 +00:00
kr.angelov
2db5cddc33
cleanup, document and export the completion API
2008-06-04 07:49:58 +00:00
bjorn
8d4dddfada
Get VoiceXML generation working.
2008-06-03 20:05:52 +00:00
bjorn
783f5a0aec
Added lookPrintName.
2008-06-03 19:56:51 +00:00
bjorn
c334b15abf
Added (still unchanged) GF.Speech.VoiceXML.
2008-06-03 19:34:08 +00:00
bjorn
ea80441b08
Don't suffix start category name with _cat in SRGS XML printing.
2008-06-03 19:33:13 +00:00
bjorn
5dea982489
Added "bnf" output format for debugging.
2008-06-03 19:32:42 +00:00
bjorn
c974ce4345
Added options to support SRG printing.
2008-06-03 19:20:18 +00:00
bjorn
30792a3fa3
Added speech recognition grammar generation code. There is no way yet to invoke the SRG printer, and only SRGS is included.
2008-06-03 18:53:53 +00:00
bjorn
be2e8386a7
Add GF.Data.XML from old source. This is required by the SRGS printer.
2008-06-03 18:53:30 +00:00
kr.angelov
333271dec1
Use readline for word completion
2008-06-03 17:06:45 +00:00
kr.angelov
17e349abd3
add setCompletionFunction in GF.System.Readline
2008-06-03 16:54:59 +00:00
krasimir
cdb1eaf58f
fix conflicts
2008-06-03 16:27:21 +00:00
krasimir
a2f4baa78b
Redesign and opimize the incremental parser
2008-06-03 16:01:48 +00:00
krasimir
1647026506
Hackish version of the incremental parser
2008-06-03 06:59:44 +00:00
aarne
fe2d34f9e1
possible to inherit an overload group without excluding+opening
2008-06-03 11:59:00 +00:00
aarne
757cad383c
eliminated copying of inherited overload branches
2008-06-03 10:06:29 +00:00
aarne
04d8846c95
overload extension: syntax overload OldModule* {def*}
2008-06-03 09:21:24 +00:00
aarne
07c8a4383a
added an argument place to ResOverload for extended overloads
2008-06-01 11:02:02 +00:00
bjorn
b54c5ddb7c
Fixed generated Haskell modules to use only the PGF module.
2008-06-02 15:47:56 +00:00
aarne
174bff70e0
danish and norwegian in 1.4
2008-06-02 15:35:17 +00:00
aarne
41e0ba7f64
Swedish 1.4 complete
2008-06-02 15:22:44 +00:00
bjorn
1a14b51f51
Honor the --name flag when generating output files. Set module name in generated Haskell modules correctly.
2008-06-02 15:32:01 +00:00
bjorn
699cf456cb
Changes lookConcrFlag to return Maybe.
2008-05-30 15:38:35 +00:00
krasimir
356860da00
add the MultiMap module
2008-06-02 10:00:13 +00:00
krasimir
a9d27771db
use MultiMap from the reference implementation instead of GeneralDeduction and RedBlackTree
2008-06-02 08:38:27 +00:00
krasimir
7bab5ed958
Some more documentation
2008-06-02 07:45:45 +00:00
krasimir
e5421e15ea
rename GF.Grammar.Refresh to GF.Compile.Refresh in .caba
2008-06-02 07:34:15 +00:00
aarne
41b10c8035
spanish and catalan in 1.4
2008-05-31 19:32:01 +00:00
aarne
b238539745
Spanish in 1.4
2008-05-31 19:27:05 +00:00
aarne
acdf4c3d10
Italian in 1.4
2008-05-31 19:18:25 +00:00
aarne
063b242905
printing line numbers in rename and check-grammar error messages
2008-05-31 16:30:36 +00:00
aarne
96721de3e3
added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/
2008-05-31 14:40:46 +00:00
aarne
c8898f51bf
sync with laptop version, irrelevant changes
2008-05-29 22:32:58 +00:00
aarne
db1d804e7e
some fixes in pattern matching in Compute
2008-05-27 20:54:31 +00:00
aarne
5d63852680
unforgetting new env after i command
2008-05-30 17:13:38 +00:00
aarne
be33990fa8
LangSwe in 1.4 compiles but is incomplete
2008-05-30 17:11:16 +00:00
aarne
e58a01f1c8
error recovery in rename and check grammar: report all errors in a module before terminating
2008-05-30 16:45:48 +00:00
aarne
ac9ce7d7e8
started Finnish 1.4
2008-05-30 09:39:29 +00:00
bjorn
aa010a84bd
Refactor GFI to treat command line files and the i command uniformly. Disable CSE by default in GFI.
2008-05-30 15:20:28 +00:00
bjorn
bec9d06fae
Change setOptimization to produce Options, not a function over Options.
2008-05-30 15:20:09 +00:00
bjorn
7b52464a92
Added setOptimization function to GF.Infra.Options. I will need to do similar things for other options.
2008-05-30 13:56:50 +00:00
krasimir
3f3188a430
cleaned up and documented PGF API
2008-05-30 13:07:11 +00:00
krasimir
56c34b5dd8
replace GFCC with PGF in (almost) all places
2008-05-30 11:15:33 +00:00
krasimir
587eed4eaa
change the PGF.Data.Exp type
2008-05-30 09:10:28 +00:00
krasimir
3d2ce9216d
don't need SyntaxTree anymore. Use PGF.Data.Exp directly
2008-05-30 07:23:00 +00:00
krasimir
3f2f0d1bea
change the library root namespace from GF.GFCC to PGF
2008-05-29 17:55:05 +00:00
krasimir
cb374f5617
drop the GF.Command.* dependencies in the library
2008-05-29 16:53:24 +00:00
aarne
a65be9ef42
fixing number of interrogatives in English Structural
2008-05-29 16:16:19 +00:00
krasimir
f116071ce5
drop the dependency to GF.Infra.PrintClass from the Library
2008-05-29 15:15:00 +00:00
krasimir
12538e8f2a
rearrange the other-modules field
2008-05-29 12:40:32 +00:00
krasimir
9d52772d86
move the parsing related stuff to GF.GFCC.Parsing
2008-05-29 12:38:09 +00:00
krasimir
7fc0aec243
move GF.Parsing.FCFG.PInfo to GF.GFCC.BuildParser and rename FCFPInfo to ParserInfo
2008-05-29 12:27:26 +00:00
krasimir
97569244af
move GF.Formalism.FCFG types to GF.GFCC.DataGFCC
2008-05-29 12:08:45 +00:00
krasimir
687173736c
simplify FSymbol type
2008-05-29 11:43:28 +00:00
krasimir
ce03503702
Simplify the Input type. Remove Edge and use only Range type
2008-05-29 11:20:40 +00:00
krasimir
ad62be0dde
remove Symbol type
2008-05-29 11:00:21 +00:00
krasimir
a8acdd5cc5
simplify the Profile type and remove the NameProfile type
2008-05-29 10:55:34 +00:00
aarne
99889b54c8
removed extra subex in suffixOptimize
2008-05-29 09:51:37 +00:00
aarne
10264a1d13
type computed in table T [...]
2008-05-29 08:23:23 +00:00
bjorn
ea17e2678b
Only print \n instead of CPU time in putPointE when printing the text message. This avoids printings lots of empty lines in silent mode.
2008-05-29 08:06:56 +00:00
bjorn
972df6996f
Copy startcat flag to .gfo file.
2008-05-29 08:01:55 +00:00
krasimir
d55f529a6e
if optShowCPUTime is off just print \n in putPointE
2008-05-29 07:34:29 +00:00
bjorn
0a0412c036
Oops, inverted meaning of optBuildParser.
2008-05-28 19:56:12 +00:00
bjorn
22a165c266
Some printing / verbosity fixes.
2008-05-28 15:56:37 +00:00
bjorn
a1944cd308
Added GF.Infra.GetOpt to GF.cabal
2008-05-28 15:56:25 +00:00
bjorn
c7b016c07d
Switch to new options handling.
...
This changes lots of stuff, let me know if it broke anything.
Comments:
- We use a local hacked version of GetOpt that allows long forms of commands to start with a single dash. This breaks other parts of GetOpt. For example, arguments to short options now require a =, and does not allo pace after the option character.
- The new command parsing is currently only used for the program command line, pragmas and the arguments for the 'i' shell command.
- I made a quick hack for the options for showTerm, which currently makes it impossible to use the print style flags for cc. This will be replaced by a facility for parsing command-specific options.
- The verbosity handling is broken in some places. I will fix that in a later patch.
2008-05-28 15:10:36 +00:00
krasimir
449cfc1e49
move GF.Conversion.SimpleToFCFG GF.Compile.GenerateFCFG
2008-05-28 08:35:31 +00:00
aarne
03741b01bb
prepare for optimizing tuple pattern matching
2008-05-27 14:02:26 +00:00
aarne
0eee20a064
showing labelless table values in cc
2008-05-26 16:08:31 +00:00
aarne
2488caab69
also lookup in concrete in cc
2008-05-26 15:54:03 +00:00
aarne
a253fa2375
printing options for source GF terms defined in API and used in cc command
2008-05-26 14:50:17 +00:00
aarne
089b930d7c
getting started with overloaded API for 1.4; some determiner syntax missing
2008-05-26 14:06:56 +00:00
aarne
6d0adbb2cb
started source grammar API ; used it for a first implem. of cc command
2008-05-24 16:13:27 +00:00
aarne
f1fd6260e0
support for source gr and i -retain in GFI env
2008-05-24 09:16:59 +00:00
aarne
51e1e55005
reformulation of ResHin
2008-05-24 08:13:08 +00:00
aarne
472f6ed14f
interpret "foo bar" as ["foo bar"], silently
2008-05-24 08:03:42 +00:00
aarne
f4bafe3d5a
sort records so that s field is first (use Macros.sortRec)
2008-05-24 07:44:16 +00:00
aarne
a57a74608c
temporary work-around of gfcc generation bug in resource-1.4 grammars
2008-05-24 07:18:34 +00:00
aarne
009f05ea56
IIT updates to Hindi
2008-05-15 11:46:27 +00:00
kr.angelov
e5eda3da55
allow Ctrl+Break in the shell. Works on Windows too.
2008-05-23 15:16:28 +00:00
kr.angelov
64e31a1838
use the version number from Paths_gf
2008-05-23 14:37:39 +00:00
aarne
f21af43453
debugging gfcc compilation
2008-05-23 14:10:31 +00:00
kr.angelov
35d5c62dc9
Lets Makefile generate Paths_gf
2008-05-23 14:16:42 +00:00
kr.angelov
09ac56f6f1
package posix is actualy unix :-)
2008-05-23 14:15:53 +00:00
kr.angelov
745fbeb3bc
readline configuration for Cabal
2008-05-23 13:29:33 +00:00
kr.angelov
7f244c9a73
Remove GF.Today and use the autogenerated Paths_gf from Cabal
2008-05-23 13:19:24 +00:00
kr.angelov
25d3602a15
add Cabal description for GF
2008-05-23 13:12:11 +00:00
kr.angelov
7f1cde91df
remove the deprecated RP constructor in GFCC
2008-05-23 09:54:02 +00:00
bjorn
1408674411
Get rid of the 'f' type parameter to the module types.
...
This was only ever instantiated with Option, and made it diificult to change the options type.
2008-05-23 08:47:07 +00:00
bjorn
67b5eecba7
Set version number in configure.ac to "3.0-alpha". You need to rerun autoconf and configure to have this take effect.
2008-05-23 06:53:29 +00:00
bjorn
2c19600a17
Added GF.System.Readline and related modules back into src-3.0.
2008-05-23 06:31:52 +00:00
kr.angelov
141b7b0792
remove some more empty directories
2008-05-22 15:50:07 +00:00
kr.angelov
c142b4a143
move GFCCtoHaskell and GFCCtoJS to GF.GFCC.*
2008-05-22 15:47:15 +00:00
kr.angelov
01e9027bb5
move GF.Devel.TC and GF.Devel.TypeCheck to GF.Compile.*
2008-05-22 15:43:25 +00:00
kr.angelov
c0f7b0695e
move GF.Devel.PrintGFCC to GF.GFCC.PrintGFCC
2008-05-22 15:41:17 +00:00
kr.angelov
60a3390173
GF.Devel.ModDeps is removed. The only used function is moved to GrammarToGFCC
2008-05-22 15:32:31 +00:00
kr.angelov
bbec9e5577
remove GF.Devel.PrGrammar and use GF.Grammar.PrGrammar instead
2008-05-22 15:23:56 +00:00
kr.angelov
26e01f27be
move GF.Devel.OptimizeGF to GF.Compile.OptimizeGF
2008-05-22 15:04:25 +00:00
kr.angelov
01ad6bd642
move GF.Devel.UseIO to GF.Infra.UseIO
2008-05-22 14:58:44 +00:00
kr.angelov
27d501b1cb
move GF.Devel.ReadFiles to GF.Compile.ReadFiles
2008-05-22 14:51:08 +00:00
kr.angelov
435e215f22
move GF.Devel.GrammarToGFCC to GF.Compile.GrammarToGFCC
2008-05-22 14:46:18 +00:00
kr.angelov
e267c7a8b9
move GFC and GFI
2008-05-22 14:39:16 +00:00
kr.angelov
2cd5f71178
move GF.Devel.GF to GF
2008-05-22 14:32:49 +00:00
kr.angelov
d696512b15
move GF.Devel.Compute to GF.Compile.Compute
2008-05-22 14:31:36 +00:00
kr.angelov
01d61d9347
move GF.Devel.CheckGrammar to GF.Compile.CheckGrammar
2008-05-22 13:15:45 +00:00
kr.angelov
26fd8848c6
move GF.Devel.Optimize to GF.Compile.Optimize
2008-05-22 13:09:08 +00:00
kr.angelov
3a8fd6802a
move GF.Devel.GetGrammar to GF.Compile.GetGrammar
2008-05-22 13:05:12 +00:00
kr.angelov
0df428f676
move GF.Devel.Compile and GF.Compile.API to GF.Compile
2008-05-22 12:57:33 +00:00
kr.angelov
3df4c21879
get rid of GF.System.Arch only one function from it was actually used
2008-05-22 12:39:13 +00:00
kr.angelov
fc42d8ec3b
remove all files that aren't used in GF-3.0
2008-05-22 11:59:31 +00:00
aarne
d78e8d5469
Makefile harmonization
2008-05-22 08:58:36 +00:00
aarne
d705e731b8
restored readline
2008-05-22 07:38:41 +00:00
kr.angelov
bc2e5bfc4c
further optimization by unpacking the ByteString in Ident
2008-05-21 19:51:52 +00:00
kr.angelov
8a595fc51f
fix typo
2008-05-21 19:51:24 +00:00
kr.angelov
10da6804ed
remove the -prof flag from Makefile
2008-05-21 19:49:49 +00:00
kr.angelov
8f60a0f50c
add GF.Source.SharedString
2008-05-21 13:35:26 +00:00
kr.angelov
0017a06162
add the missing GF.Grammar.Predef module
2008-05-21 13:30:44 +00:00
kr.angelov
314f5cc5e7
use ByteString internally in Ident, CId and Label
2008-05-21 13:10:54 +00:00
aarne
e8bbd458cb
added Readline to GF3 shell (in the same way as GF2, using GFCFLAGS in Makefile)
2008-05-21 09:46:30 +00:00
aarne
2bab9286f1
GF/src is now for 2.9, and the new sources are in src-3.0 - keep it this way until the release of GF 3
2008-05-21 09:26:44 +00:00
aarne
b24ca795ca
some deep java editor sources added
2008-05-20 11:49:50 +00:00
aarne
fda0fe408f
moved all old source code to src-2.9 ; src will be for GF 3 development
2008-05-20 11:47:44 +00:00
bjorn
747965ec22
Fix link to code.haskell.org account request page.
2008-05-13 18:26:46 +00:00
bjorn
e9eeb9cfa4
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
bfa013009c
grammars/health/HealthRus.gf: comment out the linearizations of functions that are commented out in Health.gf. HealthRus now compiles (against resource-0.6).
2008-05-09 12:40:16 +00:00
aarne
047a4f66b8
UTF8 version of Hindi
2008-05-08 21:05:18 +00:00
aarne
b5c11a8cfa
some test verbs in Hindi
2008-05-07 10:31:48 +00:00
aarne
1c00d693ad
ergatives with postpos complements in Hindi
2008-05-07 08:57:07 +00:00
aarne
c4a3cd633e
q
2008-05-06 16:47:44 +00:00
aarne
c78791b62e
ergative predication started
2008-05-06 15:52:12 +00:00
aarne
aefb6fcc23
temporary transcription; first clauses generated in Hindi
2008-05-06 15:15:16 +00:00
bjorn
830358e5ca
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
d96d0f0a6e
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
aarne
d74b784780
Hindi VP
2008-05-05 21:47:42 +00:00
aarne
42c4b9712d
new refs in bib ; some Hindi parameter experiments
2008-05-05 16:45:28 +00:00
aarne
57c84e2cd6
templates for Hindi modules
2008-05-01 21:12:53 +00:00
aarne
d086386bcc
german 1.4 compiles but is incomplete
2008-04-30 13:37:43 +00:00
meza
9f1e3e7b89
JS.cf : Changed the JS grammar to support strings as property names in objects. Changed pretty much all the files in the same folder as well as GFCCToJS.hs and SISR.hs to reflect the changes.
2008-04-29 13:05:24 +00:00
krasimir
50a1381a27
print the "linking..." message when building the GFCC code
2008-04-29 09:44:43 +00:00
krasimir
dd713cf28f
let the putPointE print the time in msec
2008-04-29 09:43:35 +00:00
krasimir
46ef4edf59
remove the obsolete putCPU, putPoint and putPoint' functions
2008-04-29 09:22:57 +00:00
krasimir
b2701fe4e0
add ModEnv to CompileEnv. This removes the need to read one and the same time twice when multiple grammars are loaded.
2008-04-29 09:03:43 +00:00
aarne
6c13446edd
established resource-1.4 and moved contents of resource/exper there
2008-04-28 07:18:02 +00:00
aarne
95c8a5d4f1
resource test as script
2008-04-27 19:37:36 +00:00
aarne
be6aa2b07f
new abstract implemented for exper/french
2008-04-27 19:19:40 +00:00
aarne
9d3f381e71
miniature resource for Latin
2008-04-25 16:20:28 +00:00
aarne
040d92a601
yes and no from Phr to Utt in exper
2008-04-25 15:04:34 +00:00
aarne
2b67b0c9bb
fused Conj and DConj in exper
2008-04-25 06:55:57 +00:00
krasimir
8184dc5512
use cannonicalizePath in getFilePathMsg. This returns an absolute path and removes the .. indirection
2008-04-25 15:53:02 +00:00
krasimir
3aeb52b2b4
completely rewriten readFiles implementation. Much simpler and more efficient
2008-04-25 15:50:54 +00:00
krasimir
3efe9ea55d
use putStrLn instead of print to dump error messages. This avoids the double quotes
2008-04-25 15:49:53 +00:00
aarne
dd85f1ab78
sentence-referring relatives in exper
2008-04-24 16:52:56 +00:00
aarne
ae7192f46f
exper/french compiles but is incomplete
2008-04-24 07:23:50 +00:00
aarne
1008ec8625
restest completed, English ready in exper
2008-04-24 06:33:57 +00:00
aarne
29302378c6
test set for resource started
2008-04-23 20:07:13 +00:00
aarne
137a25fd35
genders in LexiconEng in exper
2008-04-23 11:15:28 +00:00
aarne
c1bd7f2ba1
french in exper started
2008-04-23 07:21:26 +00:00
aarne
ce8466a35a
Noun syntax in exper once again
2008-04-23 07:20:37 +00:00
aarne
8d9bfd9b50
renamed Slash to ClSlash, generalized Refl to VPSlash in exper
2008-04-22 18:16:41 +00:00
krasimir
e332bd6214
fix the System.FilePath import for Posix
2008-04-22 20:06:05 +00:00
krasimir
b5e4b73273
fix complete pattern in isOldFile
2008-04-22 13:09:14 +00:00
aarne
09a82c8abb
made articles and mass syntactic in exper
2008-04-22 12:34:45 +00:00
krasimir
30f221cbb4
gfLibraryPath is actually an environment variable not a file path. Use the current directory instead.
2008-04-22 12:18:39 +00:00
krasimir
2a7c68ad65
move gfLibraryPath and gfGrammarPath to UseIO. Now they are accessible and there is only one place to change if you want to use different envVar
2008-04-22 12:12:29 +00:00
krasimir
e16215940e
use the standard System.FilePath module instead of our own broken file path manipulation functions
2008-04-22 11:39:46 +00:00
krasimir
caa6082b82
isOldFile should use the real lexer instead of "words" this avoids the need for custom unComm function
2008-04-22 08:52:11 +00:00
krasimir
082668f182
Use Happy grammar for imports extraction instead of hand made shallow crapy grammar
2008-04-22 08:33:23 +00:00
aarne
b286c625a4
fixed agreement to deal with Gender in exper/english
2008-04-22 11:00:52 +00:00
aarne
7e29773e50
Gender in English Agr
2008-04-21 15:56:50 +00:00
aarne
65f8120498
simplified Det structure in exper
2008-04-20 10:39:07 +00:00
aarne
c4ae27bb53
nounless determiner NPs added; started Backward module - both in exper so far
2008-04-19 14:34:52 +00:00
aarne
45d2af0eb9
Scandinavian adjustment
2008-04-18 14:14:11 +00:00
aarne
befad125e3
oops Scand
2008-04-18 14:12:51 +00:00
aarne
a41f4407d2
richer extraction syntax
2008-04-18 14:11:36 +00:00
krasimir
1858db942c
Some more ByteString related chandes in GF2
2008-04-17 13:22:10 +00:00
krasimir
4a8346086d
ByteString.readFile should be used instead of readFileStrict. This fixes the problem with the open files
2008-04-17 12:56:46 +00:00
krasimir
07900af066
gf3 should not exit if there is a syntax error in the file
2008-04-17 12:50:51 +00:00
aarne
8583ae40a5
implemented V2? in finnish, german, romance
2008-04-16 15:20:12 +00:00
aarne
c781185e51
added V2V, V2S, V2Q to all langs so that they compile, but not always the Compl rules
2008-04-16 14:12:03 +00:00
aarne
49c7d3221b
restored V2V, V2S, V2Q as categories in RG
2008-04-16 13:41:59 +00:00
meza
04da53c7e8
Changed JS generation to avoid grammar reference files. Removed grammar reference file generation.
2008-04-11 13:52:13 +00:00
bringert
6cf8790989
Added GF.GFCC.Macros.lookStartCat. Changed GF.GFCC:API to use it (before, startCat always returned "S"!). GFCCtoJS has not been changed, Moises will do that.
2008-04-07 15:57:04 +00:00
bringert
a4818eca6d
GF.GFCC.API is for .gfcc, not.gfcm
2008-04-07 15:40:41 +00:00
krasimir
2498fe7ee8
Major refactoring -> lexical aspect; word order in VP
2008-04-05 17:18:47 +00:00
krasimir
da5200f02a
optimized incremental algorithm
2008-03-30 19:57:05 +00:00
aarne
4f966006b6
GF ten years
2008-03-20 09:17:55 +00:00
aarne
f7b3e6d69d
miising ErrM added...
2008-03-18 15:42:51 +00:00
aarne
43d37ddef0
interlingua resource
2008-03-17 13:20:18 +00:00
aarne
3dd5eea49d
merging recent changes in Finnish
2008-03-17 12:46:53 +00:00
aarne
c5268ded64
debugging GFCC generation
2008-03-16 13:42:32 +00:00
aarne
2a314b679d
putting pattern macros in place (not properly tested yet)
2008-03-15 21:02:59 +00:00
aarne
1196bbe21f
fixed bug leading to looping in Devel.Compute
2008-03-15 19:00:09 +00:00
aarne
cccccd5ec1
switched to unmodified BNFC-generated components
2008-03-15 14:53:42 +00:00
krasimir
0d9eb13a53
don't use the countable form for masculine animate
2008-03-15 12:20:06 +00:00
krasimir
ee6caecf51
fix syntax error
2008-03-15 12:15:02 +00:00
krasimir
6c32384f4f
improve the lexicon
2008-03-15 12:13:11 +00:00
krasimir
ab0b9d44fa
added IdiomBul
2008-03-14 17:07:06 +00:00
krasimir
4fcf3bd7f2
whichRP is replaced by suchRP to match closely the English grammar
2008-03-14 16:57:27 +00:00
krasimir
391814208c
GSg Neut seems to be better translation in UttVP
2008-03-14 16:56:11 +00:00
krasimir
15346b984d
the youPol_Pron was in singular by mistake
2008-03-14 16:55:27 +00:00
krasimir
a2b32217b3
added agrP3 function like in the other languages
2008-03-14 16:54:48 +00:00
krasimir
dce027caf8
the dative preposition (naP) should be actually empty
2008-03-14 16:52:12 +00:00
krasimir
9ec69dbe78
fix the translation of die
2008-03-14 16:51:03 +00:00
krasimir
d77c57953c
added kolkoto in the ComparAdvAdjS clause
2008-03-14 16:48:38 +00:00
krasimir
09aebf98ec
SentCN should return gender DNeut
2008-03-13 13:41:02 +00:00
krasimir
d3c79851f1
more appropriate translations for become_VA and everything_NP
2008-03-13 13:39:23 +00:00
meza
2a465eda93
GFCCtoJS.hs: added the full profile to parsing grammars. added linearization definitions for built-in categories Int, Float and String.
2008-03-14 08:29:05 +00:00
krasimir
ff7dc2006a
add the bgoffice import program and the produced dictonaries
2008-03-13 11:18:32 +00:00
krasimir
51288c77eb
completed LexiconBul.gf
2008-03-13 10:49:41 +00:00
krasimir
ceb5f3d110
added some other morpho categories which aren't in the abstract syntax but are used in the lexicon
2008-03-13 10:47:56 +00:00
krasimir
4683e4e0e2
fixed the N2 and N3 representation and added constructor functions
2008-03-13 10:45:22 +00:00
krasimir
4f0126677b
the gender for paradigm 32a is changed to DMascPersonal
2008-03-13 09:20:47 +00:00
krasimir
2834c71138
added some more nouns
2008-03-13 09:19:47 +00:00
krasimir
f056583f37
Reorganize the ParadigmsBul & co modules. Now ParadigmsBul is auto-generated and contains all BG paradigms. The Lexicon is also largely extended
2008-03-13 08:28:30 +00:00
krasimir
418f841625
In UttVP add the transitive verb args
2008-03-13 07:20:03 +00:00
krasimir
e0bffc2797
Use Acc case in ComparA
2008-03-13 07:15:48 +00:00
aarne
b940d06688
nouns with "ut" and superlatives in Finnish
2008-03-12 13:21:37 +00:00
aarne
72891176a7
lincat can now be just Str
2008-03-09 12:17:42 +00:00
aarne
db0456d993
coding flag as pragma in files
2008-03-11 14:37:10 +00:00
aarne
641ac7484f
corrections in new Finnish paradigms
2008-03-10 16:08:23 +00:00
aarne
3cf97a171b
saved old Finnish paradigms for back up
2008-03-07 14:49:01 +00:00
aarne
2994111b95
new Finnish paradigms integrated
2008-03-07 14:47:10 +00:00
aarne
71d3221e12
option -mac to vt command (uses open with ps)
2008-03-06 21:27:14 +00:00
aarne
9779c35b8e
debugging testgf3
2008-03-05 18:59:14 +00:00
aarne
d4f22b01bd
added bnfc-generated testgf3 files
2008-03-01 14:29:47 +00:00
aarne
9dcad11f09
added wiki grammars
2008-03-04 11:56:12 +00:00
krasimir
e434f57eff
added mkVA and become_VA
2008-02-29 15:46:25 +00:00
krasimir
7994a12e1a
add ComplVQ, ComplVA and ComplV2A
2008-02-29 15:35:00 +00:00
krasimir
4b9d76dbe6
fix missing lock_Sub1000 warning
2008-02-29 15:34:05 +00:00
krasimir
aa210a01c3
add AdV category
2008-02-29 15:29:45 +00:00
krasimir
52b2d9e728
added VV category
2008-02-28 14:59:02 +00:00
krasimir
750ecf1ee3
add AdvS and PredSCVP
2008-02-27 22:56:47 +00:00
krasimir
5ac2f432cf
added SlashS
2008-02-27 22:48:51 +00:00
krasimir
ee0942c94c
translations for always and therefore
2008-02-27 22:32:08 +00:00
krasimir
fcfd71009e
added conjugations
2008-02-27 22:21:56 +00:00
krasimir
d320691533
fix spelling
2008-02-27 16:50:38 +00:00
krasimir
16e20df602
added[Cvocative and single word phrases
2008-02-27 16:46:53 +00:00
krasimir
5960838e98
some NP constants
2008-02-27 14:09:44 +00:00
krasimir
b799e7a41b
added Subj constants
2008-02-27 13:42:41 +00:00
krasimir
3fccfd4bef
Add relative clauses
2008-02-27 13:29:05 +00:00
krasimir
0c8a84512e
added AdvNP and ApposCN
2008-02-27 08:45:19 +00:00
krasimir
31a6a99810
The possesive pronouns are changed to be definite by default. added indefinite possesive and reflexive pronouns in extra
2008-02-27 08:42:43 +00:00
krasimir
775c4cc34e
Proper reflexive and medial verbs support together with completelly reworked case system.
2008-02-26 16:59:47 +00:00
bjorn
7cf94a854d
Rename index.html to homepage.html.
2008-02-27 15:13:11 +00:00
bjorn
2332028191
Fix LatestCode link.
2008-02-27 15:12:54 +00:00
bjorn
ff4aea8a1a
Build gf-embed with -O2.
2008-02-26 17:22:38 +00:00
bjorn
4aff65964e
Replace fromJust with fromMaybe + error message when looking up lintype in SimpleToFCFG. This makes problems easier to debug.
2008-02-26 14:00:15 +00:00
bjorn
9aa025007a
Use [Dig] instead of Digits in Time, to avoid commas in English.
2008-02-25 21:24:12 +00:00
bjorn
de23fe7483
Update darcs.html for the code.haskell.org repo.
2008-02-25 15:27:44 +00:00
krasimir
831a2d97ea
add AdvCN
2008-02-23 12:02:09 +00:00
krasimir
bbfb4e981c
added dative case
2008-02-23 11:57:05 +00:00
aarne
4496badef1
sentential adverbs in infinitives
2008-02-22 23:34:22 +00:00
bjorn
ad613cdd67
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
32b783ec85
Added makefile targets for time.
2008-02-21 17:25:47 +00:00
bjorn
2be8bf1814
Added some adverbials to Time.
2008-02-21 16:46:58 +00:00
bjorn
f60e9a4824
Some additions to Time/TimeEng.gf
2008-02-21 16:29:47 +00:00
bjorn
d123ce6b75
Started resurrecting the Time resource.
2008-02-21 15:42:41 +00:00
krasimir
710c0222af
Add AdjectiveBul module
2008-02-22 15:19:58 +00:00
krasimir
fd91674da9
Some more Slash constructors
2008-02-22 14:57:37 +00:00
krasimir
99df330e35
VS category and some of its constructors
2008-02-22 14:56:35 +00:00
krasimir
dd8331ce2b
completed QuestionBul module
2008-02-22 14:10:50 +00:00
krasimir
038bb07c33
IP now depends on the Case, i.e. koi/kogo
2008-02-22 14:08:01 +00:00
krasimir
ec4edf4524
add Slash category
2008-02-22 14:06:14 +00:00
aarne
621d3fdfd1
started a directory of grammars testing testgf3 features
2008-02-22 15:17:50 +00:00
aarne
6621290502
testgf3 in progress; fixed VP type in ExtraEng
2008-02-22 14:16:33 +00:00
aarne
b5f9c484d2
final version of kotus experiment
2008-02-18 18:20:42 +00:00
krasimir
67036682f3
add UttIAdv
2008-02-22 10:47:12 +00:00
krasimir
b1dca38cb5
added IDet and IDetCN
2008-02-22 10:45:30 +00:00
krasimir
67348bf76c
Don't use CommonX because the bulgarian CAdv category differ from the common one. The new CAdv definition is added
2008-02-22 09:33:55 +00:00
krasimir
614fb35c8b
add the AdA functions in StructuralBul
2008-02-22 08:50:00 +00:00
aarne
0f09f6efc5
the place of English AdV corrected
2008-02-21 20:00:17 +00:00
krasimir
177bd14fef
add Adverbs
2008-02-21 17:22:39 +00:00
krasimir
a6291512b6
add SC category
2008-02-21 16:38:24 +00:00
krasimir
caad2dfe02
For Windows change the Console Code Page to the default ANSI code page. This fixes the problem with cyrilic.
2008-02-21 15:58:19 +00:00
krasimir
344d95293a
For Windows get the default GF_LIB_PATH from the executable path
2008-02-21 15:56:09 +00:00
krasimir
7de91c67cc
another translation for less_CAdv
2008-02-21 11:37:10 +00:00
krasimir
9556d0ee34
add NumDigits,OrdDigits,NumInt,OrdInt,AdNum and OrdSuperl
2008-02-21 11:36:07 +00:00
krasimir
05fbf7298f
change the quant and numeral orders in DetPl
2008-02-21 11:35:15 +00:00
krasimir
345570fa5d
add Predet
2008-02-21 11:33:20 +00:00
krasimir
8b2003cd80
add N2, N3 and PN
2008-02-21 11:31:39 +00:00
krasimir
16ce34eee7
remove the genitive case. Instead the pronouns have a separate gen field
2008-02-21 11:27:53 +00:00
aarne
e17235893d
documenting testgf3
2008-02-21 08:04:43 +00:00
krasimir
5330d189ed
partial adjectives support
2008-02-20 17:01:19 +00:00
krasimir
d5c53ccb7e
typo False -> True
2008-02-20 16:58:31 +00:00
krasimir
10ac938d12
rename empty field to nonEmpty and fix the countabled
2008-02-20 16:38:54 +00:00
krasimir
166dafacd1
add plural for numeral "one" and Fem/Neut versions of UttImpSg in ExtraBul
2008-02-20 15:13:31 +00:00
krasimir
512e71d65c
Fix GenNP and add GenNPIndef in ExtraBul
2008-02-20 15:12:22 +00:00
krasimir
0d580d9418
make the numeral-noun inflection the right way
2008-02-20 15:06:29 +00:00
krasimir
9a5563497d
make I, you, who and what pronouns Masc. The Fem and Neut forms are moved to ExtraBul.gf
2008-02-20 11:08:17 +00:00
krasimir
c7862899f2
Use GenNum in the Imp lincat instead of the old ImpF
2008-02-20 10:58:40 +00:00
krasimir
5674e1b931
NDet to Indef
2008-02-19 18:07:58 +00:00
krasimir
a27ca9bcd2
fix spelling
2008-02-19 18:07:37 +00:00
krasimir
d83c281836
formatting
2008-02-19 18:07:19 +00:00
krasimir
07eab287ed
added nominative determiner for numerals
2008-02-19 18:04:48 +00:00
krasimir
f90ba44620
add numerals
2008-02-19 16:42:31 +00:00
bjorn
e494274c07
Treat pre tokens as variants in SimpleToFCFG. This should allow us to parse sentences with e.g. "an".
2008-02-19 22:09:56 +00:00
bjorn
70fae1e9fb
Some work on gf3/gfc command-line options.
2008-02-19 20:59:01 +00:00
krasimir
f3024fa714
rename Dt to Species like in Swedish
2008-02-19 10:32:08 +00:00
krasimir
27df450a26
add experimental incremental parser for FCFG
2008-02-18 16:58:27 +00:00
aarne
c018498aba
using partitive plural in Finnish mkN
2008-02-18 07:15:50 +00:00
bjorn
17ede4013d
Rename gfcats to startupcats in PGF.
2008-02-15 20:13:01 +00:00
krasimir
9fbed17125
fix the singleton selector generation
2008-02-14 12:48:41 +00:00
aarne
9f6dec7f15
bugs in kotus paradigm implementations fixed
2008-02-13 22:01:30 +00:00
aarne
34037dbf3c
kotus experiments; bindings in gfcc
2008-02-13 17:47:54 +00:00
'Moises Meza
c143bd7d10
GFCCtoJS.hs: added new Terminal to parser rules. Added a startcat to the Parser constructor.
2008-02-12 10:08:23 +00:00
bjorn
114f0d1ecc
Use isAlpha instead of isLetter to compile with GHC 6.4. Reported by moises.
2008-02-08 09:20:32 +00:00
aarne
85f17b42a7
kotus paradigms implemented
2008-02-07 16:03:16 +00:00
bjorn
08b9422cba
Added PGF version numbers to GFCC file.
2008-02-07 13:48:41 +00:00
aarne
7894e46cf2
finnish kotus word list
2008-02-07 08:42:08 +00:00
bjorn
6a739a7588
Include parser in JS produced by gf3.
2008-02-06 17:08:50 +00:00
krasimir
c3e4a8b454
add bulgarian language (still incomplete)
2008-02-05 15:54:58 +00:00
bjorn
ff9f224242
Expand higher-order abstract syntax in SimpleToFCFG.
2008-02-05 14:33:22 +00:00
aarne
3e6a60df41
new. more compact tutorial version (also as slides)
2008-02-04 16:34:32 +00:00
aarne
147926b1f5
added some new pattern forms, incl. pattern macros, to testgf3
2008-02-01 22:01:10 +00:00
aarne
72b81987d7
GFCC: TM with argument; fixed labels from bindings in gfc
2008-01-31 20:56:42 +00:00
aarne
db6e1de1ae
gfcc generation with HOAS: var fields appended to records
2008-01-31 16:37:32 +00:00
bjorn
6bddc8df8a
Standard format for floats and strings in GFCC.
2008-01-30 17:18:27 +00:00
bjorn
ec1322afae
Changed GFCC parser format to only include the FCFG rules and the GF cat -> FCFG cat mapping. The other information is very easy to build on the fly.
2008-01-30 16:39:44 +00:00
bjorn
c4d89577f5
Merge AId and App forms in GFCCRaw.
2008-01-29 15:53:50 +00:00
bjorn
89371210eb
UTF-8 encode in printGFCC.
2008-01-28 21:43:04 +00:00
aarne
a57467fd19
finnish updates
2008-01-28 17:41:51 +00:00
aarne
2791eee7ff
gt command in gf3
2008-01-08 12:22:05 +00:00
aarne
c6fa1c3a81
Swadesh verb list in uusisuomi revised
2008-01-07 21:03:05 +00:00
bjorn
88e3894562
Fixed syntax error in ExamplesRus.gf
2008-01-28 17:26:16 +00:00
bjorn
6cc162e83c
GFCCRaw printing: no space in App with no arguments.
2008-01-26 16:46:46 +00:00
bringert
590f095492
Better names for the parsing info components in GFCC.
2008-01-09 13:51:21 +00:00
bringert
a70a170c4b
Change "proj" to "P" in GFCC parse rules to save space.
2008-01-07 21:31:45 +00:00
bringert
91acebea56
Replace BNFC-generated PrintGFCCRaw with smaller hand-written one.
2008-01-07 21:31:05 +00:00
aarne
1fa424ba1c
finnish Swadesh verbs
2008-01-07 15:59:17 +00:00
aarne
1b05ba58b3
fixed bugs in optimization of multiple application
2008-01-06 21:27:26 +00:00
aarne
8fc4b28604
dictionary experiment with Finnish verbs
2008-01-06 21:05:56 +00:00
aarne
2d688f6bb4
tests for verbs in uusisuomi
2008-01-06 12:16:07 +00:00
bringert
409504a19e
Remove LexGFCCRaw from GF-embed.cabal
2008-01-04 22:01:13 +00:00
bringert
14369ba9d2
Replace BNFC-generated GFCC-parser with a faster and smaller combinator version.
2008-01-04 17:42:28 +00:00
aarne
7b6783e8f8
started adjectives in uusisuomi
2008-01-04 17:54:20 +00:00
aarne
799fd2c3e5
finalizing experiments with Finnish nouns
2008-01-04 15:54:40 +00:00
bringert
1204d1972d
Oops, I happend to record a temporary change for testing combinator parsing on GFCC. Reverting that.
2008-01-04 15:00:58 +00:00
bringert
203a6b62bc
Added -noparse flag to gfc. In the process, I refactored GF.Devel.GFC and GF.Command.Importing to use a common source to gfcc compilation function in the new module GF.Compile.API.
2008-01-04 14:51:20 +00:00
aarne
30b03d1fee
dictionary experiment in uusisuomi
2008-01-04 10:15:15 +00:00
aarne
2dc58680cc
Swadesh example in uusisuomi
2008-01-03 17:40:31 +00:00
aarne
15d8aed389
fixed Swadesh for new resource version
2008-01-03 17:11:32 +00:00
aarne
7d9c68c4af
Duodecim example treated
2008-01-03 16:08:52 +00:00
bringert
ad991ef299
Store FCFPInfo (all information needed for FCFG parsing) in GFCC files, and in the internal DataGFCC.GFCC structure. The parsing information format is still in flux.
2008-01-03 17:10:05 +00:00
aarne
a12535c904
word lists initialized for 2 experiments
2008-01-03 11:22:44 +00:00
aarne
07db1194ea
samples of Finnish nouns
2008-01-03 10:57:13 +00:00
aarne
d3729ece56
new division of Nominal in uusisuomi
2008-01-03 10:01:57 +00:00
aarne
70ae42eab7
experiment with Finnish morphology
2008-01-02 16:54:22 +00:00
ali.eldada
bb353fcbf7
20071225_ArabicRG
2007-12-25 23:30:26 +00:00
aarne
3e108b98dd
subex elim in gfr generation
2008-01-01 23:31:12 +00:00
aarne
efb6d73c09
old tag: RELEASE-2_9
2007-12-21 18:00:39 +00:00
aarne
492df5c738
Updated version numbers.
2007-12-21 17:43:27 +00:00
aarne
f38ae0b0a5
link in download index
2007-12-21 18:02:19 +00:00
bringert
8b1b228ce7
update syntax.txt with the flags and grammar name changes
2007-12-21 17:26:41 +00:00
bringert
6296609baf
Merge abstract and global flags and put them at the top level in GFCC files.
2007-12-21 17:25:35 +00:00
bringert
4b02f93eb2
Fixed bug in toGFCC: cflags where mistakenly taken from aflags.
2007-12-21 17:24:59 +00:00
bringert
b10fab6bfb
gfcc files now start with (grammar absname cncname1 ... cncnameN).
2007-12-21 17:18:36 +00:00
aarne
ebac1125e1
preparing for release
2007-12-21 17:37:19 +00:00
aarne
ae23e407b9
new tutorial and reference manual
2007-12-21 15:10:38 +00:00
aarne
00779c9657
resource-api demo
2007-12-21 15:07:37 +00:00
bringert
8ef4cf6f2b
Fixed indentation in generated haskell code for list categories.
2007-12-20 23:26:10 +00:00
bringert
3cc9cba65c
in gf-embed.cabal: expose GF.GFCC.CId and hide GF.GFCC.Raw.AbsGFCCRaw
2007-12-20 23:20:53 +00:00
aarne
422e1b68ba
changed AbsGFCC to CId in GFCCtoHaskell
2007-12-20 22:38:16 +00:00
aarne
cec2cef031
overload toplevel grammars for Swe and Rus
2007-12-20 22:33:49 +00:00
aarne
d46f4c49e1
merged Gf and Fg classes in generated Haskell
2007-12-20 15:11:18 +00:00
bringert
d88071c37c
Moved Err definition to GF.Data.ErrM from GF.Data.Operations. This means the GF-embed does not have to include GF.Data.Operations.
2007-12-20 17:41:31 +00:00
bringert
073c217b58
Update GF-embed.cabal to use GFCC.Raw
2007-12-20 17:35:18 +00:00
bringert
3eba035691
Replace all the different ErrM.hs modules with GF.Data.ErrM.
2007-12-20 17:34:12 +00:00
bringert
070ccd045d
Added newlines and ends of some files. This makes sed happy.
2007-12-20 17:07:56 +00:00
bringert
597dce020d
Use GF.GFCC.Raw.AbsGFCCRaw instead of GF.GFCC.AbsGFCC in code generated by gfc -haskell.
2007-12-20 16:57:16 +00:00
bringert
56b9e17203
Added missing BNFC-generated alex and happy files, and alex-generated lexer for GFCCRaw.
2007-12-20 16:32:39 +00:00
bringert
9999634574
Handle giving several options in LDFLAGS and CPPFLAGS correctly.
2007-12-20 15:55:26 +00:00
aarne
5cb91cd027
corrections prompted by Janna's examples in resource
2007-12-19 20:53:29 +00:00
aarne
e2185ffb38
digits in synopsis
2007-12-19 10:53:42 +00:00
bernardy
71ca9c8df1
Workaround a ghc 6.8.2 bug
2007-12-17 10:15:20 +00:00
aarne
5de05d36da
more example languages
2007-12-19 10:50:17 +00:00
aarne
9ab29b205d
Janna's examples updated
2007-12-19 07:05:02 +00:00
aarne
634392876d
quick fix to SyntaxRus
2007-12-18 21:37:02 +00:00
aarne
3f704af390
constructor for combining two Texts; Synopsis for new version of resource
2007-12-18 21:02:01 +00:00
aarne
655c2dce62
Digits in Constructors
2007-12-18 17:42:38 +00:00
aarne
90a84d1dcd
brought derived resources up to date wrt Quant
2007-12-18 10:46:41 +00:00
aarne
f85ead01b3
updated all resource langs to Digits (russian, arabic not complete)
2007-12-18 09:55:24 +00:00
aarne
2d5f98dc05
took back smart type of Int ; Digits type in resource and some adjustments of Det syntax (not yet for romance and russian)
2007-12-17 18:12:46 +00:00
aarne
eb10ccbe7c
restored Int size and last ; added lib/prelude to be the last in any grammar path
2007-12-16 22:24:36 +00:00
aarne
3f4bb6c40c
completed ConvertGFCC for all terms
2007-12-14 11:16:01 +00:00
aarne
61a9bdbe34
removed dep. on GFCCRaw
2007-12-14 09:25:18 +00:00
aarne
de0fe5c10a
added a module for testgf3
2007-12-14 07:42:56 +00:00
aarne
0d443e8cf3
oops, readded CanonToGFCC to darcs
2007-12-14 07:32:59 +00:00
aarne
03589b5a3c
restored CanonToGFCC as a wrapper of GFCC generation
2007-12-14 07:31:53 +00:00
aarne
e29137164a
expensive gf3langs alltenses commented away after all
2007-12-13 22:21:28 +00:00
aarne
2805f48ba3
some generated GFCCRaw files added to darcs; make gf3langs for alltenses
2007-12-13 22:15:19 +00:00
aarne
3dca8b78d7
removed gfcc via gfc everywhere; workaround for russian in present
2007-12-13 22:05:14 +00:00
aarne
095018c8e4
new GFCC concrete syntax in place everywhere
2007-12-13 20:19:47 +00:00
aarne
8de623d11e
lisp-like GFCC syntax; doesn't quite work yet in gf3
2007-12-13 16:36:32 +00:00
aarne
072b48065d
prelude sources to lib/src; present in StructuralEng; refactored checkGFCC
2007-12-13 10:12:00 +00:00
bringert
e6c9cb2b52
s/resource-1.0/resource/ in src/Makefile.
2007-12-13 13:39:04 +00:00
bringert
d0d39968ed
Use $(MAKE) instead of 'make'. This should help on systems where GNU make is called gmake.
2007-12-13 13:28:02 +00:00
bringert
91cfeabcff
More consistent use of RTS flags in lib/resource/Makefile.
2007-12-13 13:27:27 +00:00
aarne
4ea58bce2c
resource lib name changed
2007-12-12 20:30:11 +00:00
aarne
f472bf266c
variants in gfcc generation
2007-12-11 15:07:48 +00:00
aarne
77a502085d
some adjustments in GFCC generation (old)
2007-12-10 16:46:04 +00:00
aarne
3e788e5bbd
debugging new compilation
2007-12-09 15:20:50 +00:00
aarne
6093c2d3e4
extend behaviour for interface and incomplete
2007-12-09 10:52:19 +00:00
aarne
c19e8c31b7
noemit as default in testgf3
2007-12-08 17:02:35 +00:00
aarne
cc98b779fd
breaking points 1..6 in new Compile
2007-12-08 16:51:39 +00:00
aarne
7cfbba9294
documenting implementation started
2007-12-08 15:59:36 +00:00
aarne
0b90d257f9
compilation line complete (but dysfunctional) for new GF internal format
2007-12-08 15:15:18 +00:00
aarne
0807b556be
GFtoGFCC type checks (but is not correct)
2007-12-08 15:01:36 +00:00
aarne
60060e0a8a
names resolve in new GFtoGFCC
2007-12-08 10:37:49 +00:00
aarne
07cc4a9fc5
started modifying GFtoGFCC for new internal GF format
2007-12-08 09:32:05 +00:00
aarne
49c91adf7a
a couple of fixes in new Optimize
2007-12-07 21:00:24 +00:00
aarne
1e8f17d12b
restructured some of the new GF format; modules now in place up to gfo generation
2007-12-07 20:47:58 +00:00
aarne
a935576674
started adding GF back optimization (Factorize)
2007-12-07 13:00:02 +00:00
aarne
b6484890b1
optimize in the compilation chain for new format
2007-12-07 11:12:39 +00:00
aarne
091f9f0c1b
refresh compilation phase in the new format
2007-12-07 10:23:18 +00:00
aarne
f7b3c218cf
changed names of mkNP and mkCN in ParadigmsRus
2007-12-07 08:35:39 +00:00
aarne
5d1ad0badc
new type checker type checks
2007-12-06 21:43:21 +00:00
aarne
35f585b352
in the middle of adapting CheckGrammar
2007-12-06 17:29:19 +00:00
aarne
53078b23f0
started grammar checking with new internal format
2007-12-06 15:50:54 +00:00
aarne
885b5bf681
restored work on Extend and Rename
2007-12-06 12:54:15 +00:00
aarne
26fc7cb5db
Delete the silly test file.
2007-12-06 15:19:56 +00:00
aarne
9a8b88c5f6
Silly test patch.
2007-12-06 15:18:49 +00:00
bringert
f848448f73
Expose AbsGFCC and DataGFCC in gf-embed.cabal, since code generated by -haskell needs them.
2007-12-05 21:41:38 +00:00
bringert
48d199fb35
Update GF-embed.cabal to use expose GF.GFCC.API. This pulls in a lot fewer modules than the old version. Use Cabal configurations to compile on 6.8.1. This unfortunately means that users of GHC < 6.8 must upgrade to Cabal 1.2 or greater.
2007-12-05 20:05:42 +00:00
aarne
61d745d928
Russian parches by MG_UR
2007-12-05 07:13:53 +00:00
ali.eldada
01e50c45e4
20071202_AD
2007-12-02 20:59:45 +00:00
aarne
e7b03c9446
restored interface and instance - at least for a while
2007-12-04 20:13:36 +00:00
aarne
8b68b198a4
rebuild integrated in Extend
2007-12-04 20:00:51 +00:00
aarne
e2c8dc270f
building extensions in new source format
2007-12-04 17:10:28 +00:00
aarne
8c247e05fc
unifying judgement information - now easy
2007-12-04 15:23:49 +00:00
aarne
3d74432c54
printing new source format
2007-12-04 15:01:01 +00:00
aarne
836583cfac
some missing cases in SourceToGF
2007-12-04 11:18:55 +00:00
aarne
67528a5c18
test for new GF source format
2007-12-04 11:07:39 +00:00
aarne
d9a90f6917
moved some modules to Devel.Grammar
2007-12-04 07:48:37 +00:00
aarne
476a92ba19
SourceToGF working though not complete
2007-12-04 07:40:47 +00:00
bringert
735790a1b6
Set GF_LIB_PATH to .. in resource-1.0/Makefile to find Prelude.
2007-12-03 15:37:20 +00:00
bringert
eb31512869
Haskell GSyntax printer?: encode generated code as UTF-8. Current GHC versions treat source files as UTF-8 encoded.
2007-11-28 13:45:49 +00:00
bringert
2ea966ba96
Added install-gf3 target. Use EXEEXT to get correct gf3 file name on Windows.
2007-11-12 16:18:01 +00:00
bringert
48a4570e64
Use configure to produce a gfc script with the correct path to gf3. NOTE: you need to re-run autoconf after pulling this patch.
2007-11-12 16:17:04 +00:00
aarne
a52ead0f91
started parsing GF source into the new format
2007-12-03 17:40:59 +00:00
aarne
95b69941c3
some macros for terms, jments, modules
2007-11-29 10:23:26 +00:00
aarne
a7fb9e1d69
subdir for Devel/Compile
2007-11-29 10:22:25 +00:00
aarne
50a9e472c0
judgement construction after parsing
2007-11-28 22:11:47 +00:00
aarne
97fb347632
lookup module separated
2007-11-28 12:01:38 +00:00
aarne
6fef03ed01
new definitions of term and judgement syntax
2007-11-28 11:58:47 +00:00
aarne
1ea96697cd
lookup modules
2007-11-28 08:44:04 +00:00
aarne
64b7f375c5
started experimental new module syntax
2007-11-27 14:23:11 +00:00
aarne
f643cd271b
structural words merged with other constructors; links to paradigms from lexical cats, in synopsis
2007-11-26 21:27:29 +00:00
aarne
3c7e6724a3
diagnostic error message in GrammarToHaskell
2007-11-15 17:09:33 +00:00
aarne
39d39f7e93
dealing with Ints n in GrammarToGFCC
2007-11-15 16:49:20 +00:00
aarne
59e175de31
made Devel versions of Compute, CheckGrammar, Optimize, etc, to leave GF 2.8 untouched when experimenting
2007-11-12 21:42:13 +00:00
aarne
d0a1572370
made compile from source use optimized modules internally
2007-11-12 17:25:00 +00:00
aarne
6fac1748e1
corrected this_Quant in Finnish
2007-11-12 14:45:45 +00:00
aarne
f2a2fe0f83
fixed a bug on not updating parameter table in record fields in GrammarToGFCC
2007-11-12 14:30:53 +00:00
aarne
8a2e2bdb3e
fixed bug with prawitz transform of course-of-values tables in Compute
2007-11-12 12:36:40 +00:00
aarne
2c10d62b1f
merged gfc and gfi to one binary, and a shell script for gfc
2007-11-12 09:17:02 +00:00
aarne
980ec19999
printing grammarReference.js with gfc -jsref
2007-11-10 10:23:35 +00:00
aarne
3f5801ed85
post-compute in GrammarToGFCC - what else is needed?
2007-11-09 17:24:08 +00:00
aarne
fc70ba9a6a
undid temporary comment-out of all in make resource
2007-11-09 15:57:15 +00:00
aarne
70bb329c8e
ResFin workaround; type annot for ghc 6.8.1
2007-11-09 15:51:12 +00:00
bringert
bfb04e5eb0
Fix pre token bug in JS, both in gf and gfc. Pre tokens are still treated like normal tokens, but at least the generated code should be correct now.
2007-11-09 15:09:09 +00:00
aarne
ce975919c9
debugging gfcc bug; resulted in some type annotations to work around problems
2007-11-09 14:02:11 +00:00
bringert
3cbaf00c3c
Remove multimodal from 'compiled' in lib/resource-1.0/Makefile to work around import error.
2007-11-09 11:57:45 +00:00
aarne
20fc4223f9
removed multimodal temporarily from make resource
2007-11-09 11:13:59 +00:00
aarne
c6f00e17f2
repaired restricted inheritances in resource
2007-11-09 10:52:47 +00:00
aarne
22702d5cd0
changed js and hs file names in gfcc output to expected ones
2007-11-09 10:08:07 +00:00
aarne
83be999123
preserve error message in batch compile
2007-11-09 08:56:13 +00:00
aarne
55c65c92ce
currying in paramlincat encoding
2007-11-09 08:26:56 +00:00
aarne
93200c65dc
grammar printing options in gf3 and gfc
2007-11-09 00:21:57 +00:00
aarne
16e52b231a
partial check of dependencies with restricted inheritance
2007-11-08 23:34:45 +00:00
aarne
0b026ad8ac
restricted inheritance in gfcc abstract fixed
2007-11-08 21:34:44 +00:00
aarne
f3f46c7a0f
funny ASCII logo
2007-11-06 20:52:49 +00:00
aarne
bf353c1a2e
added linearize -all
2007-11-08 17:01:09 +00:00
aarne
009e3cdec1
gfi linearization with flags -table -record -term
2007-11-08 16:37:30 +00:00
aarne
cac4f5e27c
encoding of lincats as gfcc terms with param value information
2007-11-07 17:27:09 +00:00
aarne
d9957d802f
added fields for global options and showable lincats to gfcc
2007-11-07 16:30:56 +00:00
aarne
f07a200c33
some more issues in gf3.txt
2007-11-07 13:53:48 +00:00
aarne
5937e51a8e
moved gfcc program to gfi, wrote document gf3.txt
2007-11-07 13:07:02 +00:00
aarne
d12728dae2
prompt and CPU time in experimental shell
2007-11-06 17:27:20 +00:00
aarne
6a716b0f68
Devel/GF3: experimentally putting together all functionalities for the first time
2007-11-06 14:44:17 +00:00
aarne
49b81e4af5
made command table independent of options
2007-11-06 11:01:45 +00:00
aarne
957257fa03
factored out commands from interpreter in gfcc
2007-11-06 10:43:19 +00:00
bringert
97944abdd9
Synopsis: no duplicate sections for syntactic categories.
2007-11-06 09:47:38 +00:00
bringert
1d3b691a75
Remove some trailing commas in category explanations.
2007-11-05 23:07:57 +00:00
bringert
d036aa343e
Added tooltips to category links in types and in the image map.
2007-11-05 23:04:21 +00:00
bringert
07ba82e567
Link multi-cat boxes in synopsis pic to sensible defaults.
2007-11-05 22:51:56 +00:00
bringert
f550235118
Added image map links to the category overview picture in the synopsis. It doesn't work for the nodes that have non-category names, like the ones with multiple categories in them. This could be fixed in categories.dot.
2007-11-05 22:39:33 +00:00
bringert
4e59da0c16
Synopsis: add sections for lexical categories. They are still empty, but at least most links work now. The links to param types still don't work.
2007-11-05 22:18:01 +00:00
bringert
b241cc1309
Synopsis: include explanation in category titles
2007-11-05 22:05:07 +00:00
aarne
446d99c370
fixed variants bug in GFCC.Linearize: l. 64,46 'r' must be 'p'
2007-11-05 21:55:17 +00:00
aarne
0c99b0ad08
make gf3 and gf3present in resource Makefile
2007-11-05 21:18:09 +00:00
bringert
2341bd289a
Regenerated synopsis.html
2007-11-05 18:06:06 +00:00
bringert
411fce46b8
Some clean-up of category explanations in Common.gf and Cat.gf.
2007-11-05 18:05:18 +00:00
bringert
f7fa5a3393
Synopsis: include category explanation in each category section.
2007-11-05 18:01:06 +00:00
bringert
1802021fe1
Refactor MkSynopsis and add links to categories in function types. There are still links to non-existing anchors for lexical categories and parameter types.
2007-11-05 17:22:57 +00:00
bringert
8e20034e18
Added a space in one of the types of mkCl to allow MkSynopsis to use words to find the categories in the type.
2007-11-05 16:55:32 +00:00
aarne
5315d8851d
unionGFCC, to put together GFCC grs with same abstract
2007-11-05 13:48:51 +00:00
bringert
fe49c9f1bf
Added anchors to category constructors in synopsis, and links form the explanations table. The categories in function types should also be links, but that is a bit difficult with the current MkSynopsis implementation which inspects the generated txt2tags code to make the section headr for each category.
2007-11-05 10:48:58 +00:00
aarne
9045fb2851
command database in gfcc
2007-11-04 22:01:10 +00:00
aarne
456086c441
changed suffix gfc to gfo in the gfc program to enable sharing directories with gf
2007-11-04 20:36:58 +00:00
aarne
450044b81e
interpreter with pipes
2007-11-04 10:17:48 +00:00
aarne
95abbbd8f4
started command interpreter for gfcc
2007-11-03 22:37:18 +00:00
aarne
f91e19f0d8
command language and gfcc term parser in bnfc
2007-11-03 22:00:08 +00:00
aarne
7003654ca6
unbounded dep in resource with SlashVS
2007-11-03 20:41:29 +00:00
bringert
6f0009b11b
Added explicit export list to ParGF.
2007-11-01 10:10:30 +00:00
bringert
851ca1c544
Regenerated ParGF.y with current BNFC, and regenerated ParGF.hs with Happy 1.17. This seems to fix some of the less informative parsing error messages.
2007-11-01 10:08:32 +00:00
bringert
3c62bcf14e
Change .gfc .gfr to .gf? in lib/resource-1.0/Makefile. This makes it easier to experiment with gfc.
2007-10-30 13:53:41 +00:00
aarne
99e6e48fe1
mock up math extended with Agda
2007-10-31 17:13:20 +00:00
aarne
a688096265
oper and lindef in CanonToJS
2007-10-31 16:41:39 +00:00
aarne
650b73e26b
mock up variables for js
2007-10-30 13:17:54 +00:00
aarne
105efd51ef
swedish mock up for math
2007-10-30 13:15:18 +00:00
aarne
b24d0eec9a
math wiki example
2007-10-30 13:09:46 +00:00
bringert
ec7141fb4e
Added type signature to fix GHC 6.8 problem reported by Jean-Philippe.
2007-10-30 09:51:14 +00:00
aarne
771deba89d
semantics <- sementics
2007-10-24 07:49:29 +00:00
aarne
3666a16fdf
program four second week of the course
2007-10-24 07:47:33 +00:00
aarne
bd7123902c
insertObject in AdVP in tutorial/syntax
2007-10-23 21:03:06 +00:00
aarne
8f100593c0
insertObject in Grammar
2007-10-23 14:11:22 +00:00
bringert
b326744a46
Added --output-name to GF.Devel.GFC.Options. Inspired by peb's --output-base suggestion.
2007-10-23 12:19:11 +00:00
bringert
73a384b359
Added --output-dir to GF.Devel.GFC.Options. Suggested by peb.
2007-10-23 12:15:01 +00:00
bringert
4e8d6b2c02
Allow multiple output formats in GF.Devel.GFC.Options. Suggested by peb.
2007-10-23 12:11:48 +00:00
aarne
1ff4d28cfe
polished the syntax grammar for the book
2007-10-22 15:56:11 +00:00
aarne
ca3535fd87
Swedish functor implementation of Base
2007-10-21 10:45:51 +00:00
aarne
f668736f36
English Base implementation with functor
2007-10-21 10:06:34 +00:00
aarne
01bc4c138e
the lincat of Int simplified to SS again (Linear,Lookup,CheckGrammar by commenting out)
2007-10-21 10:01:14 +00:00
bringert
16f3df2311
Added Show isntance generation to haskell_gadt.
2007-10-20 18:57:38 +00:00
bringert
9d7a9a95b1
Added Compos instance generation to the haskell_gadt printer. Added GF.Data.Compos module which is imported by the code generated by haskell_gadt.
2007-10-20 18:42:16 +00:00
aarne
a26e87327a
started resource implementation of query language
2007-10-20 11:34:52 +00:00
aarne
55f387d067
semantics extended to questions
2007-10-20 09:51:26 +00:00
aarne
2fb6c59444
two versions of semantics (the Logic version incomplete)
2007-10-19 22:12:30 +00:00
bringert
3edf2e8e97
Added some more versions of symb: symb : N -> Num -> NP, symb : Det -> N -> Num -> NP and symb : Det -> CN -> Num -> NP. The latter two use ApposCN instead of CNNumNP. I suspect that we could get rid of CNNumNP and friends altogether and use ApposCN + NumPN instead.
2007-10-19 16:56:35 +00:00
bringert
0341fd142a
Added NumPN to Symbol.
2007-10-19 16:56:22 +00:00
aarne
9b952e5954
started semantics module in tutorial
2007-10-19 16:29:29 +00:00
aarne
d6dee33acd
added coordination to tutorial grammar example.
2007-10-17 19:08:09 +00:00
bringert
5d16f23704
Fixed link to resource grammar synopsis.
2007-10-17 16:18:13 +00:00
bringert
96f8638ea2
Typo in comment s/bueno vino/buen vino/. Reported by Moises.
2007-10-17 14:00:39 +00:00
bringert
b086ead7a0
Change solamiento to solamente in variables names in ParadigmsSpa. Reported by Moises.
2007-10-17 13:59:31 +00:00
aarne
c4b9f1b94b
found and temporarily solved the bug in LangGer gfcc generation
2007-10-16 17:38:57 +00:00
bernardy
334183521b
add interlingua numerals grammar
2007-10-15 09:54:41 +00:00
bernardy
5102061d24
Fix the belgian numerals grammar
2007-10-15 09:42:34 +00:00
bernardy
f1abb6e8fa
Simplify the swiss numerals grammar
2007-10-15 09:42:06 +00:00
bernardy
cd75d0ed13
Slightly nicer output when reading old grammars
2007-10-15 08:05:33 +00:00
bernardy
6a99768a6c
Add belgian french version of the numeral grammars
2007-10-13 15:32:15 +00:00
bernardy
eaf7c4cf3f
typo
2007-10-13 15:22:59 +00:00
aarne
405dc75016
adjusting parameter types in Romance and fixing some compilation bugs
2007-10-14 14:08:41 +00:00
aarne
54db8d29f7
fix in records as param arguments
2007-10-14 10:36:06 +00:00
kr.angelov
6bc3dc45b6
FCat is just a plain integer now
2007-10-12 16:00:37 +00:00
aarne
2a382c427c
demo restaurant info
2007-10-12 13:46:57 +00:00
aarne
8b74ec7958
some fixes in GrammarTpGFCC, and more tracing
2007-10-12 12:24:07 +00:00
aarne
280493064c
removing a trace
2007-10-12 08:42:52 +00:00
aarne
674dea6d57
check circularity in param
2007-10-12 08:37:57 +00:00
aarne
6d765e75ad
tuning gf optimization
2007-10-10 20:29:10 +00:00
aarne
a303afdba3
patches to Now and Dan verb forms ; opers and lindefs in JS
2007-10-10 17:35:50 +00:00
aarne
07796eb3ee
common subexp elim for src GF
2007-10-10 17:01:00 +00:00
aarne
0d4f6e9b5e
optimizations on evaluated gf in gfc
2007-10-10 16:13:57 +00:00
aarne
df00809361
startcat flag in Lang
2007-10-10 07:21:02 +00:00
aarne
041c478245
started revising resource HOWTO
2007-10-09 13:41:16 +00:00
aarne
47ea75944f
GFCCtoJS in Devel
2007-10-09 12:51:09 +00:00
aarne
85ad81743e
added TryX modules for trying out resource API
2007-10-09 08:58:48 +00:00
aarne
67420e3c9d
UTF8 encoding of strings in terms in GFCC in gfc
2007-10-08 14:20:37 +00:00
aarne
91a1d04def
gfc now generates gfcc with deptypes, defs, printnames
2007-10-08 12:45:39 +00:00
aarne
d24f495274
cleaned up obsolete GFCC references
2007-10-06 07:37:44 +00:00
aarne
44c2b84409
oops - forgot to add GFCCtoHaskell
2007-10-06 07:36:21 +00:00
aarne
2b253d9a64
removed unnecessary imports from GFCCtoHaskell generation
2007-10-05 16:30:37 +00:00
aarne
a93a8e4468
documented new GFCC
2007-10-05 16:18:23 +00:00
aarne
a41b07f9c9
removed Canon/GFCC
2007-10-05 13:38:10 +00:00
aarne
074ef6e09f
updated gfcc to new gfcc, now with parsing
2007-10-05 13:01:05 +00:00
aarne
122546b9d6
gf works with the new gfcc format
2007-10-05 12:54:29 +00:00
aarne
2b5b099813
cleaned up new GFCC, but added RP as deprecated
2007-10-05 09:02:47 +00:00
aarne
3edc8dfeac
shifted to use general trees and types (with macros for c-f)
2007-10-05 08:17:27 +00:00
aarne
02dea19cac
divided DataGFCC
2007-10-05 07:33:33 +00:00
aarne
953ad2cf4c
make gfcc makes old gfcc; use make newgfcc for the format produced by gfc
2007-10-04 21:46:23 +00:00
aarne
41201c2d4e
new GFCC format in GF/GFCC
2007-10-04 21:38:59 +00:00
kr.angelov
6651e9e1d0
handle (F ..) references in the lintypes
2007-10-04 18:23:59 +00:00
aarne
04489c8313
started new GFCC syntax with dep. types etc
2007-10-04 14:13:45 +00:00
aarne
c7b1f789fa
resource application example in tutorial/syntax
2007-10-04 13:43:29 +00:00
aarne
6f74c2d648
refactored tutorial syntax example
2007-10-04 12:29:11 +00:00
aarne
835a5264e7
make lib in src/Makefile
2007-10-04 11:27:31 +00:00
aarne
4a020f6c75
makefiles for first make
2007-10-04 11:24:46 +00:00
bernardy
ceebc5efac
Couple of fixes for the "food" example in French
2007-09-14 10:46:30 +00:00
aarne
ed6062f50d
eliminated the rest of projections with record in GFCC
2007-10-04 08:23:56 +00:00
aarne
db12154e76
lincat index in CanonToGFCC decreased by 1
2007-10-03 16:15:33 +00:00
aarne
51fff6daed
added optimization to GrammarToGFCC
2007-10-03 16:04:30 +00:00
bringert
65ea5360aa
Note that darcs 1.0.9 has controlmaster problems.
2007-10-03 13:13:27 +00:00
aarne
bcd830129e
uncurrying performed in CheckGFCC
2007-10-03 11:49:46 +00:00
aarne
e620515c12
marked alternatives for compiling tables
2007-10-02 21:01:38 +00:00
aarne
f070f2cec6
more debugging of GrammarToGFCC
2007-10-02 13:44:52 +00:00
aarne
a63b56ba38
gfcc from GF now works for LangEng (except literals)
2007-10-02 11:15:00 +00:00
aarne
2db416a76c
test for gfcc
2007-10-02 05:57:57 +00:00
aarne
7bcf5e64d4
work with GrammarToGFCC, not complete
2007-10-01 20:14:23 +00:00
aarne
8179f5dcf9
more tc of gfcc
2007-10-01 13:18:43 +00:00
aarne
984a265f65
started CheckGFCC
2007-09-28 13:42:50 +00:00
bringert
02db3b9701
Started on a stub GFC.Main
2007-09-28 13:27:12 +00:00
bringert
e2ff5b023f
Removed giant comment and add help message function to GF.Devel.GFC.Options.
2007-09-28 13:12:55 +00:00
bringert
e0233440c7
Implemented lots of command-line options in GF.Devel.GFC.Options.
2007-09-28 13:10:09 +00:00
aarne
99d9def10e
order of FCFGS in shell state.
2007-09-28 07:06:53 +00:00
aarne
18ef1bbd15
disambiguate Err
2007-09-26 21:55:53 +00:00
kr.angelov
4ac5ec0dbd
don't try to search for argument that has been already found
2007-09-25 14:57:14 +00:00
kr.angelov
b787b5ad01
whitespace only
2007-09-25 14:56:46 +00:00
kr.angelov
37d310f8c0
simple optimization of the parser that makes it about two times faster
2007-09-25 12:59:25 +00:00
kr.angelov
c9daa2e2c1
remove the dependency to GF.Data.Operations from GF Embed API
2007-09-25 05:55:49 +00:00
kr.angelov
133963751b
merge FCFGParsing with GF.Parsing.FCFG
2007-09-24 14:36:19 +00:00
kr.angelov
ee58d52af0
Update GFCCAPI after the removal of FTypes and the FCFG lexer
2007-09-24 08:58:46 +00:00
kr.angelov
26b1efe8b7
move the FCFG lexer to FCFG.Active where it should have been. It was a hack anyway
2007-09-24 08:56:37 +00:00
kr.angelov
61503477f0
remove FCFG folder
2007-09-24 08:19:29 +00:00
kr.angelov
cd213f3e56
remove FTypes module and move all definitions to Formalism.FCFG
2007-09-24 08:12:11 +00:00
kr.angelov
9efddd16ce
remove some redundant dependencies from FCFG
2007-09-23 20:01:25 +00:00
aarne
0285771c41
correctly recognize some parameter records for gfcc
2007-09-21 20:36:43 +00:00
aarne
86bc027c52
trying to get rid of RP
2007-09-21 14:23:30 +00:00
aarne
80cc829eab
error msg in SimpleToFCFG.convertCon
2007-09-21 13:02:35 +00:00
aarne
6ac6a31274
fixed reading argvars from gfc in gf-to-gfcc
2007-09-21 12:00:31 +00:00
aarne
6ce60d64a9
gfcc generation in gfc works for some grammars
2007-09-21 09:15:14 +00:00
bringert
f2b095b519
Started working on gfc command-line options.
2007-09-21 10:30:00 +00:00
aarne
47a48e8e78
gfc --make now works
2007-09-21 07:37:47 +00:00
aarne
6ceb166341
compiler "gfc" in GF/Devel
2007-09-20 22:37:09 +00:00
aarne
121c247d15
compact printing of gf files
2007-09-20 21:51:54 +00:00
bringert
60359485cc
Restored the GFCC.cf from before the patch "simplify GFCC syntax". This is the version that the exisiting code actually uses, except for the two cases of Int instead of Integer.
2007-09-20 15:20:44 +00:00
bringert
10c2ef30dc
BNFC doesn't have an Int type.
2007-09-20 14:33:53 +00:00
aarne
549447458c
math with gfcc
2007-09-20 13:31:24 +00:00
aarne
c7f59d0bad
printing GSyntax with GFCC trees
2007-09-20 13:26:59 +00:00
aarne
abedb11af5
embedded parser in MultiGrammar in GFCCAPI
2007-09-20 09:48:50 +00:00
aarne
c58b4fe048
refactored FCFG parsing to fit in GFCC shell
2007-09-20 09:10:37 +00:00
aarne
7324597039
started extending GFCC API with parsing
2007-09-19 16:48:13 +00:00
aarne
6dcd33ec26
repaired JS generation after GFCC changes
2007-09-19 14:10:04 +00:00
aarne
7fd4e067fa
adapted GFCC2FCFG to other uses of GFCC, made it to default parser
2007-09-19 13:49:12 +00:00
kr_angelov
6f58675729
remove trace
2007-01-11 19:19:46 +00:00
kr_angelov
074d289bf0
remove trace
2007-01-11 19:17:36 +00:00
kr_angelov
1abba77993
fix aliases handling
2007-01-11 19:16:36 +00:00
kr_angelov
abf76ed420
remove all fromIntegral calls
2007-01-11 12:48:31 +00:00
kr_angelov
82ca4a89df
GFCC to FCFG conversion
2006-12-28 16:45:57 +00:00
kr_angelov
094cab7057
sync with GFCC changes
2006-12-28 16:45:21 +00:00
kr_angelov
c70fa0831e
simplify GFCC syntax
2006-12-28 16:35:16 +00:00
bringert
61ae1920b3
Include startcat in generated JavaScript.
2007-09-19 08:58:39 +00:00
aarne
1bf0acb2be
bud fix in reading gfc without gfr
2007-09-17 06:58:41 +00:00
aarne
4d2992d69f
strict reading of files; bug fix in readFiles in ShellState
2007-09-16 20:52:27 +00:00
bringert
3a9d7c11f7
chmod in lib/resource-1.0 is now called by all targets that use mkPresent. This is needed to make make all in src work.
2007-09-13 08:56:51 +00:00
bringert
893427b0f2
make (all) in src now compiles the resource grammars.
2007-09-13 08:27:48 +00:00
bringert
e902ce7f71
chmod mkPresent in make all in lib/resource-1.0
2007-09-13 08:25:46 +00:00
aarne
9b5d2fb923
last adjustments of examples before course
2007-09-12 21:03:00 +00:00
aarne
6b9e37a39e
afternoon quarter past
2007-09-12 18:04:03 +00:00
aarne
53ee7b56fb
70h to 70min
2007-09-12 12:09:40 +00:00
aarne
9d9ddfea68
course time plan
2007-09-12 12:05:19 +00:00
aarne
88136f8a4c
cygwin linked from download
2007-09-12 09:42:08 +00:00
aarne
87fe551a57
install instructions updated
2007-09-12 09:12:42 +00:00
aarne
2fe0291147
bug fix in import reading (had forgotten gfr)
2007-09-12 07:53:54 +00:00
aarne
bc8a7b5c0c
refs for book
2007-09-11 13:13:48 +00:00
aarne
cca46ac5f8
Subj in cat synopsis graph
2007-09-07 13:20:30 +00:00
aarne
90f19d769d
table size in synopsis
2007-09-07 08:44:26 +00:00
aarne
0c1a16b0f8
reorganized synopsis, added cat chart
2007-09-07 08:34:02 +00:00
aarne
719a5d1296
a little nicer synopsis printing
2007-09-06 21:01:23 +00:00
aarne
e4ac4728d2
comented ExtFoods
2007-09-06 13:06:22 +00:00
aarne
cd9dac84c2
ExtFoods for book
2007-09-06 11:34:53 +00:00
aarne
eb173e4529
download
2007-09-06 07:21:05 +00:00
aarne
90a8b828ab
transfer exx
2007-09-05 18:08:16 +00:00
aarne
f357082c27
modernized parser in EmbedAPI
2007-09-05 14:05:42 +00:00
aarne
22b4069803
cleaned up Calculator example
2007-09-04 20:51:26 +00:00
aarne
c87f220a9f
new precedence lib
2007-09-04 18:14:36 +00:00
aarne
19ecc56460
CP
2007-09-04 14:15:43 +00:00
aarne
b472bd6c47
div
2007-09-04 07:57:50 +00:00
aarne
1608ac9f6d
calculator ex
2007-09-03 19:21:50 +00:00
aarne
dc8ca16b04
these,those in Constructors
2007-09-03 13:54:44 +00:00
aarne
772877a5f7
Ita Eng
2007-09-03 08:46:34 +00:00
aarne
4fff0e3845
updated quick start
2007-09-03 08:42:10 +00:00
aarne
b1dbc849bf
Ita in res
2007-09-02 21:04:24 +00:00
aarne
29b5463e7e
resource using exx revised
2007-09-02 19:53:55 +00:00
aarne
1d8281f3c5
moved away book
2007-08-31 12:11:35 +00:00
aarne
82a1f0a543
course update
2007-08-31 07:04:50 +00:00
aarne
36c3c2369c
chaps 1-4
2007-08-30 13:37:15 +00:00
aarne
890b00658c
introductions to chapters
2007-08-29 12:07:58 +00:00
aarne
c96492d633
patches to forthcoming chapters
2007-08-29 10:02:48 +00:00
aarne
c44da35c69
appendices to the book
2007-08-29 09:00:50 +00:00
aarne
8da468765d
chap on syntax and morpho
2007-08-28 20:44:41 +00:00
aarne
f573819cfe
section on cf grammars
2007-08-28 14:10:01 +00:00
aarne
37b520b440
intro revised
2007-08-28 13:40:13 +00:00
aarne
16a6034cdb
chapter on parameters
2007-08-26 18:21:33 +00:00
aarne
419f9bf5e1
generation bug fix
2007-08-26 07:56:46 +00:00
aarne
217f485491
at
2007-08-21 07:22:07 +00:00
aarne
85c03ab269
at
2007-08-21 07:21:29 +00:00
aarne
6b46a172d4
mailing list
2007-08-21 07:20:23 +00:00
aarne
ee2f0c2653
oops oops
2007-08-20 13:14:23 +00:00
aarne
ef252bf501
oops- wrong link
2007-08-20 13:13:22 +00:00
aarne
b221de4150
updated course description with schema
2007-08-20 13:10:23 +00:00
aarne
daeaa0f114
section on agreement
2007-08-16 21:35:11 +00:00
aarne
76477c82b9
foods example moved and completed
2007-08-16 20:12:45 +00:00
aarne
7e70f4521c
book in separate file
2007-08-16 16:23:30 +00:00
aarne
823277953a
moved tutorial examples to GF/examples
2007-08-16 16:18:54 +00:00
aarne
7dc6aaf68d
improving mini res morpho
2007-08-16 14:10:06 +00:00
aarne
912cbb3bf3
prepared mini syntax example
2007-08-16 09:41:00 +00:00
aarne
09e69820b4
book style
2007-08-15 16:36:31 +00:00
aarne
0335654b57
restructured middle part of tutorial
2007-08-15 10:17:50 +00:00
aarne
e6b0cc5299
Hello grammars in tutorial
2007-08-14 14:09:25 +00:00
aarne
0a1d057855
new tutorial version started
2007-08-13 15:54:41 +00:00
aarne
fdc22e66e5
better packages built with make binary-dist
2007-07-08 19:46:55 +00:00
aarne
9547ae6a85
g to G
2007-07-08 18:45:22 +00:00
aarne
c8f4bac343
name of the link
2007-07-08 18:44:02 +00:00
aarne
0b2d8145dd
link to tmp-download
2007-07-08 18:43:20 +00:00
aarne
4663bf65fc
G to g
2007-07-08 18:41:50 +00:00
aarne
a4a7df73fd
tmp download
2007-07-08 18:38:09 +00:00
bringert
3d786625fa
Use darcs dist instead of darcs get in make dist. This should get around the problem with partial repositories.
2007-07-08 18:32:45 +00:00
aarne
30f6af1b88
those links to tutorial... make grammar-dist
2007-07-08 17:25:03 +00:00
aarne
41ba09819f
links to tutorial in index
2007-07-08 17:11:52 +00:00
aarne
f6b2d12d4b
doc tut in pdf
2007-07-08 16:55:18 +00:00
aarne
09d13581d2
updated doc
2007-07-08 16:53:52 +00:00
aarne
c7e85d60fb
tutorial in final form
2007-07-08 16:36:56 +00:00
aarne
812be937fd
handle unknowns words graciously in parseAny
2007-07-08 13:55:00 +00:00
aarne
790691f190
workaround for editor bug in Scandinavian UseN
2007-07-08 13:36:03 +00:00
aarne
58f3387609
Finnish object cases in lexicon and Paradigms
2007-07-08 13:24:22 +00:00
aarne
3fbeeca121
modal verbs in IrregGer corrected
2007-07-08 13:02:41 +00:00
aarne
751a841191
peb's forest patch
2007-07-08 12:43:07 +00:00
aarne
ff8758c8db
Updated version numbers.
2007-07-08 12:36:30 +00:00
aarne
b425d960dc
new tutorial almost finished
2007-07-06 15:37:32 +00:00
bringert
8517d2ead6
Nicer mkDet usage in Toy0I
2007-07-06 12:03:47 +00:00
bringert
f8b00b2ac7
compiled target in resource-1.0 now depends on alltenses mathematical multimodal present prelude, in order to make the main Makefile simpler.
2007-07-05 12:29:42 +00:00
bringert
de62a2f8e6
Use compiled.tgz in dist and install-lib.
2007-07-05 12:25:00 +00:00
bringert
aeb45fa03e
Set build variable in config.mk
2007-07-05 12:23:39 +00:00
aarne
982ef7b015
renamed mkNP to makeNP in Paradigms; added overloaded Paradigms to all 10
2007-07-06 08:47:59 +00:00
aarne
9f29d502cb
res doc updates
2007-07-05 21:15:48 +00:00
aarne
b3c5edfdc4
resource-food example in tutorial
2007-07-05 20:52:56 +00:00
aarne
0a05bbea4f
Hans Leiss' fix in Russian mkpresent
2007-07-05 19:53:23 +00:00
aarne
1d72f0b1f8
hacky solution to name resolution warnings
2007-07-05 14:08:58 +00:00
aarne
f88ff1cf50
updated gf-modules
2007-07-05 09:58:52 +00:00
aarne
a8514f9d18
make clean; compilation in resource index
2007-07-04 21:15:05 +00:00
aarne
e35008b11e
index for new resource API
2007-07-04 21:01:10 +00:00
aarne
32615181a0
updated resource license and docs and makefile
2007-07-04 20:55:58 +00:00
bringert
69ba797c35
Added prelude target to lib/resource-1.0/Makefile, to make src/Makefile work.
2007-07-04 15:40:47 +00:00
bringert
f626a08116
Changed dist target to work with current darcs version.
2007-07-04 15:38:42 +00:00
bringert
c49b68d3b8
Added lib target to src/Makefile. It builds all the resource-1.0 modules.
2007-07-04 15:30:07 +00:00
aarne
8448623d36
tutorial exercises; put libdir in place in GF/src
2007-07-04 14:10:41 +00:00
bringert
aa5d9556ff
Install compiled resource modules in source and binary installs.
2007-07-04 13:27:22 +00:00
bringert
0c90c3843f
Remove old VCS configure flags.
2007-07-04 13:27:04 +00:00
bringert
1c2161d820
Fixed NOINLINE bug in Today.hs
2007-07-04 13:26:17 +00:00
aarne
7ee279fa3f
tex option for synopsis; not so nice-looking yet
2007-07-04 13:21:41 +00:00
aarne
0cad9315fb
extended Synopsis with categories, structural, and an example
2007-07-04 09:39:24 +00:00
bringert
e9857531e1
Build GF/Today.hs directly from Makefile. Include libdir.
2007-07-04 12:49:01 +00:00
bringert
b9243c037a
Fized some typos in Toy1.
2007-07-04 11:27:06 +00:00
aarne
cd874a6ce4
documentation for tutorial appendix
2007-07-03 16:32:54 +00:00
aarne
bd52e0d936
contents of new tutorial
2007-07-03 15:29:23 +00:00
aarne
942da503d7
started next version of tutorial
2007-07-03 15:28:50 +00:00
aarne
c0cdc31844
typo in ParadigmsSwe causing a bug fixed
2007-07-03 12:59:26 +00:00
aarne
e53a28a3a8
generalized MakeOverload to TreeSelections
2007-07-03 07:11:30 +00:00
aarne
8e4b7f73a2
completed OverGrammar with missing params
2007-07-02 20:00:25 +00:00
aarne
e465bd5b93
parsing overloaded constructors as result
2007-07-02 13:58:02 +00:00
aarne
e2b6f56d17
contravariance in forgiving lock fields
2007-07-02 11:53:04 +00:00
bringert
6b2f48cb83
German UttNP now uses nominative.
2007-06-28 08:10:41 +00:00
bringert
731b5c4f98
CFRules tracing.
2007-06-28 01:26:09 +00:00
bringert
448e1db488
-printer=regexp handles precedence
2007-06-28 01:25:36 +00:00
bringert
f2710ba80d
bottom-up and top-down filtering do not need fix point iteration.
2007-06-27 17:46:34 +00:00
bringert
674424c252
Refactor TransformCFG: use Map for CFRules.
2007-06-27 17:22:59 +00:00
bringert
f664497bcd
Make bottomUpFilter better by also removing categories which contain no finite strings.
2007-06-27 16:27:55 +00:00
bringert
836e596189
Print SRG stats when preprocessing grammar.
2007-06-27 16:27:08 +00:00
bringert
0bf61ef626
Comment out tracing in CanonToGFCC. It produces lots of junk when generating SRGs.
2007-06-27 15:39:42 +00:00
bringert
6bd9a9faaf
Use shorter lines and paragraph-filling in SRGS, JSGF and GSL printing.
2007-06-27 14:25:39 +00:00
aarne
2e7f415ac8
checked Ara and Cat w.r.t the new lib structure
2007-06-27 15:26:30 +00:00
aarne
83f7e26855
Numeral in Syntax; Ara and Cat
2007-06-27 14:15:26 +00:00
bringert
b52001c74f
Use nominative in English UttNP.
2007-06-27 13:50:26 +00:00
bringert
cc25c3a851
The no-functor toy0 english now uses N for Noun.
2007-06-27 13:00:09 +00:00
bringert
83d0dca023
Cleaned up names and paths in toy0 grammars.
2007-06-27 12:50:42 +00:00
bringert
236d4ca62f
Added no-functor version of Toy0Eng.gf
2007-06-27 12:42:25 +00:00
bringert
d734e2c40b
Added english and french parameterized toy0 cocnrete sytnaxes.
2007-06-27 12:40:25 +00:00
bringert
780325e4ff
Moved the different versions of the toy0 concrete modules to different subdirectories.
2007-06-27 12:38:24 +00:00
aarne
df54b3071a
resource synopsis
2007-06-27 11:03:56 +00:00
bringert
6c074d38c6
Limit GSL/JSGF/SRGS ABNF grammar line width to 80.
2007-06-27 09:07:51 +00:00
aarne
cfe3d8699f
example-based Toy0
2007-06-27 08:23:45 +00:00
aarne
7effa62fe5
overload in ParadigmsSpa
2007-06-26 20:48:44 +00:00
bringert
9cf1ae6112
Fewer redundant parantheses in JSGF and SRGS ABNF.
2007-06-26 16:51:09 +00:00
bringert
ee39e2c742
SRGS XML: the meta tag should use empty tag short-hand.
2007-06-26 15:20:32 +00:00
bringert
84e030d128
Oops, I had managed to remove the preprocessing step in makeSimpleRegular, which broke SLF and non-rec SRGS generation for grammars which need bottom-up filtering.
2007-06-26 15:09:48 +00:00
bringert
77920fd23a
Eliminate more redundant item tags in SRGS XML.
2007-06-26 12:27:46 +00:00
bringert
eb92a9bf8f
Produce less verbose SRGS XML, by eliminating redundant item tags.
2007-06-26 12:19:30 +00:00
aarne
fc2da7dd66
overload in ParadigmsIta
2007-06-26 14:43:43 +00:00
aarne
f68011e9ee
example Toy0Fin0
2007-06-26 08:39:45 +00:00
bringert
b81b9b910e
Implement makeNonRecursiveSRG by conversion through MFA instead of directly to RE.
2007-06-25 16:50:28 +00:00
bringert
58dc4c30eb
Added srgs_abnf_non_rec.
2007-06-25 16:50:00 +00:00
bringert
92db9f7268
Document non-recursive SRGS.
2007-06-25 16:49:36 +00:00
bringert
ca8efaf3c7
Some clean-up in finite-state network generation: MFA now keeps track of start lattice name, instead of having a wrapper lattice. Replaced MFALabel with Symbol.
2007-06-25 16:25:58 +00:00
bringert
e967e040f9
Added non-recursive SRGS printing.
2007-06-25 13:39:26 +00:00
bringert
815cc5a7eb
Some refactorings needed for recursion removal.
2007-06-25 13:38:40 +00:00
aarne
33d7b2567b
started paradigms synopsis
2007-06-25 16:34:36 +00:00
aarne
b114cb6283
prepared examples for Speechgram presentation
2007-06-25 15:33:40 +00:00
bringert
8cdbaa39f7
Added makeSRG.
2007-06-21 13:40:13 +00:00
bringert
4d28e6ec1c
SRG always has RE rhs.
2007-06-21 13:11:26 +00:00
bringert
23d1917b0d
Removed some unused imports of GF.Speech.SRG.
2007-06-21 12:52:59 +00:00
bringert
13b8bab5fe
Added regexps grammar printer. This is a first step towards recursion-free SRGS.
2007-06-20 16:08:23 +00:00
bringert
a029232eef
Added language flags to bronzeage grammars.
2007-06-20 12:22:28 +00:00
aarne
8e842f5473
overload for finnish paradigms finished
2007-06-20 08:56:08 +00:00
aarne
a2e5a02c61
restricted functor example
2007-06-19 19:35:04 +00:00
aarne
2344e4eb80
mk12V in LexiconFin
2007-06-19 19:27:06 +00:00
aarne
ff7bc5a29d
documented extended module syntax
2007-06-19 18:21:43 +00:00
aarne
219c686633
extended functor syntax
2007-06-19 18:12:35 +00:00
aarne
2ded5b6d28
overload res doc examples, part 2
2007-06-19 18:09:49 +00:00
aarne
1a649a6a1d
overloaded resource doc examples
2007-06-19 18:07:18 +00:00
aarne
137c1be3d8
started overloaded Fin
2007-06-19 09:29:43 +00:00
aarne
23d68dec81
updated resource doc intro with overloaded examples
2007-06-19 09:04:22 +00:00
aarne
953b5a635a
missing AdvS in Rus added
2007-06-19 07:35:01 +00:00
aarne
7ba9b68463
ad hoc Russian rule for completeness
2007-06-18 21:56:22 +00:00
aarne
5f5ca84c7e
fixes to make resource Makefile to run without errors
2007-06-18 21:44:50 +00:00
aarne
f5b929acfc
fixed the mysterious "file..gfc" error
2007-06-18 21:21:13 +00:00
aarne
050ef5576b
updated document for numerals
2007-06-18 19:25:35 +00:00
aarne
d713840556
disambiguating qualifications in Bronzeage
2007-06-18 19:14:32 +00:00
aarne
6d22ade8a8
overloading in ParadigmsFre
2007-06-18 18:31:02 +00:00
aarne
76d364dcac
reformat IrregSpa to speed up compilation
2007-06-17 23:04:25 +00:00
aarne
6a2cbe19d2
fixed naming conflicts in resource
2007-06-17 22:52:27 +00:00
aarne
3adf824e8e
checking name conflicts; some RGs don't work now
2007-06-17 21:56:27 +00:00
aarne
adf0f8e83e
marked deprecated productions in GF.cf
2007-06-17 14:16:01 +00:00
bringert
5c5c8d81c9
Added a simple cabal build system for the embedded API.
2007-06-14 16:08:38 +00:00
bringert
630cf47eeb
Move some type annotations from patterns to expressions. Haskell 98 does not allow type signatures in expressions.
2007-06-14 16:02:07 +00:00
bringert
48081dc340
Added OPTIONS_GHC -fglasgow-exts to files that use GHC extensions.
2007-06-14 15:58:36 +00:00
aarne
b83a9ec335
toy1 with classes and using resource API
2007-06-11 14:53:08 +00:00
aarne
e6d82e85c1
toy1 in English
2007-06-11 08:55:32 +00:00
aarne
265f29afb6
initial check for unknown words in parsing
2007-06-11 07:49:30 +00:00
aarne
84c08b1401
README for regulus
2007-06-10 20:28:12 +00:00
aarne
563460c72d
started regulus grammar implementation
2007-06-10 19:55:45 +00:00
aarne
84aafe7914
bug fix in Compute
2007-06-09 14:08:23 +00:00
aarne
31cbed2d60
some new shortcuts in Compute; no impressive results
2007-06-08 16:55:25 +00:00
aarne
e8a580414a
some more doc in ParadigmsGer
2007-06-08 15:53:24 +00:00
aarne
5c0f1a3fc0
restructured Russian; copies of Constructors in present and alltenses
2007-06-08 15:30:21 +00:00
aarne
741d3e1706
some new overload cases in ParadigmsEng
2007-06-08 14:38:02 +00:00
aarne
8328624ea0
fine-tuning api documentation
2007-06-08 13:42:09 +00:00
aarne
2f29d1e33a
further structuring of ParadigmsSwe
2007-06-08 13:11:37 +00:00
aarne
333cf5e0e6
pattern matching optimization; trace of fun in compilation with -v
2007-06-08 12:50:01 +00:00
aarne
52230cc177
overloaded Swedish paradigms
2007-06-08 09:59:06 +00:00
aarne
b6a892c9b9
typo in ExxI
2007-06-07 12:19:37 +00:00
aarne
7b52a4b1a1
typos in filenames
2007-06-04 14:17:17 +00:00
aarne
f7aaed3822
generating example file
2007-06-04 14:14:04 +00:00
aarne
308b579cff
Exx-file complete except holes for Int
2007-06-04 12:44:51 +00:00
aarne
d014312aa9
determiner examples, Finnish
2007-06-03 18:42:43 +00:00
aarne
0a9b72dd90
added NP examples and French
2007-06-03 15:10:18 +00:00
aarne
8918619a15
added VP exx
2007-06-03 09:42:49 +00:00
aarne
01840d027d
lib examples numbered, some more added
2007-06-03 08:07:16 +00:00
aarne
0a3cf11859
example generation started
2007-06-02 21:50:55 +00:00
aarne
0958b4ddd2
COnstructors complete
2007-06-02 18:53:13 +00:00
aarne
e73e7901aa
restructured half of Constructors
2007-06-01 13:45:20 +00:00
aarne
b24ecdfcba
syntax interfaces
2007-05-31 18:46:29 +00:00
aarne
21f2d8a96f
arranging argument type layout in COnstructors
2007-05-31 15:21:34 +00:00
aarne
9c1e6f49b3
more todoConstructors
2007-05-31 14:33:58 +00:00
aarne
ad1af38d60
resource doc in tutorial
2007-05-31 13:43:46 +00:00
aarne
74c032b688
inspected Combinators and marked todos
2007-05-31 13:19:19 +00:00
aarne
d01dfff9d3
overload checking and messages; resource.txt modifs
2007-05-31 09:58:38 +00:00
aarne
1c59cd63f9
further work on tutorial
2007-05-30 19:29:24 +00:00
aarne
3447b34e09
freshed up the tutorial
2007-05-30 12:59:52 +00:00
aarne
a5e248741a
new bib items
2007-05-29 08:24:42 +00:00
aarne
f6fdb72c2e
Dan and Nor missing forms
2007-05-24 14:43:44 +00:00
aarne
9b2ec30b68
some new bib entries
2007-05-17 21:09:45 +00:00
aarne
1317c89fd4
started direct compiler from GF to GFCC
2007-05-15 16:35:13 +00:00
bringert
e857cdf485
Added n : Number field to German Numeral and Num.
2007-05-11 16:07:03 +00:00
bringert
e426957777
Use prepV2 instead of mkV2 in LexiconGer.
2007-05-11 15:43:14 +00:00
bringert
738ca3dc25
Overloaded German mkV2.
2007-05-11 15:42:47 +00:00
bringert
e6e9098085
ParadigmsEng: reflV and partV shouldn't be in mkV.
2007-05-11 15:31:19 +00:00
bringert
adfed6ba8e
Use mk3A in LexiconGer.
2007-05-11 15:05:12 +00:00
bringert
056689fa9c
Overloaded German mkA.
2007-05-11 15:04:59 +00:00
bringert
f99c518621
Use mk6N in German lexicon.
2007-05-11 14:36:29 +00:00
bringert
41fb10fb18
Overloaded German mkN.
2007-05-11 14:36:14 +00:00
bringert
7f9fe8b2fd
Use non-overloaded mk6V in german lexica.
2007-05-11 14:29:50 +00:00
bringert
bd9bee5887
Overloaded mkV for German.
2007-05-11 14:29:28 +00:00
bringert
af5ca3540e
Added versions of mkV for regular and irregular verbs with consonant duplication to ParadigmsEng.
2007-05-11 14:15:37 +00:00
bringert
8438ba16de
Added n : Number field to the Num category for English.
2007-05-11 13:38:54 +00:00
aarne
f40b784f16
param values for TInts in Canon.Look
2007-05-11 13:57:34 +00:00
bringert
fa02a747e0
Use non-overloaded versions of mkV and mkV2 in IrregEng and LexiconEng.
2007-05-11 13:36:16 +00:00
bringert
40983768d9
Fixed < > encoding in int parameter example in gf-history.
2007-05-11 13:35:43 +00:00
bringert
f870073e77
Overloaded mkA, mkV and mkV2 in ParadigmsEng. Not all paradigms could be included, because of type conflicts, e.g. with the dupl* forms.
2007-05-11 12:48:39 +00:00
aarne
283cf9900a
ids for GF rather than BNFC in AbsToBNF
2007-05-10 14:06:45 +00:00
bringert
94531fac8a
Added haskell_gadt -printer. It does not include a Compos instance yet, so it's not terribly useful.
2007-05-10 13:56:41 +00:00
aarne
6b6c25e5cb
modernized and completed Minimal for absbnf testing
2007-05-10 13:49:26 +00:00
aarne
6254f61d65
printing abs as BNF
2007-05-10 12:51:40 +00:00
bringert
d33016fae7
updated gfdoc
2007-05-09 16:01:06 +00:00
bringert
3c394ab362
Added mkUtt : Cl -> Utt
2007-05-09 15:59:18 +00:00
bringert
b2b085da47
Fixed examples for anteriority in Constructors
2007-05-09 15:50:35 +00:00
bringert
54ac9991f3
Updated gfdoc.
2007-05-07 14:13:33 +00:00
bringert
5c602cd69d
Added mkDet : Int -> Det, and mkNP variants which take Num, Int and Digit.
2007-05-07 14:05:13 +00:00
aarne
5bb2bb7978
ref to Bj?rn's paper
2007-05-04 09:54:32 +00:00
aarne
d2f42a06e8
Ali's new paper added to refs.
2007-05-04 09:49:25 +00:00
aarne
0c1198f025
gf-bibliography extended and converted to txt source
2007-05-04 08:23:37 +00:00
aarne
0b4017bd50
removed the Str/Tok distinction in CheckGrammar - obsolete anyway.
2007-05-03 13:55:34 +00:00
aarne
f60b619b4e
Henning Thielemann's corrections on LexiconGer
2007-04-27 15:55:57 +00:00
bringert
1eca0da869
Added gflib-xhtml-voice.js which contains some XHTML+Voice functions.
2007-04-21 21:46:48 +00:00
bringert
a437eccd64
Updated gfdoc.
2007-04-21 18:30:43 +00:00
bringert
61368047cc
Added mkCl : NP -> V -> Cl and mkCl : NP -> V2 -> NP -> Cl.
2007-04-21 18:30:12 +00:00
bringert
aab4187aa8
Fixed use of -unlexer in EmbedAPI. Before, EmbedAPI.linearize ignored the flags in the grammar.
2007-04-21 16:20:02 +00:00
bringert
7f76f013c9
Updated gfdoc for resource API
2007-04-21 15:52:16 +00:00
bringert
b3b7e9a8f7
Added mkText : Cl -> Text
2007-04-21 14:57:17 +00:00
bringert
531119dad5
Updated gfdoc.
2007-04-21 11:02:52 +00:00
bringert
c172625af1
Added mkCN variants that take A.
2007-04-21 10:44:02 +00:00
bringert
9d092898cd
Added some mkCl variants with adjective predication.
2007-04-21 10:32:13 +00:00
bringert
f717bc4553
Updated gfdoc
2007-04-21 10:24:36 +00:00
bringert
69ac75b0a8
Constructors: added mkCl : NP -> A -> Cl
2007-04-21 10:23:32 +00:00
bringert
0b03eda417
Updated gfdoc.
2007-04-21 10:03:22 +00:00
bringert
1bcf531b14
Constructors: added more variants of mkText.
2007-04-21 10:02:49 +00:00
bringert
93f7a3190c
Constructors: added more variants of mkS : ... -> Cl -> S
2007-04-21 09:52:09 +00:00
bringert
ea0500e61d
Updated resource gfdoc.
2007-04-21 09:39:36 +00:00
bringert
6633024433
Added overloaded negation to Combinators.
2007-04-21 09:38:52 +00:00
bringert
eedd5a5ad0
Regenerated gfdoc
2007-04-20 22:56:11 +00:00
bringert
aa8dbcea8a
Added mkText : Phr -> Text
2007-04-20 22:55:55 +00:00
bringert
59ccc22409
Added some more versions of mkQS and mkCl.
2007-04-20 22:31:10 +00:00
bringert
ba789d6fe7
Added missing doc/gfdoc/Lexicon.html
2007-04-20 21:53:46 +00:00
aarne
56c4e750a0
record labels in compiler experiment
2007-04-20 15:36:33 +00:00
bringert
8150faa640
Fixed link to Symbolic docs.
2007-04-19 21:35:37 +00:00
bringert
f67c379f4a
Updated gfdoc for resource-1.0
2007-04-19 21:27:01 +00:00
bringert
afa4681458
Added some determiners to Constructors.
2007-04-19 21:26:19 +00:00
bringert
a609e26185
Updated resource api docs
2007-04-19 21:08:28 +00:00
bringert
90393455a7
Added versions of mkCn that take N instead of CN arguments.
2007-04-19 21:07:37 +00:00
aarne
42bf389e1b
bib entry
2007-03-31 15:53:36 +00:00
aarne
04149917aa
bracket
2007-03-29 14:11:14 +00:00
aarne
5ab210f3bc
links in gf course
2007-03-29 14:09:53 +00:00
aarne
e128d6505a
I want phrases in thai travel
2007-03-28 14:40:29 +00:00
aarne
a7e57ba296
primitive pattern matching
2007-03-27 20:54:49 +00:00
aarne
e9cf5cb2ba
distinct form for opers that have no value
2007-03-27 16:40:54 +00:00
aarne
b4798143bf
top-level toy compiler - far from complete
2007-03-27 16:32:44 +00:00
bringert
91c7b22e8c
Nicer formatting of generated GSL.
2007-03-27 10:21:16 +00:00
aarne
5c9a870fc3
started eval
2007-03-26 21:13:37 +00:00
aarne
6ded4ba69c
toy target language
2007-03-26 21:02:30 +00:00
bringert
896233c4a9
Remove all empty SLF nodes, don't care about edge explosion. Empty nodes are pprobably worse than lots of edges.
2007-03-26 17:36:58 +00:00
bringert
651697982b
Use EBNF compaction for GSL.
2007-03-26 14:51:24 +00:00
bringert
94bdd1fb23
Fixed SISR bug.
2007-03-26 13:12:04 +00:00
aarne
bc2b02e10d
param encoding
2007-03-25 19:16:47 +00:00
bringert
b1919ca62f
Added directly cyclic SRG test case.
2007-03-25 16:44:30 +00:00
bringert
f9ad1dfe2d
Give SRG test cases human-readable names.
2007-03-25 16:42:52 +00:00
bringert
2091df47fe
commented LC_LR modification
2007-03-25 16:34:53 +00:00
bringert
4905996816
Also remove indirectly cyclic productions.
2007-03-25 16:34:35 +00:00
bringert
935b60f977
Removed srg0006, it was a duplicate of srg0002
2007-03-25 16:34:11 +00:00
bringert
4a604934e9
Added srg0006: A grammar with a cycle caused by an empty production.
2007-03-25 16:11:51 +00:00
bringert
d35727631c
Comments only.
2007-03-25 11:26:03 +00:00
bringert
8a435873f2
SRG generation: merge categories with identical set of productions. The LC_LR algorithm produces lots of those, especially when there is little inflection.
2007-03-24 23:29:38 +00:00
aarne
bd3db32363
simple source language for compiler experiment
2007-03-24 23:11:59 +00:00
bringert
99af757b06
Modified the LC_LR implementation to only produce rules using A-X categories when those categories have any productions.
2007-03-24 17:30:04 +00:00
bringert
0058f6281f
Better debugging output when SRG generation crashes because of a missing category.
2007-03-24 17:26:21 +00:00
bringert
62854384e6
Just renaming in srg0005
2007-03-24 17:25:07 +00:00
bringert
5c5f63a48d
Shrunk srg0005
2007-03-24 15:48:29 +00:00
bringert
2d713e78a5
More srg test cases.
2007-03-24 15:34:33 +00:00
bringert
7095f7aa19
Added srg0004: a simple left-recursive grammar.
2007-03-24 15:13:18 +00:00
aarne
464e93de38
components
2007-03-23 18:28:26 +00:00
aarne
28746babf0
gf course description
2007-03-23 18:27:05 +00:00
bringert
cd6d10d90b
Added srg0003: test case for indirect cycles.
2007-03-23 18:13:38 +00:00
bringert
10dbc3c652
Uncommented troublesome rules in srg0002
2007-03-23 18:10:21 +00:00
bringert
289ee4869e
Added test case which demonstrates a bug with implicit left recusion in SRG generation.
2007-03-23 18:09:22 +00:00
bringert
082b3575f8
Updated resource api doc
2007-03-22 14:38:32 +00:00
bringert
6b2a890410
Added mkDet : Digit -> Det
2007-03-22 14:36:52 +00:00
bringert
85cf5ecf21
Regenerated resource api docs.
2007-03-22 14:30:53 +00:00
bringert
1a37e4f0fe
Overaloed resource API: added mod combinators for Det -> N -> NP and Det -> CN -> NP
2007-03-22 14:29:45 +00:00
aarne
93c67cd37d
bug fixes in math ger
2007-03-21 09:08:29 +00:00
aarne
6f2bf05b0f
German conjunctive
2007-03-20 15:30:02 +00:00
bringert
0eac3f6b58
Remove removeIdenticalRules, since it would get rid of alternative parse results.
2007-03-20 22:09:17 +00:00
bringert
fe73354cc6
Do the same initial transformations as for CFGs when generating FAs: remove cycles, identical rules and down top-down and bottom-up filtering.
2007-03-20 22:00:50 +00:00
bringert
4d369e096f
Do top-down and bottom-up filtering together to a fixed point.
2007-03-20 21:59:36 +00:00
bringert
c2dd74f33e
Moved code and comments around in TransformCFG.
2007-03-20 21:35:24 +00:00
bringert
a473281c65
Renamed removeEmptyCats to bottomUpFilter.
2007-03-20 21:15:59 +00:00
bringert
e31ccc4567
Removed dead export list.
2007-03-20 21:15:43 +00:00
bringert
0300c35d87
Removed fixed FIXMEs.
2007-03-20 21:15:26 +00:00
aarne
7066c905f6
German compund verbs glued in morphology
2007-03-20 10:35:03 +00:00
bringert
205f79efc6
Use makeSimpleSRG everywhere and remove makeSRG. Reimplemented top-down filtering in terms of CFRules instead of SRG. Do top-down filtering in makeSimpleSRG.
2007-03-19 18:03:19 +00:00
aarne
f0415dd0bc
Spanish verb inflection with vowel change
2007-03-19 15:18:44 +00:00
aarne
7f1999f97d
thai phrase translator
2007-03-16 16:23:39 +00:00
aarne
0e28aef3b5
ma -status; sep lines for l -all
2007-03-14 12:11:18 +00:00
aarne
72c1457bab
bib entries
2007-03-01 20:10:25 +00:00
aarne
18c97fa5c0
model for resource
2007-02-28 15:49:13 +00:00
aarne
e03c2cb4ad
parsing method in EmbedAPI
2007-02-28 10:37:37 +00:00
aarne
becea4c52d
Catalan idioms for inverted
2007-02-26 19:01:06 +00:00
jordi.saludes
496bf775b7
catalan adjectives in lexicon
2007-02-17 20:26:46 +00:00
aarne
ea102fda23
fixed the inverted negated word order with pronouns in French
2007-02-25 22:06:25 +00:00
aarne
b9e8708024
German CN Num construction
2007-02-24 16:43:11 +00:00
aarne
42d825aefd
PartCN in ExtraFin
2007-02-24 15:47:45 +00:00
aarne
fab99103c4
existential relative in ExtraFin
2007-02-24 15:21:30 +00:00
aarne
0e0bcfee2f
romance bug fixes
2007-02-24 14:36:04 +00:00
aarne
a11bb7a23c
Romance inverted questions
2007-02-24 11:35:46 +00:00
aarne
5c7bd4c5c7
cc output as pipable string
2007-02-24 09:16:30 +00:00
aarne
67470b29cc
cc -table
2007-02-23 16:28:06 +00:00
aarne
446ebd229c
motor
2007-02-23 15:26:42 +00:00
aarne
c763484847
German "nehmen" forms
2007-02-20 21:45:31 +00:00
bringert
d8cf83d98f
Added a simple unlexer in the JavaScript library.
2007-02-20 12:54:12 +00:00
aarne
10bd5b02ea
essential LP phrases, pron table
2007-02-17 21:44:42 +00:00
bringert
6c3870c96b
VoiceXML generation: the grammar file name should be based on the concrete syntax module name rather than the abstract.
2007-02-16 21:29:01 +00:00
aarne
72b6adc93c
urdu
2007-02-14 14:29:15 +00:00
aarne
5009179ee7
catalan resource
2007-02-13 15:43:36 +00:00
aarne
d5b8c4d6c6
thai word list corrections
2007-02-11 22:15:37 +00:00
aarne
f204abaf15
thai diphthong table
2007-02-11 21:34:10 +00:00
aarne
44f06851b8
german imperative compound verbs
2007-01-31 10:11:00 +00:00
bringert
6bed1fed96
Handle coercion functions (_) in CFG generation for SRG.
2007-01-29 12:30:49 +00:00
bringert
301d268141
Removed CFConst constructor, since it was unused.
2007-01-29 12:21:15 +00:00
bringert
f56b617f5a
Document CFTerm constructors.
2007-01-29 12:20:31 +00:00
aarne
21ad6f214c
produce a readable word list
2007-01-25 17:49:39 +00:00
bringert
780d0b2c42
No spaces after newlines in JavaScript pretty-printer.
2007-01-23 16:31:44 +00:00
bringert
979a54af35
Rename children to args in VoiceXML/SISR/JavaScript.
2007-01-22 20:48:14 +00:00
aarne
6bbc7e804f
pronunciation variant of LangThai (still buggy)
2007-01-21 21:07:35 +00:00
aarne
edbfc31000
thai questions and negations
2007-01-21 20:41:35 +00:00
bringert
b768aa780f
Use _cat category as root in SRGS ABNF and JSGF. SRGS XML already did this.
2007-01-21 17:10:10 +00:00
bringert
a9dfb0e477
Nicer spacing and indentation in JavaScript pretty-printer.
2007-01-21 17:00:15 +00:00
bringert
99d774c2f5
Get speechLanguage flag from both command-line and grammar. Reformat it to RFC3066 format (- instead of _) and use it in SRGS, VoiceXML and JSGF.
2007-01-21 16:33:44 +00:00
bringert
2fcafc2022
SRGS ABNF generation: semicolon after meta decls, no $NULL before initTag since the standard doesn't require it, and it crashes Opera, include tag-format declaration.
2007-01-21 16:01:36 +00:00
bringert
d40e559e04
Added SRGS ABNF printers to HelpFile.
2007-01-21 15:12:34 +00:00
bringert
855cc16112
Removed the srg value for pg -printer. Users should use pg -printer=srgs_abnf instead.
2007-01-21 15:10:49 +00:00
aarne
0feb059009
started thai resource
2007-01-21 14:17:29 +00:00
bringert
242f3c751e
Removed the old srg printer, which produced SRGS ABNF.
2007-01-19 17:09:20 +00:00
bringert
a8ffca6ff0
Don't print compile date in SRGS XML grammars.
2007-01-19 17:05:07 +00:00
bringert
2c13c5089a
Added SRGS ABNF generation.
2007-01-19 17:04:32 +00:00
aarne
b8b12780e5
bibliography entries in doc
2007-01-19 16:03:57 +00:00
bringert
b9bd1ac68d
VoiceXML: use block cond instead of field expr. For some reason the field expr doesn't work right in Opera.
2007-01-18 17:58:40 +00:00
bringert
2b369e12aa
VoiceXML generation: cleaned out some old cruft. Use simpler names for variables and fields in forms.
2007-01-18 17:29:44 +00:00
bringert
028415ebd8
Disable help and reprompt stuff in VoiceXML generation, to make nicer looking VoiceXML. They didn't really add much anyway, since there is no help generation yet.
2007-01-18 16:50:29 +00:00
aarne
69e0d13380
french lexicon bug fixes
2007-01-15 16:50:06 +00:00
aarne
2f9319d7fd
fix in etaexpand optimization
2007-01-11 11:42:39 +00:00
aarne
575a49620f
a slight optimization in eta expand
2007-01-10 21:27:15 +00:00
aarne
9b1fb0c1c0
semantics of variants
2007-01-10 21:03:18 +00:00
aarne
61e932e797
thai phrasebook example started
2007-01-09 14:53:19 +00:00
bringert
312e477169
Sort rules in CFGM files by category and function.
2007-01-08 17:50:24 +00:00
aarne
2d60e4a187
some changes in Thai coding
2007-01-08 17:25:37 +00:00
aarne
ec2b12cf65
thai pronunciation better now
2007-01-08 16:12:27 +00:00
bringert
3e9d2b4a2f
Use ENBF to generate SRGS.
2007-01-07 23:58:41 +00:00
bringert
a4aec2da49
Added ETag constructor to GF.Data.XML.XML since not all tags can use the empty shorthand.
2007-01-07 23:57:29 +00:00
bringert
ac3d790e14
Added test/ directory, and a test grammar for the SRG EBNF generation.
2007-01-07 23:18:12 +00:00
bringert
1f3cb2546a
Fixed bug in SRG EBNF generation. Before it assumed that all variation came from variants, and overgenerated if this was not true.
2007-01-07 23:16:32 +00:00
aarne
f6fe45ac5a
thai pron heuristic (not finished)
2007-01-07 22:49:55 +00:00
bringert
476080e6db
Generate more compact JSGF by converting to ENBF.
2007-01-07 20:04:39 +00:00
bringert
bb7eb9f78d
JavaScript: fixed bug when linearization overwrote the children of the abstract syntax node, since getChildren now returned the actual array of children.
2007-01-07 18:31:48 +00:00
bringert
3220f75dcb
VoiceXML generation: catch up with children array in SISR.
2007-01-07 18:31:03 +00:00
bringert
8d29a4241b
Added unused simple VoiceXML generation. It won't work in Opera because of the lack of subdialog srcexpr attribute support.
2007-01-07 17:19:58 +00:00
bringert
d549ce6256
JavaSscript and SISR abstract syntax now uses an array for the node children, instead of cheesy argN fields.
2007-01-07 17:18:50 +00:00
bringert
133491fd8b
SISR code now type annotates meta variables directly in grammar, to avoid a separate type annotation step.
2007-01-05 17:34:44 +00:00
bringert
d776adc1f5
Use the GFCC type from DataGFCC when building VoiceXML.
2007-01-05 17:05:31 +00:00
bringert
d45c1923cf
Use GFCC to build VoiceXML.
2007-01-05 16:46:50 +00:00
bringert
1ced5d0cb5
VoiceXML printer no takes Options and StateGrammar, like SRG printers do.
2007-01-05 15:47:53 +00:00
bringert
028f2e108e
Changed all SRG printer to take Options and StateGrammar arguments. This makes Custom a lot cleaner.
2007-01-05 15:38:47 +00:00
bringert
9af5b77102
Change input to the different SRG printers to be StateGrammar instead of CGrammar. This to allow looking at the types in SISR, and to reduce the number of argument passed from Custom.
2007-01-05 14:34:20 +00:00
bringert
0867fbb389
Commented out callbacks stuff in VoiceXML generation. It was not the right thing to have.
2007-01-04 22:40:06 +00:00
bringert
a47a95b4e2
JavaScript lib: fixed bug where an integer was returned by print().
2007-01-04 22:27:38 +00:00
bringert
988772ba37
JavaScript lib: allow children as arguments to Fun.
2007-01-04 22:01:38 +00:00
bringert
1ded2878f2
SISR: top categories do not need the Cat_field field.
2007-01-04 20:55:13 +00:00
bringert
73b0f72d2b
SRG: when making top-level categories, handle value categories introduced by -conversion=finite.
2007-01-03 23:14:10 +00:00
bringert
613c1527e9
SISR: constants from conversion=finite now produce abstract syntax nodes instead of strings.
2007-01-03 22:57:20 +00:00
bringert
3e7b707c69
Updated another reference to "Regular approximation of CFLs: a grammatical view"
2007-01-03 18:28:25 +00:00
bringert
454a52d9a2
VoiceXML: when checking the callbacks, use typeof to avoid errors with Opera 9.10.
2007-01-03 18:17:52 +00:00
bringert
f6a5ea8738
Updated reference to regular -> FA conversion.
2007-01-03 18:17:32 +00:00
aarne
5aa5005ba8
CompoundCN in Eng
2006-12-29 16:22:46 +00:00
bringert
159381e33a
Use printname to make VoiceXML prompts.
2006-12-28 17:12:40 +00:00
aarne
7d0ef6f873
thainum script
2006-12-28 14:36:21 +00:00
aarne
83c2aa92a2
corrections in thai numerals
2006-12-28 14:30:25 +00:00
aarne
f6105a2ef4
more thai transliteration; numeral thai grammars
2006-12-28 13:16:05 +00:00
aarne
233f01d6e9
update release procedule; start Thai transliteration
2006-12-27 14:05:21 +00:00
aarne
59e1a2791e
lib index
2006-12-22 14:19:55 +00:00
aarne
1d9ad21c58
fixing examples and their doc
2006-12-22 14:08:01 +00:00
aarne
6917d36e6e
resource doc update
2006-12-22 13:23:50 +00:00
aarne
ea4ffdc148
documented Combinators
2006-12-22 13:10:48 +00:00
aarne
4d6a1d7bad
overloaded api for all languages
2006-12-22 10:42:06 +00:00
bringert
da339b2686
Added gfcc2c to GF repo.
2006-12-22 13:43:32 +00:00
bringert
95d4af1f2d
Meta variables are now treated as functions with name ? in SISR, VoiceXML and JavaScript linearization. VoiceXML now returns the partial result when update() is false.
2006-12-21 16:48:46 +00:00
bringert
5eb3e7032a
Added voicexml,javascript,jsgf+sisr to gf-history and helpfile.
2006-12-21 15:00:30 +00:00
aarne
58f76dd1cf
length test in overload
2006-12-21 10:38:26 +00:00
aarne
453e7c5c42
overload rules and their documentation
2006-12-21 09:25:02 +00:00
bringert
e8b8185e04
Generate JavaScript type annotator. Use lindef in JavaScript.
2006-12-21 00:01:45 +00:00
bringert
5455046dd8
Fixed (final?) two bugs in the SISR generation.
2006-12-20 22:13:56 +00:00
bringert
10ac9be0e1
More JSGF pretty-printing.
2006-12-20 21:50:16 +00:00
bringert
947d1cf564
JSGF pretty printing tweaks.
2006-12-20 21:43:41 +00:00
bringert
01bb00deea
Use HughesPJ pretty printer to make JSGF output look nicer.
2006-12-20 21:39:25 +00:00
bringert
a7f2010c6a
Make smaller SISR code for tokens.
2006-12-20 20:22:08 +00:00
bringert
8424b23765
Removed tracing from PrJSGF.
2006-12-20 20:14:46 +00:00
bringert
cb70ffadaa
Use LCLR algorithm for eliminating left-recursion, with lambda terms in SISR for getting trees right.
2006-12-20 20:10:15 +00:00
bringert
5b8680b8fd
Added still unused implementation of Moore's LCLR algorithm for left recursion elimination. Fixed top category generation for SRG (included LR-elimination-added categories before).
2006-12-17 19:18:28 +00:00
bringert
3797fc35c5
Use [] in JSGF printing.
2006-12-17 18:16:20 +00:00
bringert
743e89fa9b
Some clean-up in GF/Speech/TransformCFG.hs
2006-12-17 13:29:12 +00:00
aarne
7bba9d1491
overload resolution with value type, for experiment
2006-12-19 23:34:36 +00:00
aarne
339aeb8bf6
partial application in overload resolution, with priority for full app
2006-12-19 16:32:15 +00:00
aarne
3fffa1489f
gfcc with lindef (_dCat)
2006-12-19 15:34:52 +00:00
aarne
4dbfe518e5
sketched SlashVSS in resource
2006-12-18 16:10:24 +00:00
aarne
60f678f221
Koji's bug fixed
2006-12-18 15:25:00 +00:00
aarne
23f6bb1de5
debugging AbsCompute
2006-12-17 22:34:03 +00:00
bringert
2b326f8041
Many fixes to JSGF format (never tested before). Implemented JSGF+SISR. Left recursion removal destroys SISR, must be fixed.
2006-12-17 13:17:17 +00:00
bringert
6d819b2c84
VoiceXML: add _cat and _field to category names, to avoid clashing with javascript built-ins. removed debugging stuff to make maintenance easier. SRGS: changed cate and field names to match the VoiceXML change.
2006-12-16 14:19:04 +00:00
bringert
35c4302e48
Added dumpObject to gflib.js.
2006-12-15 21:00:21 +00:00
bringert
9e559bb7d5
Fixed Suffix-table bugs in gflib.js.
2006-12-15 19:31:24 +00:00
bringert
3cf9e25225
JavaScript: change Fun.toString to print(). Metavariables in abstract syntax are now Funs with name ?
2006-12-15 17:25:45 +00:00
aarne
022e856e28
key book entry
2006-12-15 16:46:57 +00:00
bringert
160c6354c0
Towards smaller SRGs when lots of variants are used.
2006-12-15 16:09:58 +00:00
bringert
0ef8dced52
Include update function in generated VoiceXML. Generated linearization javaScript now uses the same abstract syntax representation as SISR.
2006-12-15 16:08:39 +00:00
bringert
5001ad8ed3
Added NOINLINE pragma to Today.hs, to avoid forcing recompilation of modules that depend on GF.Today.
2006-12-15 14:06:42 +00:00
bringert
9e3500024b
Use ebnf srg generation in PrSRGS.
2006-12-12 14:01:42 +00:00
bringert
ebb3382418
Moved profile stuff to GF.Speech.SRG, to allow other SRG formats to include SISR.
2006-12-12 11:59:12 +00:00
aarne
ca356c2a36
Updated version numbers.
2006-12-15 08:12:54 +00:00
aarne
281987ea2d
memory for resource make
2006-12-15 08:09:50 +00:00
aarne
c9f3540395
italian and spanish polite imperatives
2006-12-14 10:46:38 +00:00
aarne
7d6c6a52cd
changed in romance reduced finally to a comment
2006-12-13 22:30:06 +00:00
aarne
ed4bf5c52f
Spanish partitive; German VP conj zu
2006-12-13 21:10:11 +00:00
aarne
d0e784e699
fixed some bib entries
2006-12-12 16:20:27 +00:00
aarne
491ea9c89e
romance interrogatives
2006-12-13 10:48:21 +00:00
aarne
a970f40206
polite imperative except Scand,Rus; todo in Ita,Spa
2006-12-13 10:13:02 +00:00
bringert
694f644fe5
SRGS generation: don't include debug script stuff if debugging is disabled. Place category comments better.
2006-12-12 10:37:45 +00:00
bringert
b859fb7a7a
SRGS+SISR: put tags after items.
2006-12-11 19:41:03 +00:00
aarne
2c1439ff43
bib entries for the paper
2006-12-11 17:00:47 +00:00
bringert
5c65037d8c
VoiceXML: set xml:lang (value is still fake though)
2006-12-11 16:08:15 +00:00
bringert
321169c3b4
VoiceXML: print without debugging stuff by default.
2006-12-11 15:20:26 +00:00
bringert
4ab7c6774b
VoiceXML: don't use srcexpr in subdialogs, since Opera does not support that. Also makes fewer subdialogs nows.
2006-12-11 14:47:00 +00:00
bringert
18cfffff90
VoiceXML: don't use subdialog srcexpr for statically know subdialogs.
2006-12-10 23:32:30 +00:00
bringert
b664973cae
Reinstate SISR field name for top-level categories. The VoiceXML generation relies on it.
2006-12-10 23:31:43 +00:00
aarne
6bceec8518
some entries in gf-bib
2006-12-11 10:42:19 +00:00
aarne
414810e3f8
started vr web page
2006-12-11 09:20:59 +00:00
bringert
8b94297b85
Added tag-format attribute to SRGS XML when using SISR.
2006-12-10 20:53:51 +00:00
bringert
0ae6351754
Use public category with original name as SRGS start cat.
2006-12-08 20:10:28 +00:00
bringert
46ca2e7b1a
Changed SRGS SISR printing to be closer to the current working draft standard, as supported by the WebSphere implementation (and thus Opera).
2006-12-08 19:53:44 +00:00
bringert
a9892f0d62
JavaScript generation: compile all concrete syntaxes, not just the first.
2006-12-08 19:53:06 +00:00
aarne
640998d273
Italian prepositions
2006-12-07 10:40:30 +00:00
bringert
5a5a05df95
Fixed warning sand extra spaces in linearization in gflib.js.
2006-12-06 14:11:01 +00:00
bringert
f46c848b7e
Made generated JavaScript more object-oriented. Moved common JS stuff to lib/javascript/gflib.js
2006-12-06 13:52:24 +00:00
bringert
085ae18f75
Oops, I broke the gfcc printer. Fixed now.
2006-12-06 11:54:51 +00:00
bringert
58813c8fa7
Got GFCC to JavaScript compilation working. Variants are still printed in a weird way.
2006-12-05 22:10:28 +00:00
aarne
809c55653e
overload refresh
2006-12-01 17:55:52 +00:00
bringert
ae188e067f
Added the beginnings of GFCC to JavaScript conversion.
2006-11-30 22:50:25 +00:00
bringert
1e3ea113bb
Added tags target for building a TAGS file.
2006-11-30 21:25:23 +00:00
aarne
7c776e2c42
more in ArithmEng
2006-11-27 21:03:15 +00:00
aarne
7876591867
arithm example
2006-11-27 16:43:57 +00:00
aarne
9849a2d58f
AdvS and for_Prep in resource (except Russian)
2006-11-27 16:21:27 +00:00
aarne
3f1edb590a
part of Logic implemented generically
2006-11-27 10:54:26 +00:00
aarne
a36758f56e
a logic library; fix in make mathematical
2006-11-26 17:14:20 +00:00
aarne
4bde587ab4
improved error reporting in .ebnf format parser
2006-11-24 17:09:40 +00:00
aarne
dbb2afd461
rename patterns bug fix
2006-11-24 09:32:16 +00:00
aarne
7f54196476
overloading in ParadigmsEng started.
2006-11-23 13:36:24 +00:00
aarne
e513418f68
overloaded API to symbol
2006-11-23 13:13:15 +00:00
aarne
a98411e27f
Jordi's suggestion in Symbol
2006-11-23 13:12:42 +00:00
aarne
84b49624d4
oops: windows mkPresent
2006-11-22 16:06:59 +00:00
aarne
b9228de7b8
Jordi's and Gloria's patches
2006-11-22 16:06:11 +00:00
aarne
6f54f86253
Constructors documented
2006-11-21 18:18:54 +00:00
bringert
38da5ec3eb
Fixed typo in Kettil's patch.
2006-11-21 14:14:24 +00:00
Ketil Malde
7be7d60e5b
small fixes for .no numerals
2006-11-21 13:58:57 +00:00
aarne
756b7708af
overloading API and examples
2006-11-18 21:10:46 +00:00
aarne
8a55561cbf
normalize record types in overload resolution
2006-11-18 20:54:10 +00:00
aarne
9d3fd3c9cf
overload syntax; type printing in CheckGrammar
2006-11-18 16:54:23 +00:00
aarne
d5244f46b9
gfcc doc url typo
2006-11-17 14:42:34 +00:00
aarne
cba88a310a
doc on overloading
2006-11-17 14:39:02 +00:00
aarne
221b701c67
example library using overloading
2006-11-17 14:31:29 +00:00
aarne
3f30dfd347
oper overloading: first implemenatation using records
2006-11-17 13:40:55 +00:00
aarne
4865b1d099
what in French
2006-11-15 09:58:39 +00:00
aarne
4b28aa89fa
internal representation for param value index
2006-11-14 19:13:33 +00:00
aarne
7fc40d2b7a
bug fix with ** in Evaluation
2006-11-13 23:55:50 +00:00
aarne
8c59bd88b3
an alternative lookup strategy in Compute
2006-11-13 17:52:58 +00:00
aarne
9f2d3f2d85
german bug fix in regular superlative
2006-11-13 13:39:47 +00:00
aarne
ba2fafd298
VPI in German (rudimentary)
2006-11-13 11:13:26 +00:00
aarne
66aa6d3166
finnish exts added
2006-11-12 21:36:07 +00:00
aarne
482e08bf9f
robustness to gfcc interpreter ; make gfcc to bin
2006-11-12 20:48:01 +00:00
aarne
7cdb45fb5a
added SymbNum and SymbOrd in Symbol
2006-11-12 13:42:50 +00:00
aarne
fbd9b862e2
thread EEnv into ShellState
2006-11-12 13:24:13 +00:00
aarne
28686eeba9
i -eval bug fixed: should work now
2006-11-12 11:31:08 +00:00
aarne
f5f59e4b4f
new compilation phase, not finished
2006-11-10 16:22:01 +00:00
aarne
54769b09c4
experimental new evaluation
2006-11-09 22:07:24 +00:00
aarne
03afcade3f
lookup with more information
2006-11-09 22:05:43 +00:00
aarne
c8eb85292c
simple VPI in romance
2006-11-08 20:17:24 +00:00
aarne
1093d0a8d5
took away godis_tram from darcs
2006-11-08 15:14:47 +00:00
aarne
8d80911f0e
corrections in finnish tram
2006-11-08 15:12:35 +00:00
aarne
8680d918f6
godis tram grammars, augmented with Fin
2006-11-08 15:08:09 +00:00
aarne
5815ec730a
ad hoc instances of VPI in finnish
2006-11-08 15:07:09 +00:00
aarne
ccaa3e63fa
real parser for Alvey grammar: new version of BigLexEng
2006-11-07 16:38:37 +00:00
aarne
b2eec8d06f
purge in pm
2006-11-07 12:56:16 +00:00
aarne
dc9bf3b9c0
return ? for nonexistent fun in gfcc
2006-11-03 21:57:37 +00:00
aarne
a59a89d366
big lex compiles again
2006-11-03 21:47:56 +00:00
aarne
a6d8a143ca
bew BigLexEng (not ready)
2006-11-03 10:23:06 +00:00
aarne
d2897dd7d9
more accurate BigLexEng (V3 still to do)
2006-11-02 21:45:32 +00:00
aarne
13cd2b96be
new big and shallow modules
2006-11-02 17:04:35 +00:00
aarne
4905ceac59
shallow grammar experiment
2006-11-01 16:45:07 +00:00
aarne
d911e0d786
formal rules in the compilation doc
2006-11-01 09:47:28 +00:00
aarne
6b6a3f69e8
top-level big swedish grammar
2006-10-31 16:49:41 +00:00
aarne
d98e47027c
swedish paradigm extensions
2006-10-31 16:34:25 +00:00
aarne
716760288d
biglex experiment
2006-10-31 16:33:38 +00:00
aarne
773e12142e
conclusion of german log
2006-10-31 10:53:17 +00:00
aarne
bf9f609b9d
moved obsolete resource doc
2006-10-31 10:51:59 +00:00
aarne
67bf02dbb8
compilation doc close to final for presentation
2006-10-30 16:43:13 +00:00
aarne
5eafce3f5b
todo in compiler doc
2006-10-23 20:36:40 +00:00
aarne
17b461920d
on module deps in compiling doc
2006-10-23 15:21:02 +00:00
aarne
50ef9998e7
working on gf compiler doc
2006-10-22 14:17:50 +00:00
aarne
86974ded64
optimization of RP in gfcc; syntax for lambda
2006-10-22 11:00:38 +00:00
aarne
5051093813
doc on gfcc-lincat
2006-10-19 16:25:55 +00:00
aarne
edae02d58d
generated lincat in GFCC
2006-10-19 15:57:44 +00:00
aarne
89c08228e6
compiling examples for doc started
2006-10-18 09:54:17 +00:00
aarne
aad745850b
started compiling-gf
2006-10-18 08:46:44 +00:00
aarne
5d631987a9
index news
2006-10-16 14:13:52 +00:00
aarne
5c4438409d
record order bug fix
2006-10-11 20:44:18 +00:00
aarne
9747837a5a
italian disamb example
2006-10-10 20:24:15 +00:00
aarne
c6037ba818
started disambiguation example
2006-10-10 16:43:41 +00:00
aarne
5a3620df9a
gfcc doc
2006-10-09 07:37:25 +00:00
aarne
33487cd8cf
printing of GFCC
2006-10-07 15:56:54 +00:00
aarne
9949eda1b6
slight change in gfcc syntax and evaluation
2006-10-07 14:08:58 +00:00
aarne
f7b29e8b0c
gfcc.txt almost ready
2006-10-02 19:16:38 +00:00
aarne
bed13fc8f9
removed a silly bug with gfcc generation for multiple languages
2006-10-03 16:10:07 +00:00
aarne
4c9b2322f0
more commands in gfcc
2006-10-03 12:59:47 +00:00
aarne
0c649829e5
completed gfcc.txt
2006-10-03 09:08:33 +00:00
aarne
2fc45de8c2
started documentation of gfcc
2006-10-02 15:40:15 +00:00
aarne
0eb278da6d
yet another bug found and fixed in gfcc
2006-10-02 08:32:20 +00:00
aarne
623e05a94f
gfcc compilation: know bugs fixed
2006-10-01 15:41:32 +00:00
aarne
ee4bfa6181
param record compiler bug fixed
2006-09-30 14:17:34 +00:00
aarne
4d9b719ccc
tracing a bug in gfcc generation
2006-09-29 15:22:20 +00:00
aarne
1dd70a285e
new constructs in gfcc, removed lambda
2006-09-29 10:55:36 +00:00
janna
f6856c65e3
lexicon
2006-09-26 15:28:11 +00:00
aarne
790c1a7d49
resource generates exceptionless gfcc now
2006-09-26 12:53:15 +00:00
aarne
0a45dc90cd
improving gfcc generation
2006-09-26 10:23:50 +00:00
aarne
95a1000f97
another fix towards gfcc compilation
2006-09-25 17:18:40 +00:00
aarne
d386213c14
some fixes in gfcc compilation
2006-09-25 13:03:33 +00:00
aarne
71ddbc1346
tools/c++
2006-09-22 15:13:23 +00:00
aarne
3a79588dd4
finished compact tb format (for a C++ interpreter now)
2006-09-21 20:55:49 +00:00
aarne
cb85097975
adjusting compact tb format (not yet ready)
2006-09-21 15:56:39 +00:00
aarne
e9d78f77fb
compact treebank format for translation systems
2006-09-20 19:59:57 +00:00
aarne
16b16e217c
wrong place for VPI parameter fixed
2006-09-20 15:55:03 +00:00
aarne
bee08345cb
brute force parsing method in RunGFCC
2006-09-20 15:19:44 +00:00
aarne
d15dc3908c
the other direction of FCFG translation
2006-09-19 20:12:28 +00:00
aarne
40b7bca8a3
monitor timeout in gfcc generation
2006-09-19 15:45:47 +00:00
aarne
54f8de43eb
FCFG format in BNFC
2006-09-19 12:59:33 +00:00
aarne
bd6178c358
predef types in gfcc
2006-09-17 14:57:46 +00:00
aarne
98143802ab
random generation in GFCC
2006-09-17 13:50:41 +00:00
aarne
d4e1e2d192
bug fixes in multigrammar handling and GFCC generation
2006-09-16 18:42:46 +00:00
aarne
55c7be9a8e
debugging CanonToGFCC
2006-09-15 19:29:45 +00:00
aarne
5e461c5402
commented out Swadesh.other_A, which is not implemented
2006-09-15 09:48:20 +00:00
aarne
d6a13c2f33
fixed some bugs in GFCC compilation; use optimize=values to import GF!
2006-09-15 09:37:18 +00:00
aarne
ca01a1505b
generation in GFCC
2006-09-14 14:27:25 +00:00
bringert
bb9ec5c21a
Removed extra comma in import list of src/GF/Speech/Relation.hs. This prevented compilation on current ghc HEAD.
2006-09-13 16:46:07 +00:00
bringert
16aa3bbbc1
transferc now uses env var TRANSFER_PATH to locate imports.
2006-09-13 11:46:04 +00:00
aarne
0dec627fb9
lambda in GFCC
2006-09-13 16:49:23 +00:00
aarne
0517ca7807
RunGHCC for testing
2006-09-07 14:21:08 +00:00
aarne
8b32514b40
simplified recursive search of labels
2006-09-07 09:55:49 +00:00
aarne
d8bf6f1c9c
finding labels behind selections in GFCC
2006-09-06 20:09:37 +00:00
aarne
56d9ce33da
overcoming problems in GFCC generation one by one
2006-09-06 12:59:09 +00:00
janna
e7f73c275a
russian7
2006-09-06 08:44:39 +00:00
aarne
6eb60218ff
arranging c2c
2006-09-05 20:18:35 +00:00
aarne
e1d4def1b1
started translating parameters to numbers in GFCC
2006-09-05 17:11:40 +00:00
aarne
8ece9156a2
eliminated one-element suffix lists in GFCC
2006-09-05 15:15:02 +00:00
aarne
62ca59fea3
started analysing labels for GFCC
2006-09-05 13:10:55 +00:00
aarne
565435e520
starting GFCC format
2006-09-05 12:14:13 +00:00
bringert
952c612703
Added darcs add to darcs instructions.
2006-09-03 20:14:10 +00:00
aarne
fda42f61c4
the Error type; better lexer error reporting
2006-09-01 15:11:22 +00:00
aarne
66d3c75031
the EOF error changed to more informative lexer error msg
2006-08-28 19:36:41 +00:00
bringert
c9b4a28ebb
Updated darcs.html with simpler instructions for current darcs versions (removed the ControlMaster stuff).
2006-08-28 12:12:21 +00:00
bringert
7140babd16
Use mkPrep instead of mkPreposition in peace keeping grammars.
2006-08-28 11:57:19 +00:00
aarne
4fd4f42a75
some more options to gt
2006-08-16 08:48:26 +00:00
aarne
967de6946d
help for gt
2006-08-15 20:28:37 +00:00
aarne
2e9eea7d00
Improved generation algorithm (old with -old, all with -all (-lin))
2006-08-15 19:59:10 +00:00
aarne
1df7df99cf
NumeralsEng.n9, SymbolFin.CNIntNP
2006-08-07 14:39:35 +00:00
aarne
538ea8889e
started looking at gt -all, not ready
2006-06-28 12:31:16 +00:00
aarne
171e7dec50
bronzeageAra
2006-06-26 11:41:04 +00:00
aarne
31d7232011
updated index with arabic
2006-06-26 11:35:25 +00:00
aarne
b189de63ea
integrating arabic to document
2006-06-26 11:31:05 +00:00
aarne
65431fd262
Regel
2006-06-25 21:10:28 +00:00
eldada
996a599920
arabic.patch
2006-06-25 17:07:08 +00:00
aarne
ea828398da
darcs push
2006-06-22 22:41:55 +00:00
aarne
c33544a9cb
Updated version numbers.
2006-06-22 22:36:13 +00:00
aarne
7d459ae729
lib index
2006-06-22 22:30:49 +00:00
aarne
4821244741
preserve 1.0
2006-06-22 22:27:48 +00:00
aarne
251bc4c738
resource = resource-1.0
2006-06-22 22:25:55 +00:00
aarne
7e5584b1ab
updated gfdoc
2006-06-22 22:18:56 +00:00
aarne
94b4d9ab85
Danish definite revisited
2006-06-22 22:01:03 +00:00
aarne
e8312c1137
grammar.langua,rule in Lexicon
2006-06-22 21:00:18 +00:00
aarne
9c2bea4409
cleaned up API comments for document
2006-06-22 19:57:31 +00:00
aarne
6e8f5bbc97
TextSpa imports
2006-06-22 17:07:55 +00:00
aarne
d2ab89128d
integrating russian in document
2006-06-22 13:57:36 +00:00
aarne
0d213f6e27
arabic lock fields in Paradigms
2006-06-22 13:29:14 +00:00
aarne
6dc913b478
working with resource.txt
2006-06-22 13:24:41 +00:00
aarne
f87c44103a
preparing doc for Russian
2006-06-22 12:41:42 +00:00
aarne
1823dca475
plural accusative case in Finnish
2006-06-22 11:32:58 +00:00
aarne
7efc60a809
English aux tables
2006-06-22 09:59:41 +00:00
janna
84b70bdd72
russian4
2006-06-22 11:17:01 +00:00
aarne
47a3d736a6
utf8 workaround; some restricted inheritances
2006-06-22 09:41:26 +00:00
aarne
625d14ada1
makefile
2006-06-21 22:24:44 +00:00
kr.angelov
8c5d8e27dc
Optimized mkSingletonSelectors
2006-06-21 19:37:18 +00:00
kr.angelov
fb8ea2c2f4
tail call recursive implementation of BacktrackM
2006-06-21 19:17:25 +00:00
aarne
057c5132ed
lib index
2006-06-21 16:58:11 +00:00
aarne
0ff92d9134
Russian extra modules (dummy)
2006-06-21 16:20:52 +00:00
aarne
ea2033e3d6
romance postverbal clitic details
2006-06-21 15:24:28 +00:00
kr.angelov
fb3cb664d6
the newName variable wasn't used and now it is removed
2006-06-21 13:45:45 +00:00
kr.angelov
abe5b1f50f
Some performance optimizations
2006-06-21 13:40:59 +00:00
aarne
fe0903a2e1
cien-ciento in spanish
2006-06-21 10:18:10 +00:00
aarne
ba12717ee1
Danish imperative double consonant check
2006-06-21 09:52:41 +00:00
aarne
8fa2d3a19c
romancs imp PlP1 forms ; Spanish ordinals over 1000
2006-06-21 09:05:49 +00:00
aarne
c8f319d247
nocf default, docf explicit or by HOAS
2006-06-21 07:55:35 +00:00
aarne
3fa9d5060f
romance ImpPlP1 corrected
2006-06-21 07:51:44 +00:00
aarne
a27971f672
note on Italian contracts
2006-06-20 16:51:04 +00:00
aarne
ce14fdd825
italian mkV and missing Besch paradigms
2006-06-20 16:40:18 +00:00
aarne
a6cc18c8bd
resource.txt updates ; lock field and lookup book fixes
2006-06-20 15:05:22 +00:00
aarne
0333ba894b
made -fcfg default parser; added lexer textvars
2006-06-20 08:38:44 +00:00
aarne
658fd526b4
IrregEng.go_V
2006-06-19 13:18:15 +00:00
kr.angelov
79b4de6b86
Sync FCFG with the latest repo version
2006-06-19 20:17:05 +00:00
kr.angelov
5999274d1e
code polishing for the literal category support
2006-06-08 21:23:29 +00:00
kr.angelov
475a56c64f
add the chartAssocs function. It returns both the key and the item.
2006-06-08 21:19:40 +00:00
kr.angelov
11e23c4811
initial support for literal categories e.g. String,Int and Float
2006-06-06 21:30:14 +00:00
kr.angelov
03bd95d0e1
support for non-linear grammars
2006-06-03 17:58:34 +00:00
aarne
d6f4bb047f
restricted VP conjunction in English and Scand
2006-06-19 20:47:15 +00:00
aarne
daa990820b
Spanish irregular verbs
2006-06-19 13:09:15 +00:00
aarne
b7b76fc7ad
parameters in resource doc summaries
2006-06-19 11:53:38 +00:00
aarne
5fbe1aa31b
lock fields in DialogueI
2006-06-18 21:35:31 +00:00
aarne
dca9d90d00
Finnish adverbial existentials
2006-06-18 20:51:40 +00:00
aarne
e47076fcec
feminine pronoun forms in Romance
2006-06-18 20:37:40 +00:00
aarne
e4a9b92b85
restored lock fields with a clearer warning
2006-06-18 19:23:00 +00:00
aarne
7dec4c8a89
passe simple in ExtraRomance
2006-06-18 19:08:47 +00:00
aarne
865d84508f
preposition stranding in English and Scand
2006-06-18 18:34:08 +00:00
aarne
b7483420eb
doc update, preparing 2.6
2006-06-17 09:53:42 +00:00
aarne
2c680eb792
English uncontracted negations in ExtraEng
2006-06-16 16:51:02 +00:00
aarne
13446dddf8
English noncontracted forms implemented
2006-06-16 16:12:25 +00:00
aarne
0e0a3bb935
tutorial edited
2006-06-16 15:29:01 +00:00
aarne
6aafec44dc
tested an idea in Finnish, failed
2006-06-16 14:49:47 +00:00
aarne
7c8f3d1cf4
tables and figures to resource.txt
2006-06-16 14:25:10 +00:00
aarne
3488c5839e
dep types in new tutorial
2006-06-16 08:35:24 +00:00
aarne
6a0dd96623
tutorial example of LF
2006-06-16 08:06:52 +00:00
aarne
b49828b113
new diagrams to howto
2006-06-15 23:07:49 +00:00
aarne
7d49c0e624
updated tutorial and resource howto
2006-06-15 23:05:42 +00:00
aarne
3d243e2596
adjustments in Paradigms ; lang-specific modules for all except Rus, Ara
2006-06-15 16:24:09 +00:00
bringert
6bd400091c
Block SIGINT while running gfInteract, as suggested by Peter.
2006-06-15 01:41:18 +00:00
aarne
17f5fad35d
API module titles, resource.txt corrections
2006-06-14 21:16:06 +00:00
eldada
fe529e0217
arabic
2006-06-13 15:29:41 +00:00
aarne
bd6929e4a7
improved final-resource
2006-06-13 14:40:12 +00:00
aarne
161924b0e6
participle agreement with RP and IP in romance
2006-06-13 13:23:58 +00:00
aarne
784a1db90a
complete resource document
2006-06-13 10:07:16 +00:00
aarne
4230cd9d3f
continuing with resource.txt
2006-06-12 20:29:25 +00:00
aarne
39c319e04e
still resource.txt
2006-06-12 18:56:12 +00:00
aarne
f491f3e361
more work on resource.txt
2006-06-12 15:10:39 +00:00
aarne
a22b3ea9aa
working on resource.txt
2006-06-12 09:02:59 +00:00
aarne
3c6c149f98
more overview of linguistic structures
2006-06-10 23:00:54 +00:00
aarne
a27e35b12f
started document on linguistic structures in the resource
2006-06-09 15:22:54 +00:00
janna
b589a0fd4d
russian4
2006-06-09 11:10:43 +00:00
aarne
648b186491
updated gfdoc
2006-06-08 21:41:51 +00:00
aarne
165b7269a9
updated resource doc
2006-06-08 21:37:01 +00:00
aarne
c89a97d4c6
Irreg added to language top files; german Irreg created and used
2006-06-08 21:08:51 +00:00
aarne
ea9dcc6b3c
bug fix in MkConcrete
2006-06-08 09:54:41 +00:00
aarne
3c144b163a
updated lexicon in animal
2006-06-08 09:44:22 +00:00
aarne
b33cdf2640
BronzeageRus
2006-06-08 08:55:53 +00:00
peb
d4a7555d3e
added the file GF.Conversion.MCFGtoFCFG
2006-06-07 20:25:39 +00:00
aarne
c658204750
Spanish ordinals
2006-06-07 20:52:33 +00:00
aarne
9f39f33d41
extra French: est-ce que questions
2006-06-07 18:38:52 +00:00
aarne
3e7696ecc4
Lang modules in terms of Grammar
2006-06-07 18:37:11 +00:00
peb
6c5d4da9d0
corrected bottomup MCFG parsing, added GF.Parsing.MCFG.FastActive
2006-06-07 16:18:28 +00:00
peb
8bee2d7def
corrected bottomup FCFG parsing
2006-06-07 16:16:17 +00:00
peb
643507e4f3
new conversion MCFG -> FCFG, new grammar printers for FCFG
2006-06-07 16:06:49 +00:00
aarne
d56e630046
corrected Extra; corrected Nor.si_V
2006-06-03 22:09:15 +00:00
aarne
1c0de03529
corrected index.txt
2006-06-03 22:02:02 +00:00
aarne
aaab25754a
Finnish extras
2006-06-03 21:57:48 +00:00
aarne
b6295359d1
updated index.txt
2006-06-03 21:31:10 +00:00
aarne
2bfe0731c7
language specific extensions started
2006-06-03 21:23:22 +00:00
aarne
477feb0af1
fixed a file reading bug ; improved pi
2006-06-03 13:03:17 +00:00
kr.angelov
252b5883f7
remove the dummy (Print n) context
2006-06-03 10:31:36 +00:00
kr.angelov
f634b1b0e1
the constraints list in the conversion rules should be sorted too
2006-06-03 10:30:10 +00:00
aarne
26f52e8380
check circularities in ln
2006-06-03 11:51:08 +00:00
aarne
3da949d3d7
also count lin in oper circ check (some problems remain)
2006-06-02 15:42:57 +00:00
peb
f1bfa118c6
added Float to PredefAbs
2006-06-02 12:11:36 +00:00
peb
526ce96dfa
added -fcgf grammar printer
2006-06-02 10:44:41 +00:00
kr.angelov
75695d3dfe
fix the "stack overflow" error with the Swedish grammar
2006-06-02 08:34:17 +00:00
kr.angelov
81c1e95244
enable parsing of empty string
2006-06-01 21:37:22 +00:00
kr.angelov
4cf5648d62
bugfix
2006-06-01 21:36:17 +00:00
aarne
50326c7dcd
less recompilation of cf and morpho
2006-06-01 22:35:43 +00:00
aarne
a5101ca349
resource examples in tutorial
2006-06-01 16:16:18 +00:00
aarne
d2952f91f4
author list
2006-06-01 14:15:51 +00:00
aarne
64bcd53451
Grammar for rest of the languages
2006-06-01 14:07:21 +00:00
aarne
4dcbfcdf75
updated clefts in Idiom (now all except Russian)
2006-06-01 14:02:49 +00:00
kr.angelov
d631ee00d7
update the copyright messages
2006-06-01 11:29:30 +00:00
kr.angelov
a5758468ed
add the FCFG parser
2006-06-01 11:19:47 +00:00
kr.angelov
0c0c82603c
The SLinType type is changed so that you don't have to use enumerateTerms each time when you want to know the possible table arguments
2006-06-01 10:26:49 +00:00
kr.angelov
a73aa39dcc
Add foldBM, foldSolutions and foldFinalStates functions
2006-06-01 10:12:38 +00:00
aarne
96d13e0898
reload = r command
2006-06-01 08:16:21 +00:00
aarne
361504793e
bug fixes: too much reading of files ; lin of variant records
2006-06-01 07:51:53 +00:00
bringert
d71e8b65d8
Disable special treatment of lists in SRGS+SISR generation, since OptimTalk can't handle it.
2006-05-31 19:41:05 +00:00
aarne
7a8922c4da
updated gfdoc
2006-05-31 17:01:59 +00:00
aarne
32010080f6
Grammar for all germanic
2006-05-31 17:00:52 +00:00
aarne
4d71dcd880
Grammar without lexicon, new top module
2006-05-31 14:56:42 +00:00
aarne
afa2261a1b
it clefts and let's, implemented for Germanic
2006-05-31 14:33:10 +00:00
aarne
0694e0e1bb
scandinavian compound comparison
2006-05-31 12:24:48 +00:00
aarne
993f2b3e1e
l -multi -all/-table ; same with tb
2006-05-30 22:02:25 +00:00
aarne
6f57b5b530
BronzeageDan
2006-05-30 14:36:40 +00:00
aarne
516abb5d58
lincat typecheck and abstract-interface extension fixed
2006-05-30 12:19:19 +00:00
aarne
10f9753d9e
removed Common cats from CatRus
2006-05-26 15:44:08 +00:00
aarne
8d571ffce4
updated howto
2006-05-26 15:36:54 +00:00
aarne
3c8accaa6a
updating gfdoc with Dan and Rus
2006-05-26 15:33:51 +00:00
aarne
252e522666
Danish ordinals
2006-05-26 15:30:56 +00:00
aarne
6a0fc4e053
fixed Danish auxialiary and particle verb word order in Scandinavian
2006-05-26 14:03:45 +00:00
aarne
db8d378b1f
Danish lexicon improved (but still unfinished)
2006-05-26 12:00:09 +00:00
janna
40dcf1c0d6
russian3
2006-05-26 09:59:30 +00:00
aarne
0d7406a7f0
Danish lexicon and verbs complete, but inflection has to be verified
2006-05-25 21:59:00 +00:00
aarne
ff8e7b8f93
multi in new versions
2006-05-25 12:15:07 +00:00
aarne
f99576264f
cleaned up in multimodal and dialogue
2006-05-24 16:51:52 +00:00
aarne
674e0c95af
updated dialogue to multimodal ; bug fixes in grammar compilation
2006-05-24 15:40:15 +00:00
aarne
ae2ca2e945
multimodal for whole resource API
2006-05-23 23:03:48 +00:00
aarne
1595e31a28
bug fix in with-modules and gr checker; factoring out cats to Common
2006-05-23 22:20:00 +00:00
aarne
14d3ffa2f5
started ConstructX to add lock fields
2006-05-22 21:03:50 +00:00
aarne
1112dbed7e
bug fix in Predef.toStr compilation
2006-05-21 11:38:00 +00:00
aarne
db4e3fee20
removed automatic lock fields - must be added by hand in places in resource
2006-05-22 15:48:59 +00:00
aarne
3c8b2606a3
making LangRus compile
2006-05-20 09:59:09 +00:00
aarne
b134d947c7
removed a large obsolete fine
2006-05-20 07:20:51 +00:00
bringert
654ba34917
resource-1.0 makefile, don't fail if there are no file to remove in clean target.
2006-05-20 05:02:42 +00:00
bringert
2bb984f22e
Imported latest config.sub and config.guess from http://cvs.savannah.gnu.org/viewcvs/config/config/
2006-05-20 03:31:59 +00:00
bringert
c35890ab2a
Changes to make GF compile with GHC 6.5 from CVS: remove inlines use of !, change all latin-1 characters in haskell code to escapes.
2006-05-20 02:56:06 +00:00
bringert
f757f2ea1e
Regenerated transfer bnfc stuff with latest bnfc, happy and alex, to be able to compile on GHC CVS.
2006-05-20 01:41:53 +00:00
aarne
49b171a4d5
gfwl example
2006-05-18 15:01:43 +00:00
aarne
0ff652e33a
Wordlist format
2006-05-18 14:59:58 +00:00
aarne
e38d847a54
some godis additions to dialogue
2006-05-17 21:04:54 +00:00
janna
e4a2f40f36
russian2
2006-05-17 09:05:26 +00:00
aarne
dc5952c05d
updated gfdoc
2006-05-16 22:18:29 +00:00
aarne
ddfd57fe7d
PPartNP and AdvNP.
2006-05-16 22:13:12 +00:00
aarne
39f6049f2d
changed readme name
2006-05-16 21:18:40 +00:00
aarne
e8ee07ee96
field names added to Prolog
2006-05-16 21:10:47 +00:00
aarne
8e5078084f
extended dialogue example
2006-05-16 20:44:33 +00:00
aarne
800f6ee7e2
renamed Godis to Prolog ; added Fin
2006-05-16 18:48:46 +00:00
aarne
e074720425
updated ExistIP for all languages
2006-05-16 18:29:41 +00:00
aarne
c1aea3c2a9
README completed in dialogue
2006-05-16 13:13:33 +00:00
aarne
0629d29111
examples of dialogue system grammars
2006-05-16 13:07:41 +00:00
aarne
cd276cbebe
ExistIP (still unfinished)
2006-05-16 13:07:02 +00:00
aarne
95e2333598
infVP bug fix in Scand
2006-05-16 08:17:01 +00:00
janna
0b9bc14b9e
russian
2006-05-15 09:04:34 +00:00
aarne
00c5e4560b
little fixes in Dan
2006-05-14 18:04:12 +00:00
aarne
9a74e68cf5
updated Danish (lexicon still Nor)
2006-05-14 17:59:42 +00:00
aarne
1d56ffbd5a
improved performance of RelativeFre in compilation
2006-05-11 21:58:39 +00:00
aarne
a90dbdd2c5
fixes in finnish verbs
2006-05-11 14:30:24 +00:00
aarne
660644fcf5
english infVP bugfixed ; LangRus made compilable
2006-05-08 16:57:24 +00:00
aarne
952fce5499
Robin's reports fixed
2006-05-04 14:54:17 +00:00
bringert
817a6a488b
VoiceXML generation: use cond attribute with blocks, instead of having ifs inside. Recommended by OptimSys support.
2006-04-27 09:30:59 +00:00
janna
93121ef2f3
yyyyyyyyyyyyy
2006-04-26 12:56:40 +00:00
janna
3adcd02b0b
russian
2006-04-26 09:40:43 +00:00
bringert
506e95f40a
Commented out one_Det in peacekeeping grammar.
2006-04-25 15:44:43 +00:00
bringert
46f17bb535
Moved punctuation to a separate field, to allow spoken language grammars to omit it. Created top-level spoken language grammars. (all in peacekeeping)
2006-04-21 21:53:20 +00:00
bringert
6806c98e29
Peacekeeping README: added reference to "Emergency multilingual phrasebook"
2006-04-21 14:49:46 +00:00
bringert
b65698ba37
Peace keeping: added more lexicon words. Added this_NP and that_NP. Added some more examples.
2006-04-21 14:34:45 +00:00
aarne
c502c90d8b
PeacePhrase_Fin ; -p in resource Makefile
2006-04-21 15:20:03 +00:00
bringert
db8e34e072
Build peace grammars with optimize=share to work with GF EI.
2006-04-21 13:55:19 +00:00
bringert
dbbde56331
Peacekeeping: moved startcat flags to top level concretes to work around problems in figuring out the startcat for CFGMs.
2006-04-21 13:16:14 +00:00
bringert
7d7f91d23e
Added TODO item about startcat in CFGM grammars.
2006-04-21 13:13:28 +00:00
bringert
e03610fb8f
Implemented some new words in swedish. Use english compound for police officer.
2006-04-21 12:08:10 +00:00
bringert
59d066c8bf
Moved göra to IrregSwe.
2006-04-21 11:55:24 +00:00
bringert
4fe70bc89e
Regenerated all resource-1.0 docs with the modified gfdoc.
2006-04-21 11:52:23 +00:00
bringert
d074641f9d
Changed gfdoc to: include modification time of the gf file, instead of document generation time; ignore pragmas at the start of the GF file; not put note about txt2tags in the generated html.
2006-04-21 11:49:06 +00:00
bringert
218e4ae58b
Changed PeacePhrases_Swe to latin-1.
2006-04-21 09:55:15 +00:00
aarne
24def1f2ff
compoundN i ParadigmsEng
2006-04-21 09:44:55 +00:00
aarne
fa32f755d6
embedded haskelle example: query
2006-04-21 09:14:05 +00:00
bringert
fd70db2c9f
peacekeeping: implemented the new lexicon entries in english.
2006-04-21 07:49:53 +00:00
bringert
1861c23414
peacekeeping: add a module with phrases which are very different in different languages, e.g. greetings. The english and swedish implementations do not yet use the resource grammars, and the finnish is empty.
2006-04-20 22:46:41 +00:00
bringert
50c51c50bf
Added section for examples we I don't know how to handle well without overgenerating too much.
2006-04-20 22:33:47 +00:00
bringert
de880425ad
Added some more words to the peacekeeping lexicon. Did not add them in the concrete syntaxes yet.
2006-04-20 22:18:35 +00:00
bringert
c8d67be0cf
Fixed a swedish peacekeeping missed latin-1 conversion.
2006-04-20 21:11:03 +00:00
aarne
41e76f99e9
paths to parent dir ; Swe char coding
2006-04-20 21:23:13 +00:00
aarne
5eebe8d41e
finnish peacekeeping
2006-04-20 21:04:04 +00:00
aarne
fe6cf5f366
possessive modification bug fix in Finnish
2006-04-20 20:56:48 +00:00
bringert
b9c4c1e6fc
Added swedish version of the peacekeeping grammar.
2006-04-20 18:27:51 +00:00
bringert
e4705c78c3
Reorganized the peacekeeping grammar.
2006-04-20 17:55:46 +00:00
bringert
a5b6f1b4b3
Added QuestIAdv_NP.
2006-04-20 16:43:13 +00:00
aarne
34a8f1b12f
IComp questions in resource added
2006-04-20 15:32:48 +00:00
bringert
fe0d2f4896
PeaceKepp: added a bunch of examples. Added a few words. Added some missing syntax constructs.
2006-04-20 15:13:55 +00:00
bringert
50adaa8122
Added Quest category to PeaceKeep grammar.
2006-04-20 11:46:50 +00:00
bringert
354a07ffd8
Added the beginnings of the PeaceKeep grammar.
2006-04-20 11:13:43 +00:00
bringert
3b3570201a
Added debugging flag to generated VoiceXML.
2006-04-20 09:46:54 +00:00
aarne
b6d7da4dd3
star in morpho analysis
2006-04-19 10:04:01 +00:00
aarne
defbe1fb96
utf8 in editor
2006-04-19 09:33:39 +00:00
bringert
9b38240354
Use quest_Cat to generate questions in the VoiceXML printer.
2006-04-19 09:03:19 +00:00
bringert
7f26cea8a2
Disable readline support on cygwin, regardless of GHC version.
2006-04-19 08:48:54 +00:00
bringert
4d3dc4ac54
Look at both command-line and grammar startcat falgs in pg commands.
2006-04-18 12:42:20 +00:00
aarne
3e805a3531
spelling alphabet
2006-04-17 21:03:41 +00:00
bringert
dbd9a25162
Fixed left recursion removal to not create cyclic rules.
2006-04-13 15:07:17 +00:00
bringert
c47da3d351
Removed cycles when building SRGs, to avoid getting left-recursive grammars.
2006-04-13 14:47:37 +00:00
bringert
26b61d82ee
generate unique new category names when removing left recursion from cfgs.
2006-04-13 14:29:27 +00:00
aarne
3d7c4e80d7
extended unix grammars with character-based spelling
2006-04-13 14:19:27 +00:00
bringert
256b593ae5
Fixed bug in SRG top-down filtering where the start category would be removed if it wasn't referenced by itself.
2006-04-13 14:18:13 +00:00
bringert
9792052c9a
Use a variable for the gf command in resource Makefile, to enable easy profiling.
2006-04-13 13:52:36 +00:00
bringert
4609965d71
Added top-down filtering to the GSL printer.
2006-04-13 13:33:35 +00:00
bringert
9ed344a70d
Added -startcat flag to the pg command.
2006-04-13 13:32:58 +00:00
bringert
0fef8d5675
The SLF removeTrivialEmptyNodes optimization could orphan the final node. Fixed this by not bypassing final nodes.
2006-04-12 23:22:35 +00:00
aarne
1a3b95d696
unix command grammar started
2006-04-12 21:14:32 +00:00
aarne
0bffc3c9f6
inherent features of Int
2006-04-04 14:44:46 +00:00
peb
e059fddb6d
adding support for 2nd order functions in SimpleGFC format
2006-04-04 09:33:22 +00:00
aarne
19e3b58808
version 3 of quick reference
2006-04-04 07:41:32 +00:00
aarne
1b2f70545c
editing the tutorial
2006-04-03 15:37:39 +00:00
aarne
41f899b228
date of 2.5
2006-03-31 16:41:53 +00:00
aarne
43eb7cc662
added some generation facilities
2006-03-31 16:30:44 +00:00
bringert
b67268cc79
In GSL generation: remove punctuation before LR analysis.
2006-03-31 15:52:03 +00:00
bringert
30abcf023c
Added colon to the list of punctuation chars in GSL generation.
2006-03-31 15:31:33 +00:00
aarne
c45100b056
gt -noexpand
2006-03-31 13:20:40 +00:00
aarne
2dd2b1e11e
slight improvement of Fre compile mem and time
2006-03-30 18:35:26 +00:00
aarne
97bb101c44
opt flag in DiffFre now better
2006-03-30 14:18:58 +00:00
aarne
f8854e00e0
doc/
2006-03-29 11:58:04 +00:00
aarne
7c98549d08
reference linked
2006-03-29 11:56:02 +00:00
aarne
bbcbf3cc68
reference card
2006-03-29 11:53:30 +00:00
aarne
b5da066ce5
gf reference
2006-03-28 17:02:00 +00:00
peb
3f33c7de5a
translated TODO to english, restructured to fit with todoo-mode.el
2006-03-22 12:38:47 +00:00
peb
eeb8f44d48
todo
2006-03-22 05:57:28 +00:00
aarne
56531d7dc8
index
2006-03-21 16:52:49 +00:00
aarne
197af7fbaf
German lexicon completed
2006-03-21 15:47:04 +00:00
aarne
b0bd331e1d
new version of resource index
2006-03-21 13:58:30 +00:00
aarne
836026a3ce
unlexer bug ; "vilka" ; lib path warning ; p -lines result
2006-03-21 13:57:38 +00:00
bringert
ed047e9429
Updated version numbers to 2.5.
2006-03-21 13:57:00 +00:00
bringert
b307f86496
Added release number in debian/changelog.
2006-03-21 13:49:42 +00:00
bringert
1e7d498b6c
Set GF_LIB_PATH to the dist dir when building grammar-dist.
2006-03-21 13:20:03 +00:00
bringert
c2b3a28411
Use date-based package name for grammar dist. Included compiled resource-1.0 in grammar dist.
2006-03-21 13:02:14 +00:00
bringert
e6686af2a6
Debian package: build and install gfdoc.
2006-03-21 13:01:58 +00:00
bringert
b5d8ec661f
Don't rebuild java code when installing it.
2006-03-21 12:25:34 +00:00
bringert
665e437895
Updated copyright year in src/GF.hs.
2006-03-21 10:55:38 +00:00
bringert
76b2fd19d3
Debian package: use install-gf
2006-03-21 10:49:59 +00:00
bringert
5ef05b0a92
Debian package: use prefix in isntall rule.
2006-03-21 10:48:54 +00:00
bringert
7b0d807422
Debian package: run configure and make in src/.
2006-03-21 10:30:19 +00:00
bringert
2734507e84
Added beginnings of debian packaging stuff.
2006-03-21 10:25:40 +00:00
peb
39dae001b2
fixed bug with variants in GF.Conversion.RemoveErasing
2006-03-21 06:18:03 +00:00
peb
29320bb0a3
todo
2006-03-10 05:49:30 +00:00
bringert
b8f1702110
Transfer: some TODOs. Lots of minor fixes in type checking algorithm.
2006-03-20 18:23:55 +00:00
bringert
30ba078db5
Some simple clarifications in the transfer type checking document.
2006-03-20 15:15:56 +00:00
bringert
9d920e9735
Expermintation woth a collections framework for transfer.
2006-03-20 14:46:47 +00:00
bringert
7ff1b927e8
Added some tricky transfer type checking examples.
2006-03-20 14:04:11 +00:00
bringert
14b9c4ff8c
Transfer TODO: added (A,B : Type) argument types.
2006-03-20 14:03:34 +00:00
bringert
04300a9e0d
Replaced all used of Data.FiniteMap with Data.Map.
2006-03-20 12:49:31 +00:00
aarne
0f06215a69
Symbol.SymbS
2006-03-17 11:10:07 +00:00
aarne
3628ee2960
added Noun.ApposCN
2006-03-17 11:01:09 +00:00
aarne
f294828600
few_Det added
2006-03-17 10:09:48 +00:00
aarne
518026c97e
documenting nodupatom, announcing 2.5
2006-03-16 21:41:13 +00:00
aarne
38376083b2
MatchTerm: testing conditions on terms, e.g. nodup
2006-03-16 21:26:22 +00:00
aarne
06ea7fea46
exitFailure with gf -make
2006-03-16 20:33:35 +00:00
aarne
1502283f1d
method for flattening grammars
2006-03-16 15:26:37 +00:00
bringert
80e11b4418
Updated config.sub and config.guess.
2006-03-16 09:11:12 +00:00
bringert
628acf267b
Transfer prelude: added missing type arguments to some type classes.
2006-03-15 16:48:35 +00:00
bringert
28606fccd2
Fixed typo in transfer prelude: prim_eq_Str
2006-03-15 16:25:40 +00:00
bringert
80b1c33c8e
Use ghc-pkg field instead of latest, to work with ghc-pkg 6.4.
2006-03-14 09:31:27 +00:00
bringert
72f575f5ba
Added PHONY rule in resource-1.0 Makefile to avoid "up to date" message.
2006-03-14 09:30:35 +00:00
bringert
e6ecef1fba
Transfer reflexive example: added ideal version.
2006-03-13 10:56:45 +00:00
bringert
6779c45f5d
Added transfer example: constructing reflexives.
2006-03-13 10:53:44 +00:00
aarne
1814761d36
index.html
2006-03-10 12:27:26 +00:00
aarne
0c5b068331
make pretest
2006-03-10 12:21:48 +00:00
aarne
61bd63713d
lib index
2006-03-10 10:34:35 +00:00
aarne
457cd21500
example index
2006-03-10 10:05:49 +00:00
priesnit
31f60f7492
Added SwadeshGer.
2006-03-09 17:01:12 +00:00
peb
f70d4e592c
fixing prolog printing
2006-03-09 12:39:11 +00:00
peb
e677a613fc
inferred constants in profiles
2006-03-09 11:32:52 +00:00
aarne
bf32831cda
listen to
2006-03-08 21:54:05 +00:00
aarne
5592a12ad1
clt with toc
2006-03-08 21:40:30 +00:00
aarne
dd1adef3ca
romance bug fix ; postfixes in clt slides
2006-03-08 21:35:28 +00:00
aarne
1ce8ef0ba9
CLT slides, final
2006-03-08 11:07:10 +00:00
aarne
e74f367971
ATIS
2006-03-08 08:47:16 +00:00
aarne
863454b94d
CLT slides complete (but not finished...)
2006-03-08 08:38:22 +00:00
aarne
8019e4e977
clt slides intermediary version
2006-03-08 08:09:11 +00:00
peb
8841bd41dd
added todo
2006-03-08 05:41:18 +00:00
aarne
1710d0c995
working on CLT sem
2006-03-07 21:04:12 +00:00
aarne
aad2498741
todo
2006-03-07 20:12:23 +00:00
aarne
6c46034c09
merging Lexicon with Swadesh
2006-03-07 18:26:47 +00:00
aarne
c168b6c489
changed regN to be always of type Str -> N
2006-03-07 10:59:39 +00:00
aarne
21202641a1
fixes in Finnish passives and pronouns ; pass imperf still missing
2006-03-06 22:27:23 +00:00
aarne
5e70830f3c
more treebank options; updated history
2006-03-06 21:27:49 +00:00
aarne
a2d2e268d3
fixed the place of negation in German passives
2006-03-06 20:58:11 +00:00
bringert
cf2d695f74
Transfer type system: some random changes
2006-03-06 16:55:22 +00:00
aarne
59a36e981a
working on ExTramI and german verbs phrase
2006-03-06 15:36:09 +00:00
aarne
fe11a69752
make help and treebank options
2006-03-05 20:30:37 +00:00
aarne
8d4c4307b9
example based also with treebank, with real term parser
2006-03-04 22:14:33 +00:00
aarne
ddc8a409ec
proper place of -treebank option
2006-03-04 15:24:03 +00:00
aarne
ee26cf955b
treebank creating script; duplicated consonants in LexiconEng
2006-03-04 14:58:11 +00:00
aarne
277a333a02
started CLT sem slides
2006-03-04 13:23:02 +00:00
aarne
0eb9f74977
distinguished uni and multi treebanks
2006-03-03 20:51:03 +00:00
priesnit
979bb39632
continuation of environment variable patch
2006-03-02 22:47:45 +00:00
priesnit
00b14b25d3
GFHOME must now be set in the environment
...
minor change in German numbers
2006-03-02 20:53:44 +00:00
bringert
773fb9080c
Transfer type checking algorithm: started on conversion.
2006-03-03 15:56:15 +00:00
bringert
7513cf8ef4
Transfer type checking: Added some notation explanation. Added constructor context. Added proper pattern checking operation.
2006-03-03 10:56:34 +00:00
bringert
1738be3a75
SRGS generation: use XML module escape mechanism. Added beginnings of a not yet working SRGS minimization function.
2006-03-03 10:40:53 +00:00
bringert
21e611f513
Towards a working VoiceXML generator.
2006-03-03 10:40:23 +00:00
bringert
3c1e97d363
XML module: added CData support. Escape stuff that needs to be escaped in XML.
2006-03-03 10:38:49 +00:00
bringert
dd0d26c022
Transfer: added beginnings of a type checking algorithm description.
2006-03-03 10:37:59 +00:00
bringert
61898554b5
Transfer: Removed PType from source and core languages.
2006-03-03 10:34:15 +00:00
aarne
6cd06a5efc
several treebanks in shell state
2006-03-02 20:27:42 +00:00
aarne
27467d32fd
a minimal-lexicon version of resource
2006-03-02 17:20:46 +00:00
aarne
bf872d018e
treebanks in shell state: i -treebank and lt
2006-03-02 17:19:36 +00:00
aarne
8a6da89104
updated resource index.html
2006-03-02 11:10:54 +00:00
aarne
d9a9f57089
tb -trees ; rl ; path in gfe ; removed spurious "file not found"
2006-03-02 09:55:50 +00:00
aarne
09e6c6c9a3
refreshing gfe example
2006-03-01 17:36:34 +00:00
aarne
3d1b3dcd91
ResourceHOWTO updafed
2006-03-01 16:17:19 +00:00
bringert
828b92a83e
Remove superfluous space in transfer let description.
2006-03-01 12:52:23 +00:00
bringert
146bd72e11
Transfer reference: remove type annotations in let.
2006-03-01 12:51:10 +00:00
bringert
bdc1401d7a
SwadeshEng: give_V uses "to"
2006-02-28 19:47:42 +00:00
bringert
5e539f0f5f
SwadeshSwe: know = känna.
2006-02-28 19:44:13 +00:00
bringert
3be67b4748
Swadesh: fog is a MassN.
2006-02-28 19:29:48 +00:00
bringert
6892f9318e
SwadeshSwe: give_V = ge till.
2006-02-28 19:25:38 +00:00
bringert
e755db7113
Swadesh: made fat MassN and guts N.
2006-02-28 19:25:02 +00:00
bringert
c3303323d1
SwadeshSwe: changed far_Adv to långt (was långt borta).
2006-02-28 19:19:53 +00:00
bringert
5c5bba4bbd
Swadesh: changed smell_v from V2 to V.
2006-02-28 19:18:01 +00:00
bringert
2037e0834f
Swadesh: fight_V is now "slåss med" in swedish.
2006-02-28 19:11:27 +00:00
bringert
337b627401
Fixed morphology of swedish "mun".
2006-02-28 19:07:54 +00:00
bringert
179331dde5
Guessed implementation of left and right in spanish, french and italian.
2006-02-28 19:02:43 +00:00
bringert
cb18bc2557
Swadesh: added MassN category and made some nouns MassN instead of N. Removed some unused instantiations from Bronzeage??? modules. Swadesh: left and right are now Ord instead of A. Bronzeage: all pronouns as NP.
2006-02-28 18:49:04 +00:00
aarne
f3f141b842
one more fix in irregV
2006-02-28 18:06:42 +00:00
aarne
a0eb5378c7
Swedish paradigm fixes
2006-02-28 17:53:00 +00:00
aarne
c2fdbcdb4b
xvfz
2006-02-28 14:54:44 +00:00
aarne
f60d5fdabb
doc on compiled
2006-02-28 14:53:04 +00:00
aarne
684af365da
compiled.tgz
2006-02-28 14:45:39 +00:00
aarne
ef06ecdb90
fixed the treatment of swe verb of form _mmer
2006-02-28 09:07:23 +00:00
bringert
6f913778ea
Fixed salt_N is swedish.
2006-02-27 21:34:02 +00:00
bringert
136535ef6d
Print grammar names in translation exercise lists.
2006-02-27 20:45:54 +00:00
bringert
d3aac86052
VoiceXML generation: fixed threading of existing values through subdialog calls.
2006-02-06 16:45:59 +00:00
aarne
b7703b8460
fine-tuning Romance for efficiency
2006-02-27 19:46:48 +00:00
aarne
6eb14fa20f
restored multimodal and mathematical sources
2006-02-27 14:04:33 +00:00
aarne
c19ec594c6
documenting for geocal
2006-02-26 22:13:14 +00:00
aarne
7b4ca0402c
Makefile for mkPresent
2006-02-27 08:53:09 +00:00
aarne
4a21c9b6e2
adjustments and clean-up in resource
2006-02-26 18:43:13 +00:00
aarne
f1ffa2f17d
bug fixed (?) in compilation
2006-02-26 11:16:53 +00:00
aarne
c68e81406a
workaround for a bug - to be inspected
2006-02-26 07:46:10 +00:00
aarne
6110ec6657
bronzeage
2006-02-25 23:23:05 +00:00
aarne
607dc668b7
documenting the library
2006-02-25 22:58:55 +00:00
aarne
5bd28ff6af
directories of precompiled libraries under lib
2006-02-25 21:12:59 +00:00
aarne
9b0036457c
resource specialized to present tense ; preprocessor flag
2006-02-25 18:59:32 +00:00
aarne
af0dfe0921
bronzeage README ; topological sorting of abstract modules
2006-02-24 15:49:14 +00:00
aarne
e650b53fc1
bronzeage
2006-02-24 13:57:41 +00:00
aarne
94c8a836b2
swadesh adjustments
2006-02-24 10:12:49 +00:00
aarne
9834a25196
swadesh migrated
2006-02-23 22:39:35 +00:00
aarne
7681912d20
templates for German
2006-02-23 18:06:15 +00:00
aarne
849ac10299
started Swadesh in 1.0: Eng and Swe ready (also stoneage1)
2006-02-23 17:46:49 +00:00
aarne
625a25cc68
the -gfc option
2006-02-23 09:58:59 +00:00
aarne
bc869124ca
completed Multimodal and Tram with new languages
2006-02-23 09:16:11 +00:00
aarne
bac9c25a3b
tram using compiled resources
2006-02-22 22:29:11 +00:00
aarne
2f91205ba0
testing precompiled libraries
2006-02-22 11:13:42 +00:00
aarne
05d13ef582
updated and tested Mathematical
2006-02-21 17:31:54 +00:00
aarne
f3fa5bdd92
readme
2006-02-21 15:37:17 +00:00
aarne
a0150f72a7
documenting new API structure
2006-02-21 15:35:14 +00:00
aarne
b26060262a
finished Idiom implementations
2006-02-21 13:33:10 +00:00
aarne
0365c6f346
completing Idiom implementations
2006-02-21 11:09:30 +00:00
aarne
29aa2b8499
todo updated
2006-02-20 22:14:37 +00:00
aarne
e0dc7034ac
Tense to Common ; Idiom ; Text
2006-02-20 22:11:57 +00:00
aarne
b6957f4e41
texts and idioms
2006-02-20 14:52:37 +00:00
aarne
4cd96c5d52
todo list, ita participle agreement
2006-02-19 22:02:59 +00:00
aarne
5e9f0a908a
new structure of Romance VP complete
2006-02-17 23:57:14 +00:00
aarne
be3c9fe199
changed representation of clitics in romance VP (French ready)
2006-02-17 13:20:10 +00:00
aarne
e3b248c1d9
some new probs
2006-02-16 22:49:47 +00:00
aarne
490e5a4e8f
English auxiliaries and AdV
2006-02-16 22:34:00 +00:00
aarne
834b63a175
nocf flag ; mathematical API
2006-02-14 21:19:24 +00:00
aarne
87ff64e0fc
Romance clitics almost OK ; bug fix in tb -c
2006-02-14 20:42:36 +00:00
aarne
a8d99d9571
some adjustments in romance
2006-02-10 15:57:09 +00:00
aarne
c12ee01480
seminar slides
2006-02-10 08:02:34 +00:00
aarne
dd3a575080
SE seminar version of GSLT talk
2006-02-09 10:57:33 +00:00
aarne
aa8168e88f
test probabilities for resource; rounding of prob sum
2006-02-09 10:54:07 +00:00
peb
1bf55bbf95
two versions of optStr in Prelude.gf
2006-02-09 10:41:31 +00:00
peb
fd563696fa
two versions of optStr
2006-02-09 08:08:06 +00:00
aarne
dec0d1b24b
added timeout to gr -cf
2006-02-08 22:43:07 +00:00
aarne
676058581d
testing treebanks
2006-02-08 21:58:36 +00:00
aarne
a1e79f3634
numeration in treebank
2006-02-08 14:05:46 +00:00
aarne
91c50eae38
German infinitives fixed
2006-02-08 12:05:14 +00:00
aarne
a70f2c286c
Romance reflexives in lexicon; German infinitival phrase
2006-02-08 10:52:58 +00:00
aarne
39846cc94c
command tb for creating treebanks
2006-02-08 10:18:00 +00:00
aarne
9758029c55
ParadigmsFIn.html
2006-02-07 18:06:30 +00:00
aarne
0e4a0f2041
Finnish complete
2006-02-07 18:05:25 +00:00
aarne
52dc7d460d
note on opers in resource howto
2006-02-07 08:22:16 +00:00
aarne
cb1363413c
Most of Finnish done.
2006-02-06 20:44:41 +00:00
aarne
1568ac53e6
Finnish determiner syntax started
2006-02-06 15:21:55 +00:00
aarne
184a4a3401
formulas
2006-02-06 13:44:52 +00:00
aarne
d1060cf137
TODO list
2006-02-06 13:30:52 +00:00
aarne
d33db921a4
intro to gf-formalism
2006-02-06 08:28:20 +00:00
aarne
f086f56b66
experimenting with optim flags for verb paradigms
2006-02-05 20:14:26 +00:00
aarne
fc945b485b
main problems of Finnish solved
2006-02-05 19:57:26 +00:00
aarne
d752c36d0f
improved performance of ParadigmsFin; merged Param with Res
2006-02-05 14:19:00 +00:00
aarne
827f9ab643
started Finnish (Param, Morpho, Cat, Param appr. OK)
2006-02-03 20:07:41 +00:00
bringert
07b34ff780
Moved general XML stuff to GF.Data.XML. Started working on VoiceXML generation.
2006-02-03 18:43:06 +00:00
aarne
ecc3c7144b
started talk for Paris
2006-02-03 14:46:27 +00:00
aarne
95cc7878ce
readme and Makefile updated, test added
2006-02-03 09:51:11 +00:00
aarne
d7fe2dd877
Spanish complete except ordinals; clitics to revisit
2006-02-03 09:25:50 +00:00
aarne
f554e18bcc
started spanish; still partly italian
2006-02-02 22:56:53 +00:00
aarne
be22b7c8aa
documenting Quant
2006-02-02 15:24:13 +00:00
aarne
f5f3ba0e42
Quant with variable number
2006-02-02 15:23:43 +00:00
aarne
478d1f4435
gf-formalism.html
2006-02-02 13:17:01 +00:00
aarne
6d83e5aca6
verb placere
2006-02-02 09:20:23 +00:00
aarne
a28eeb58bd
Latin example in HOWTO
2006-02-01 23:04:05 +00:00
bringert
390efcd43c
SRGS: add top-level rules for each GF category.
2006-02-01 19:00:48 +00:00
bringert
333d7ba42a
Include GF version and compile date in SRGS meta creator tag.
2006-02-01 18:09:47 +00:00
bringert
585e6f1554
SRGS semantic results for list categories is now an array.
2006-02-01 18:03:13 +00:00
aarne
bcfacc70ef
doc for ParadigmsIta
2006-02-01 16:53:39 +00:00
aarne
bb8ad6b5e3
derived Ita added
2006-02-01 16:51:37 +00:00
aarne
6dbd727361
Italian added (first version, to be tested more)
2006-02-01 16:35:29 +00:00
aarne
c84f3cb4c2
from AS to Cl in predication
2006-02-01 13:02:02 +00:00
bringert
df8b2ab6b8
First version of SRGS with semantic tags.
2006-02-01 16:23:14 +00:00
bringert
b7f64b384b
Escape backslashes and double quotes in SRGS attribute values.
2006-02-01 10:24:37 +00:00
bringert
cf61a92bc8
Set xml:lang in SRGS grammars to the value of the language flag.
2006-02-01 10:16:40 +00:00
aarne
477abbd5ed
optimization flag in Predicatio
2006-01-31 17:46:16 +00:00
aarne
ed71566bd9
German negation place
2006-01-31 17:39:15 +00:00
aarne
5ae834c9c1
forgot txt2tags
2006-01-31 17:18:52 +00:00
aarne
ccade775b7
documenting math
2006-01-31 17:17:19 +00:00
aarne
9b4c57b0dd
math API; lock field warnings
2006-01-31 17:10:31 +00:00
aarne
0f08827320
Math to mathematical/Symbol
2006-01-31 14:04:38 +00:00
aarne
3f8ea1466b
shortcuts on index page
2006-01-31 13:41:15 +00:00
aarne
642a843a8c
bug fix in romance preposition + pronoun
2006-01-30 20:21:09 +00:00
aarne
c0b8ec02fd
parametrized participle-clitic agreement
2006-01-30 19:59:24 +00:00
aarne
9d6586b43c
added sem HTML
2006-01-30 15:24:46 +00:00
aarne
fb281a33ca
GSLT sem, final version
2006-01-30 15:23:35 +00:00
aarne
1ba06050ef
gslt sem presentation
2006-01-29 22:10:35 +00:00
aarne
a23ba78694
gslt sem
2006-01-29 10:22:31 +00:00
aarne
67ff5a7b17
gslt talk
2006-01-27 14:52:20 +00:00
aarne
3e693579b5
fixes in French
2006-01-26 21:46:12 +00:00
aarne
21ec0645fa
forgotten ParadigmsNor
2006-01-26 14:16:16 +00:00
aarne
f8addc0bfe
added Swedish irreg, and some doc
2006-01-26 14:11:37 +00:00
aarne
1ea78bd1fe
Norwegian
2006-01-26 13:57:22 +00:00
bringert
8f0cbfcc00
Updated GHC version requirement and file names for GF 2.4.
2006-01-26 12:06:24 +00:00
aarne
f8e0ef5a3b
document of ParadigmsSwe
2006-01-25 21:14:08 +00:00
aarne
5052c9bab0
swedish lexicon fixes
2006-01-25 20:27:38 +00:00
aarne
75e6f51bbc
cleaning up Swedish morpho
2006-01-25 17:17:42 +00:00
aarne
9cb10ab12e
cheese.s in tutorial
2006-01-25 15:03:11 +00:00
aarne
f1baa09089
el date 2006
2006-01-25 14:19:18 +00:00
aarne
fecd595d34
el date
2006-01-25 14:18:49 +00:00
aarne
e72d911bac
link to emacs mode
2006-01-25 14:07:11 +00:00
aarne
8caf096e68
documentation varia
2006-01-25 14:04:39 +00:00
aarne
a02731acc4
howto document updated
2006-01-25 13:58:50 +00:00
aarne
9dc877cead
redocumenting resource
2006-01-25 13:52:15 +00:00
aarne
3a69241209
cleaning up resource module structure
2006-01-25 09:50:30 +00:00
aarne
7cce7e6462
infinitive marks in EmbedVP, bugs noticed
2006-01-24 21:51:17 +00:00
aarne
62e4090739
optimization of selection computation
2006-01-24 20:36:37 +00:00
aarne
72b22a54cd
the parser can read .gfm files (but they are not yet compiled all the way)
2006-01-24 15:18:46 +00:00
aarne
10f2fd2457
Structural.you*; reorganized scand
2006-01-24 14:30:36 +00:00
aarne
06cb55df48
completed French ordinals and thereby French/Romance
2006-01-24 12:55:30 +00:00
aarne
c8a52e297c
Romancs reflexives and passives
2006-01-24 09:59:20 +00:00
aarne
a9191c404f
French almost complete (reflexives, ordinals missing)
2006-01-23 17:49:09 +00:00
aarne
7364373223
French close to complete; reported on regexp bindings
2006-01-23 16:38:42 +00:00
aarne
29b47a37c9
French conj
2006-01-23 10:54:49 +00:00
aarne
5c50cbe5ca
StructuralFre completed
2006-01-23 09:55:48 +00:00
aarne
d1a05d8fea
clean up tram; report German
2006-01-22 21:30:26 +00:00
aarne
3f2a7db309
German double infinitives, place of adverbials
2006-01-22 21:12:07 +00:00
aarne
29a4ef3172
working towards tram in 4 langs
2006-01-20 23:03:50 +00:00
aarne
6f89da4591
French structural words and VV
2006-01-20 21:57:33 +00:00
bringert
036de8d94e
Use right start category names in si command.
2006-01-20 18:20:02 +00:00
bringert
05377a9a65
Report errors in at command.
2006-01-20 18:18:49 +00:00
aarne
87ce48926a
forgotten ParadigmsFre
2006-01-20 17:06:35 +00:00
aarne
60ef9c77e0
documenting resource
2006-01-20 17:04:45 +00:00
aarne
64409337c5
more french
2006-01-20 16:56:38 +00:00
aarne
e40cceeb4c
clitic insertion started
2006-01-20 13:40:19 +00:00
aarne
b21eeaa2df
participle agreement
2006-01-20 12:25:18 +00:00
aarne
de7e50a92a
started romance predication; some restructuring of modules; CheckGrammar value table bug fix
2006-01-20 10:54:38 +00:00
aarne
c40ad4e79f
workaround for a compilation bug for param defs (to be fixed)
2006-01-19 17:27:46 +00:00
aarne
2b2f6e4925
started romance and french
2006-01-19 16:41:44 +00:00
aarne
0b18ccaea4
indexing the new resource document
2006-01-18 18:26:07 +00:00
aarne
ecce36b777
structure document for 1.0
2006-01-18 18:19:33 +00:00
aarne
399e92c8f7
added AdvCN ; some German morpho bug fixes
2006-01-18 17:27:52 +00:00
aarne
ae956d0805
resource doc update
2006-01-18 11:09:50 +00:00
aarne
c0cdf8a70b
documented German
2006-01-17 20:40:57 +00:00
aarne
db066b1233
German complete (with some bugs and uncertainties)
2006-01-17 20:31:30 +00:00
aarne
89cd3d352d
German numerals and almost all Basic
2006-01-17 19:15:13 +00:00
aarne
b80f737013
recompiled doc
2006-01-17 15:10:03 +00:00
aarne
7b39bb3fe3
gfdoc & rem dutch
2006-01-17 14:28:22 +00:00
aarne
25e5edcde6
moved stuff from MorphoSwe to ParadigmsSwe (to be continued)
2006-01-17 13:56:38 +00:00
aarne
0430f8eb05
swedish complete
2006-01-17 13:45:40 +00:00
aarne
a31fbfc305
documenting Numeral; completing Swedish
2006-01-17 10:07:34 +00:00
bringert
6370fbfec5
Use cat and language in ATK si. Support language switching with ATK.
2006-01-17 02:13:57 +00:00
aarne
4b6e4fe707
refreshed documentation
2006-01-16 21:47:59 +00:00
aarne
698ead9016
more work on BasicGer
2006-01-16 21:40:01 +00:00
aarne
4ef83ea806
reflexive and deponent as verb features added
2006-01-16 20:42:52 +00:00
bringert
6bfefe0ea9
Fixed Swedish "fågel".
2006-01-16 19:47:53 +00:00
bringert
fb308c1763
Fixed neutral form of swedish "kort".
2006-01-16 19:39:30 +00:00
bringert
1669453000
Fixed neutral forms of swedish slö.
2006-01-16 19:21:00 +00:00
aarne
51f103641e
uncomment in LangGer
2006-01-16 10:39:05 +00:00
aarne
f77fb61715
started BasicGer
2006-01-16 10:37:51 +00:00
aarne
cd4e4c2076
incompleteness warning and PNeg in CheckGrammar
2006-01-16 09:47:08 +00:00
aarne
de492a866a
german AForm and verb endings
2006-01-16 09:24:38 +00:00
aarne
bc8bfdea4d
most of ParadigmsGer written
2006-01-15 15:45:23 +00:00
aarne
85d1084343
started ParadigmsGer
2006-01-15 12:11:43 +00:00
aarne
1d60c8943f
StructuralGer started
2006-01-15 11:08:19 +00:00
aarne
f48c35dbe2
removed "one" from Lex; updated README
2006-01-13 22:48:37 +00:00
aarne
1a262ce1f8
finishing TestGerman
2006-01-13 22:33:15 +00:00
aarne
f3f346d6d9
new resource doc on Phrase etc
2006-01-13 15:55:56 +00:00
aarne
eb9c4bdcae
documenting and reorganizing Verb
2006-01-13 14:48:53 +00:00
aarne
17449e42ba
type checking pattern bindings
2006-01-13 13:47:15 +00:00
aarne
621ca0c43d
modified Det structure; integrated scand definites.
2006-01-12 23:03:25 +00:00
peb
ec2cf7c4d4
peb
2006-01-13 08:42:25 +00:00
aarne
a46c3d2b00
working on API documentation
2006-01-10 20:51:08 +00:00
aarne
da26bfb246
API documentation and slight change in Det syntax
2006-01-10 15:39:20 +00:00
aarne
d2dc0e82e8
fixes in multimodal document, last section
2006-01-09 19:30:27 +00:00
aarne
cd4e08bf7e
MorphoGer details
2006-01-09 19:15:31 +00:00
aarne
a51c85b573
matching empty string fixed
2006-01-09 09:22:39 +00:00
aarne
8b07110626
html version of multimodal doc
2006-01-08 20:51:32 +00:00
aarne
8b70a8d166
multimodal document revised
2006-01-08 20:50:56 +00:00
aarne
aef3e62e5f
multimodal grammar document
2006-01-08 18:57:17 +00:00
aarne
3e5d7ce229
reordered and documented Cat modules
2006-01-07 22:30:36 +00:00
aarne
cbf3bd088b
regex in the tutorial
2006-01-07 20:53:47 +00:00
aarne
94bf4510de
verifying regex patterns and improving Finnish morphology
2006-01-07 17:34:32 +00:00
aarne
6b6bf9bce9
documenting regular patterns
2006-01-07 15:42:13 +00:00
aarne
69e1668f16
regular expression patterns
2006-01-07 14:39:40 +00:00
aarne
16a4868efa
regex patterns for tokens
2006-01-07 12:26:11 +00:00
aarne
5e0dad4362
documenting CC patterns
2006-01-06 22:19:02 +00:00
aarne
731aea1a03
concatenation string patterns
2006-01-06 21:49:25 +00:00
aarne
16dfdad304
Simplified ResGer
2006-01-06 14:51:12 +00:00
aarne
a8a1f91e46
HOWTO update
2006-01-05 22:20:35 +00:00
aarne
92487d7dcf
Wrap up German doc
2006-01-05 21:41:59 +00:00
aarne
258e6e3aa9
German numerals and coordination
2006-01-05 21:37:53 +00:00
aarne
37cfc1b012
German relatives
2006-01-05 20:58:28 +00:00
aarne
b0d4f03165
German questions
2006-01-05 18:03:34 +00:00
aarne
cdecf37355
German imperatives and other phrases
2006-01-05 17:24:48 +00:00
bringert
9b7ce588b2
Fixed-point iterate unneccessary node removeal.
2006-01-05 20:55:13 +00:00
bringert
ededda152b
Generate monolithic FAs by expanding an MFA.
2006-01-05 20:35:22 +00:00
bringert
e76e2e754a
Added monolithic SLF builind back in.
2006-01-05 19:34:12 +00:00
bringert
795078eece
Sort sub-networks topologically. HTK's HBuild seems to require this.
2006-01-05 19:03:31 +00:00
bringert
af905434a2
Remove unused sub-networks when generating multiple FAs.
2006-01-05 17:46:30 +00:00
bringert
6958b7bb7b
Remove more unneccessary nodes in SLF networks.
2006-01-05 16:48:55 +00:00
bringert
0603e75a14
Refactored Graph module. Remove some unneccessary states in slf networks.
2006-01-05 16:35:04 +00:00
bringert
40950c8bc1
Use language flag to select the acoustic model to use with ATK.
2006-01-05 16:34:35 +00:00
aarne
1be6eb5399
German extraposition
2006-01-05 14:22:53 +00:00
aarne
252d24642f
German sentence formation; development log
2006-01-05 13:40:34 +00:00
aarne
d006a6a016
German verb syntax
2006-01-05 12:51:30 +00:00
aarne
c1e06ac382
German determiners
2006-01-05 09:38:41 +00:00
bringert
3360bd3e7b
Print slf_graphviz with subgraphs.
2006-01-05 12:59:36 +00:00
bringert
718b6a5fd2
Build SLF networks with sublattices.
2006-01-04 21:41:12 +00:00
aarne
15c26d6c11
German lexicon started
2006-01-04 20:17:31 +00:00
aarne
946ba9a93b
basic German verbs completed
2006-01-04 18:58:18 +00:00
aarne
06e2ad7af2
German verbs
2006-01-04 15:18:40 +00:00
aarne
5f1cd79b9b
starting German: nouns
2006-01-04 13:01:05 +00:00
bringert
958c754112
Regenerate Transfer abstract syntaxes with updated BNFC.
2006-01-03 10:29:47 +00:00
bringert
a9ae24fbc5
Finite state networks: more strictness. alternative (still unused) implementation of reachable.
2005-12-29 21:35:40 +00:00
bringert
79d771ab1d
Fintie state networks: fixed stack overflow problem with strictness in Graph and FiniteState. Some clean-up and smaller performance fixes.
2005-12-29 20:24:34 +00:00
bringert
72c2289857
Finite state networks: replace some lookup tables with maps. Rewrite closure for speed.
2005-12-29 16:29:21 +00:00
bringert
999cb3bc07
Finite state minimization: improved performance by using Set State instead of [State] as DFA labels.
2005-12-29 15:55:48 +00:00
bringert
9981704c5f
Finite state network generation: reimplemented getOutgoing using Data.Map to improve performance of minimize with large networks.
2005-12-29 13:33:58 +00:00
bringert
5c12a73dae
Some performance improvements in the FA generation.
2005-12-22 23:16:15 +00:00
bringert
cb9769788e
Some tracing and formatting stuff looking for the the stack overflow problem in the FA generation.
2005-12-22 18:04:05 +00:00
aarne
ff1194c1d6
mailing list
2005-12-22 20:24:33 +00:00
aarne
8741e77f9e
nosignal
2005-12-22 19:48:17 +00:00
aarne
208b2e9d65
newline in welcome
2005-12-22 18:27:27 +00:00
aarne
48185cabc7
Updated version numbers.
2005-12-22 18:14:39 +00:00
aarne
360036cc4e
moments
2005-12-22 18:05:00 +00:00
aarne
19c57dbd29
Hebrew Letter; news on index
2005-12-22 18:01:35 +00:00
aarne
eda7b07087
moved obsolete files; updated umlaut help
2005-12-22 17:27:00 +00:00
aarne
8e2d67bfba
version number, encoding
2005-12-22 16:46:38 +00:00
bringert
6e53876291
Swedish Swadesh: levren -> levern
2005-12-22 10:28:23 +00:00
aarne
a979aedd15
Black's notice
2005-12-21 20:47:55 +00:00
aarne
470aa1d3d7
preparing for release in doc
2005-12-21 20:40:03 +00:00
aarne
9f5b6f055b
resource 1.0 readme and license
2005-12-21 20:30:36 +00:00
aarne
c944134e9f
readme and licence, nor bugfix
2005-12-21 20:22:01 +00:00
aarne
d91d8043e0
parsing escaped strings from command line fixed
2005-12-21 19:46:48 +00:00
bringert
82c3a45047
Swedish Swadesh: Use mkN for frö.
2005-12-21 15:37:35 +00:00
bringert
ea1254f9d2
Fix in SwadeshSwe, naglen -> nageln.
2005-12-21 15:02:48 +00:00
bringert
4b76a75af9
More details about the si command.
2005-12-21 11:48:28 +00:00
aarne
c2a0aade0f
html version generated
2005-12-21 09:29:20 +00:00
aarne
9f50f3ec05
batch mode in tutorial
2005-12-21 09:28:28 +00:00
aarne
9bb7364234
bug fix in updateShellState
2005-12-21 09:20:53 +00:00
aarne
299dd59dcb
history update
2005-12-21 08:08:25 +00:00
aarne
a7d36ea1f8
full disjunctive patterns ; more prec levels for Exp
2005-12-20 22:38:38 +00:00
bringert
5d61388d77
Don't import toLower in PrSLF.
2005-12-20 15:17:43 +00:00
aarne
35daecebcd
CS's system S
2005-12-20 14:20:42 +00:00
aarne
9f37ff9c96
typo fix
2005-12-19 17:05:42 +00:00
aarne
3f44c4c1c4
wrote on resource in tutorial
2005-12-19 17:01:39 +00:00
aarne
97d36f0c93
resource examples
2005-12-19 16:31:40 +00:00
aarne
476f6a9fa3
diagrams
2005-12-18 21:29:55 +00:00
aarne
404eb90d73
txt2tags result
2005-12-18 21:27:23 +00:00
aarne
de6b09f650
new tutorial example
2005-12-18 21:26:21 +00:00
aarne
e4314a739d
end of tutorial sketched
2005-12-17 22:21:23 +00:00
aarne
6510f3c115
tutorial; mkMorpho bug fix
2005-12-17 20:44:20 +00:00
aarne
8debca200c
morpho in tutorial
2005-12-17 12:33:15 +00:00
aarne
5079425dd5
progress in tutorial
2005-12-17 12:32:15 +00:00
aarne
3068777fdb
tutorial goes on
2005-12-16 21:19:32 +00:00
aarne
2aeaccaf55
tutorial Tree
2005-12-16 20:27:01 +00:00
aarne
0041478512
tutorial elaboration
2005-12-16 20:25:52 +00:00
bringert
fdd1f84b19
ATK: set CMNDEFAULT programmatically. Requires latest version of atkrec.
2005-12-16 15:13:37 +00:00
bringert
903b89de34
Include atk config file in GF. Use environment variable to find the file.
2005-12-16 14:17:39 +00:00
aarne
ffadb3a49f
work on tutorial
2005-12-16 14:10:32 +00:00
aarne
6365f744ba
resource mp3 document
2005-12-16 13:32:04 +00:00
bringert
c8b8089544
ATK: prepare for supporting multiple languages.
2005-12-16 13:05:56 +00:00
bringert
b569d80d50
Fixed conflict from Aarne's ATK path changes. Added NOILINE pragma to ATK initialized variable.
2005-12-16 09:54:31 +00:00
bringert
d284e54aed
Use ATK_HOME variable to find resources.
2005-12-14 15:11:26 +00:00
aarne
f505e18ea2
tutorial in txt format
2005-12-15 15:45:42 +00:00
aarne
51f622a5cd
mp3.gfcm
2005-12-14 16:51:25 +00:00
aarne
a470831560
mp3 example
2005-12-14 16:28:57 +00:00
bringert
b1543ab8bd
Fixed arguments of NoSpeechInput.recognizeSpeech so that GF compiles without ATK.
2005-12-14 14:53:28 +00:00
bringert
8bb1df23a8
Added explicit type signature to GF.System.NoSpeechInput.recognizeSpeech.
2005-12-13 21:09:29 +00:00
bringert
18a57aa56a
Added semi-working speech_input command.
2005-12-13 21:03:56 +00:00
aarne
0101410954
swedish completed
2005-12-12 08:57:01 +00:00
aarne
c2dde4e80f
float parsing fixed
2005-12-11 17:48:55 +00:00
aarne
0818aa7dc6
NumeralsSwe (dummy)
2005-12-09 16:46:13 +00:00
aarne
e5d44f96ad
tram with new API
2005-12-09 16:29:49 +00:00
aarne
ea5639b85f
multimodal for Swedish
2005-12-09 16:28:45 +00:00
aarne
5889b3f7db
gfdoc for tags
2005-12-09 14:18:32 +00:00
bringert
bb545d2faa
Use tags in SLF generation to get out a parsable string.
2005-12-09 13:35:50 +00:00
aarne
bce74dd93a
doc/
2005-12-09 13:31:05 +00:00
aarne
cfa717c4c7
compiler example in index
2005-12-09 13:29:45 +00:00
aarne
1abca7d616
formats in index
2005-12-09 13:23:39 +00:00
aarne
6e02c0f13b
dashed and box
2005-12-09 13:12:19 +00:00
bringert
deb9e3f482
Transfer compiler: rename variables before doing any substitutions.
2005-12-09 13:06:05 +00:00
bringert
6b137b54ba
Transfer: changed syntax to remove the mandatory type annotation in let.
2005-12-09 11:45:57 +00:00
bringert
8739ef954c
Regenerated gf-compiler-png with Aarne's and my changes.
2005-12-09 11:05:53 +00:00
bringert
3f96265145
Added more steps in the speech grammar part of the GF compiler graph.
2005-12-09 11:04:53 +00:00
aarne
b1ad7e9319
more compiler data
2005-12-09 11:04:01 +00:00
bringert
c4e6d36d71
Added note about Transfer being experimental.
2005-12-09 10:56:07 +00:00
aarne
bda591366c
doc on chart
2005-12-09 10:48:35 +00:00
aarne
fea8997683
doc on GF compiler
2005-12-09 10:46:59 +00:00
aarne
8ce397b12a
doc on embedded
2005-12-09 10:00:24 +00:00
aarne
662ed1ff41
mcfg
2005-12-09 09:25:20 +00:00
aarne
4e8fc3b770
link to GF prolog
2005-12-09 09:23:51 +00:00
aarne
ec86cc8966
Swedish almost complete
2005-12-08 16:56:17 +00:00
bringert
a35dbbeeb8
SLF generation: make sure that there is only one final node, and that it is actually final.
2005-12-08 16:01:13 +00:00
aarne
203fc87319
almost completed Swedish
2005-12-08 15:40:50 +00:00
aarne
89423c7ad3
moved resource-howto to txt2tags format
2005-12-08 13:54:33 +00:00
aarne
a8a5080693
Swedish relatives
2005-12-08 09:56:15 +00:00
bringert
0ca556122c
Set encoding in txt2tags documents to utf-8.
2005-12-08 10:04:34 +00:00
bringert
d6fb8d218b
Transfer: fixed bug in prelude partition. Fixed naming of tuple field names, made it 1-based as in docs, instead of 0-based as before.
2005-12-08 09:45:17 +00:00
bringert
2109eb29ff
Transfer: Added compile_all.sh.
2005-12-08 09:39:36 +00:00
alaine
d7759ffbb4
webalt0812
2005-12-08 07:52:57 +00:00
aarne
03ff170d43
document on main index
2005-12-08 09:01:58 +00:00
aarne
2520b05fd3
documentation document
2005-12-08 08:59:24 +00:00
aarne
612d5b2ada
removing obsolete doc/book
2005-12-08 08:20:09 +00:00
aarne
fe55247e76
removed obsolete index file
2005-12-08 08:18:04 +00:00
aarne
e6fe9fc07a
English Ord to Order
2005-12-07 22:27:16 +00:00
aarne
59d1b1271b
Scandinavian conjunction
2005-12-07 22:22:29 +00:00
aarne
5a9db982dc
ResEng.mkS to mkClause
2005-12-07 21:51:40 +00:00
aarne
b7cb68eb08
scand questions
2005-12-07 20:10:30 +00:00
aarne
36c899e975
more Scandinavian
2005-12-07 18:59:35 +00:00
bringert
f8b9bced8b
Transfer reference: first proof reading fixes.
2005-12-07 12:24:30 +00:00
bringert
79a9b19341
Transfer reference: operators, overloading
2005-12-07 11:53:29 +00:00
bringert
30e8bc6cc0
Transfer: derive Eq Bool
2005-12-07 10:11:41 +00:00
bringert
5c06d7279c
Transfer reference: added list patterns, do notation.
2005-12-07 10:03:18 +00:00
aarne
0dfd8c1517
progress with scandinavian
2005-12-07 11:32:04 +00:00
bringert
141fa43eb8
Transfer reference: added metavariable section and implementation status section.
2005-12-07 09:46:21 +00:00
bringert
8957bae1ba
Transfer tutorial: conjunction, not conjugation.
2005-12-06 22:51:00 +00:00
aarne
a4d3f7e7c7
started Swedish
2005-12-06 22:19:43 +00:00
bringert
900a8f1142
Transfer: Changed transfer program file extension from .tr to .tra to avoid collision with Troff file extension.
2005-12-06 16:33:40 +00:00
bringert
099e5068d7
Simple transfer tutorial touch-up.
2005-12-06 16:26:55 +00:00
bringert
95854ea11b
Moved transfer documentation to doc/. Added sections and text to transfer tutorial and reference. Added script for generating html from txt2tags files.
2005-12-06 16:23:29 +00:00
bringert
8b379e4421
Transfer: Fixed BNFC's layout resolver to not insert semicolon at end of line if there is one already.
2005-12-06 16:19:29 +00:00
bringert
817ee33c2e
Transfer: fixed syntax error in prelude definition of partition.
2005-12-06 15:59:43 +00:00
bringert
ed23b9d8d8
Transfer: Changed BNFC's layout syntax resolver to add a semicolon at EOF if using top-level layout sytax. Changed transfer syntax to use this to force semicolon after imports when pretty printing transfer. transfer grammar printer now produces Transfer syntax, not core. It also imports prelude and includes Eq and Compos instances.
2005-12-06 15:57:43 +00:00
bringert
cd9150855d
Transfer: moved pair stuff to prelude. Added partition function.
2005-12-06 12:39:11 +00:00
aarne
c6a10d351f
started ExtEng
2005-12-06 15:21:38 +00:00
aarne
fc23bec700
completed multimodal API
2005-12-06 14:50:53 +00:00
aarne
fc0ec0c0cd
opers in cnc
2005-12-06 12:39:36 +00:00
bringert
6cda8779c4
After suggestion from Jordi: note that darcs pull should be done inside the local repository.
2005-12-06 12:23:54 +00:00
aarne
09659e86eb
bug fix in Shell commands at, wt
2005-12-06 11:46:35 +00:00
aarne
7a7252223f
multimodal resource recreated for new API
2005-12-05 18:31:15 +00:00
bringert
936e402373
Added beginnings of a transfer language reference.
2005-12-05 18:01:59 +00:00
bringert
2b8e3311f4
Removed variable for the type argument of List.
2005-12-05 17:35:32 +00:00
bringert
48cfd7d66f
Renamed transfer compiler and interpreter.
2005-12-05 16:53:27 +00:00
bringert
98b8d8d081
Changed test.tr to run a fibNat test.
2005-12-05 16:52:56 +00:00
bringert
224d2451d7
Added aggregation example.
2005-12-05 16:45:11 +00:00
bringert
ccb780361f
Added tuple expressions and patterns.
2005-12-05 16:44:56 +00:00
aarne
18986bfdd4
tidy up res; bug fix in ShellState.addTransfer
2005-12-05 16:14:12 +00:00
bringert
3442d42d3b
Transfer: fixed Eq derivation to at least work for GF-generated Tree types.
2005-12-05 14:14:19 +00:00
aarne
7fc991cd18
alternative list syntaxes
2005-12-04 20:56:33 +00:00
bringert
ece605f887
Transfer added guards and Eq derivation.
2005-12-02 18:33:08 +00:00
aarne
53a2f8383c
coordination to built-in lists
2005-12-02 16:56:44 +00:00
aarne
e9ce24ad17
IrregEng
2005-12-02 13:59:28 +00:00
aarne
eb361d8941
verb subcat patterns
2005-12-02 13:58:36 +00:00
aarne
ef504a4cbe
floats in GF and GFC (parsing user input still doesn't work)
2005-12-02 13:13:14 +00:00
bringert
e1504e6ba0
Added some differences between Cayenne and Transfer to transfer README
2005-12-02 13:05:02 +00:00
bringert
f59a16876a
Make words in SLF language models upper case.
2005-12-02 12:55:24 +00:00
bringert
fe01b165f7
Transfer: removed list syntax from TODO.
2005-12-01 17:28:50 +00:00
bringert
a7af7bc384
Added list patterns. Added som simple prelude functions.
2005-12-01 17:27:06 +00:00
aarne
e1d8b9c535
EInteger
2005-12-02 08:46:30 +00:00
aarne
c8d1578e56
resource README
2005-12-01 21:45:46 +00:00
aarne
3400486b5e
rearranging resource-1.0
2005-12-01 21:18:42 +00:00
aarne
c3756fddd1
document update
2005-12-01 20:38:22 +00:00
aarne
98af807b99
updating documentation
2005-12-01 20:31:25 +00:00
aarne
141da5a544
history link
2005-12-01 18:01:22 +00:00
aarne
8c918d9516
making apply_transfer work
2005-12-01 17:58:31 +00:00
bringert
df1e92e837
Transfer: Added Double type.
2005-12-01 16:55:57 +00:00
bringert
f66e6e301c
Transfer: remove disjunctive patterns from TODO.
2005-12-01 16:19:43 +00:00
bringert
12d4bc020d
Transfer: added support for disjunctive patterns.
2005-12-01 15:37:47 +00:00
bringert
526cace07a
Added binary numeral grammars.
2005-12-01 13:11:01 +00:00
bringert
64166927a3
Transfer: removed some fixed TODOs.
2005-12-01 11:32:09 +00:00
bringert
d0cf8461fc
Transfer: moved stuff around in prelude. Added some new simple instances.
2005-12-01 11:30:15 +00:00
bringert
50b25c759b
Transfer: Added Add instance for lists.
2005-12-01 11:18:05 +00:00
aarne
494895e977
graph size
2005-12-01 11:07:33 +00:00
aarne
43eb03f41e
extending the resource howto document
2005-12-01 09:55:55 +00:00
bringert
f91a36aaff
Fixed layout stop word bug.
2005-11-30 21:30:36 +00:00
bringert
cd5e1c5ec7
Transfer: added example which makes the layout resolver go wrong. Added binary conversion from numerals.
2005-11-30 21:02:44 +00:00
bringert
e762f85933
Added bind operators, do-notation, a cons operator and list sytnax.
2005-11-30 20:27:01 +00:00
bringert
87b5b826ce
Added monad isntances for List and Maybe.
2005-11-30 18:57:23 +00:00
bringert
8460fbef67
Transfer: derive instances, not functions.
2005-11-30 18:42:45 +00:00
bringert
9664d6c886
Transfer: added monad class. fixed Compos class types.
2005-11-30 18:40:29 +00:00
bringert
997bc8c745
Transfer: reimplement operators with type classes.
2005-11-30 17:40:32 +00:00
bringert
8cec5d5d1a
Transfer compiler: don't load the same module twice.
2005-11-30 17:40:11 +00:00
bringert
60ed11c321
Transfer compiler now has a search path. Use -ipath to add to the path. Created CompilerAPI.
2005-11-30 16:32:13 +00:00
bringert
5ffef88edc
Moved transfer libraries to transfer/lib
2005-11-30 16:00:06 +00:00
bringert
47ad17e78d
Moved class stuff to prelude.
2005-11-30 15:51:43 +00:00
aarne
684011b317
no size in html
2005-11-30 15:33:27 +00:00
aarne
9a711c2a08
resource howto started
2005-11-30 15:23:27 +00:00
aarne
0c99efe54a
VV rules
2005-11-30 12:26:55 +00:00
aarne
198b527658
completing Structural
2005-11-30 11:17:21 +00:00
bringert
80fcb22ef4
darcs.txt: mention that several patches can be sent at once.
2005-11-30 13:27:53 +00:00
bringert
dfcf9bd27b
Transfer: Ord extends Eq.
2005-11-30 13:20:04 +00:00
bringert
2d36a61173
Fixed typo in overload.tr.
2005-11-30 13:18:43 +00:00
bringert
bdffd0946a
Transfer: fleshed out overloading examples.
2005-11-30 12:34:14 +00:00
bringert
dfb58b8816
Added transfer Maybe module.
2005-11-30 12:28:50 +00:00
bringert
34bdfd066c
Remove more useless pattern matching and variable bindings in transfer compilation.
2005-11-30 12:04:21 +00:00
bringert
6c8ff8e84b
Transfer: removed some fixed TODOs.
2005-11-29 19:43:57 +00:00
aarne
33b28b19e9
added transfer cases
2005-11-30 09:14:07 +00:00
aarne
591f931900
transfer added to GF command interpreter[D[
2005-11-30 09:04:45 +00:00
janna
c55e857f27
russian_multi
2005-11-29 21:10:57 +00:00
bringert
b587a3b8bd
Added example of composOp overloading to overload.tr.
2005-11-29 19:43:00 +00:00
bringert
d7cf39ba87
Added patterns with guards to transfer TODO.
2005-11-29 19:42:43 +00:00
janna
96c263ea03
RussianSwadesh
2005-11-29 18:44:35 +00:00
bringert
bb5f9dc312
Use rec and sig for records.
2005-11-29 18:16:33 +00:00
bringert
2ebf7da067
Split widesnake example. Changed examples to use rec and sig keywords.
2005-11-29 18:15:15 +00:00
aarne
34916e8b50
restoring full coverage
2005-11-29 17:45:54 +00:00
bringert
81bea08c2c
Added stoneage transfer example.
2005-11-29 17:42:43 +00:00
bringert
9d56a5f9b2
Transfer: let expressions caused non-termination due to excessive strictness, fixed.
2005-11-29 17:40:43 +00:00
bringert
eebe62ec19
Transfer: added derive composFold
2005-11-29 17:08:43 +00:00
bringert
e561f6398b
Transfer: support printing meta variable values.
2005-11-29 17:08:08 +00:00
bringert
cd5e3e6744
Transfer: don't eta-expand overshadowed constructors.
2005-11-29 17:07:17 +00:00
bringert
dba03132b5
Fixed type argument to recursive call in generated composOp.
2005-11-29 16:10:52 +00:00
bringert
6c109eecc4
Added numerals example.
2005-11-29 16:00:52 +00:00
bringert
43c50a6f4a
Made layout test example more compilcated.
2005-11-29 15:57:51 +00:00
bringert
cffaff9588
In transfer beta reduction optimization: reduce bottom-up instead of top-down.
2005-11-29 15:56:35 +00:00
bringert
8a1efe2ce5
Added meta variables to transfer front-end and core.
2005-11-29 15:48:13 +00:00
aarne
dd70f6dce3
adverbs
2005-11-29 15:21:45 +00:00
bringert
3cd1317bda
Transfer generation: cat constructors should not have tree types.
2005-11-29 14:55:45 +00:00
bringert
e60754e612
Transfer data type generation now uses the Tree type constructor for data constructor types.
2005-11-29 13:59:27 +00:00
bringert
465ad22516
Added GrammarToTransfer. It works, except that the constructor types are missing Tree here and there.
2005-11-29 12:22:40 +00:00
aarne
5a1ce37e1c
relatives
2005-11-29 09:43:20 +00:00
bringert
930b5fd194
Added TODO about layout bug.
2005-11-28 23:03:22 +00:00
bringert
3632c7eecf
Transfer compiler: extended variable removal to variables bound in case expressions.
2005-11-28 23:02:04 +00:00
bringert
51fc5cb515
Transfer compilation: Change varibles which are not used to wildcards.
2005-11-28 22:39:53 +00:00
bringert
998ead90a6
Fixed transfer composOp generation to support tree types that don't take a single type argument.
2005-11-28 22:31:09 +00:00
bringert
0ee1c632f9
Changed precedence of projection to be higher than application.
2005-11-28 21:45:58 +00:00
bringert
2e16e1e384
Changed all example programs to use layout syntax.
2005-11-28 21:45:22 +00:00
bringert
576f25b53e
Regenerated transfer layout syntax module with bug-fixed BNFC. Fixed printing of tokens in correct positions in the layout test program.
2005-11-28 21:25:03 +00:00
bringert
b62b81d973
Changed exp.tr to use layout syntax and the Cat type.
2005-11-28 21:24:31 +00:00
aarne
d5b8fc79fb
adjectives
2005-11-28 20:53:54 +00:00
bringert
2c0fdf6c3c
Removed interpreter API TODO.
2005-11-28 19:15:27 +00:00
bringert
6fb6eb3980
Removed BNFC layout fix from transfer TODO.
2005-11-28 19:12:50 +00:00
bringert
4248f092c1
Cleaned up closure stuff in the transfer interpreter.
2005-11-28 19:12:15 +00:00
aarne
d66e6fbff4
working on questions
2005-11-28 15:00:52 +00:00
janna
0fbb2fe27e
Russian_lex
2005-11-28 11:25:46 +00:00
janna
0b3d28f6d9
russian
2005-11-25 20:02:53 +00:00
bringert
08d75593c3
Add instructions about compressing patches.
2005-11-26 01:36:32 +00:00
bringert
0fc7c76717
Added evaluateExp and builtin to InterpreterAPI. Check for EOF in interactive transfer interpreter mode.
2005-11-25 18:02:36 +00:00
aarne
638826db35
questions and transfer in shell state
2005-11-25 17:40:51 +00:00
bringert
2a59fffd45
Move transfer into the GF repo.
2005-11-25 16:36:19 +00:00
bringert
66c1c31960
Added note about read-write access on Windows.
2005-11-24 16:27:43 +00:00
bringert
f3354b3659
Document ControlMaster problem in Cygwin.
2005-11-24 15:34:49 +00:00
bringert
1438f8e0c1
Include darcs-cm wrapper.
2005-11-24 13:05:27 +00:00
bringert
221b3412fa
Include darcs-cm script.
2005-11-24 12:59:28 +00:00
bringert
d1cb1b5be4
Mention what the ssh -M session looks like.
2005-11-24 10:43:56 +00:00
peb
9d408658de
solved: path problem in SimpleGFC
2005-11-24 10:02:53 +00:00
bringert
506dd0809c
Emphasize need to use momo.
2005-11-24 10:31:05 +00:00
bringert
e3638aace0
Added mkdir to chalmers path setup.
2005-11-24 10:27:35 +00:00
aarne
e583ecc830
simple problem tracing
2005-11-24 09:25:39 +00:00
aarne
b29877c590
extending proto resource API
2005-11-23 21:38:11 +00:00
bringert
f0e40a923d
Make tools/mktoday.sh executable in dist and snapshot. Reported by Johan Bockgård.
2005-11-23 15:35:21 +00:00
bringert
40bc62016f
Added srgs_xml_prob to HelpFile.
2005-11-23 13:16:31 +00:00
aarne
e79321be37
experimenting with English VP
2005-11-22 22:00:47 +00:00
aarne
712272f0e4
put up resource-1.0 and moved cf there
2005-11-21 21:06:44 +00:00
bringert
b6c9c8a77e
Added SRGS printing and command interruption to gf-history.
2005-11-21 10:21:05 +00:00
aarne
64f9ece393
extending English coverage by verbs
2005-11-20 21:40:02 +00:00
bringert
19154d0317
Fixed bugs in the snapshot versioning code.
2005-11-18 14:43:44 +00:00
bringert
435c9aa5a0
Fixed snapshot building to use data-based version number.
2005-11-18 14:40:31 +00:00
aarne
43c850ffbc
matching with ""
2005-11-18 14:24:12 +00:00
aarne
440e68ce4a
nondeterministic lexer, e.g. subseqs
2005-11-17 23:17:42 +00:00
bringert
84b0e9165f
Added section with technical information.
2005-11-17 18:21:42 +00:00
bringert
a10d652122
Documented how to record changes when using read-only access.
2005-11-17 18:00:17 +00:00
bringert
1b7903dfc4
Added a missing dot in darcs.txt (testing new permissions posthook).
2005-11-17 17:51:47 +00:00
aarne
39e3fd3e19
more English cf
2005-11-17 16:41:15 +00:00
bringert
cace1d54b1
Updated ReleaseProcedure with darcs stuff.
2005-11-17 16:13:37 +00:00
bringert
1ca48c9a5e
Changed Makefile use of CVS for creating dists to use darcs.
2005-11-17 16:07:51 +00:00
bringert
55b09624ff
Document version requirements for ssh.
2005-11-17 15:57:09 +00:00
bringert
73295ac42e
Some formatting fixes.
2005-11-17 15:03:30 +00:00
bringert
e75f93e6d5
Some fixes in darcs.txt. Added darcs.html.
2005-11-17 14:57:23 +00:00
bringert
f42d972269
Added darcs.txt.
2005-11-17 14:31:15 +00:00
bringert
7ccad9c6ec
Removed the test directory.
2005-11-17 14:07:20 +00:00
bringert
f1695e355f
Added test dir for testing permissions.
2005-11-17 14:06:07 +00:00
aarne
a62523e09f
ordinals
2005-11-16 10:28:47 +00:00
peb
16f1631906
"Committed_by_peb"
2005-11-16 09:21:21 +00:00
aarne
1c0ecb44c4
work on cf
2005-11-15 16:56:13 +00:00
aarne
a557898c2d
cf exper on res
2005-11-15 16:54:56 +00:00
janna
f2357e1bfd
*** empty log message ***
2005-11-15 15:59:41 +00:00
aarne
50044f7686
extended cf syntax; Det experiment
2005-11-15 10:43:32 +00:00
aarne
fdc6eaa6ee
arbitrary lincat records; noparse pragmas
2005-11-14 15:03:40 +00:00
janna
857094ae0e
*** empty log message ***
2005-11-13 19:35:06 +00:00
aarne
f0b22f18f1
updating VP versions
2005-11-13 19:24:10 +00:00
aarne
c2fb1e938e
project to interpret CLE
2005-11-12 15:26:21 +00:00
aarne
387572ecb3
compilation of functors
2005-11-11 22:24:33 +00:00
bringert
3684eca40b
Made mapAssignM more efficient.
2005-11-11 15:38:00 +00:00
bringert
051789bb40
More efficient implementations of mapPairsM and mapPairListM
2005-11-11 15:12:41 +00:00
bringert
a51f7dad56
Allow disabling signal support in configure.
2005-11-11 10:12:49 +00:00
bringert
09a705d192
Prepared for generation of finite automata in C.
2005-11-10 15:43:44 +00:00
bringert
58de474214
Moved FA and regular grammar printers to a separate module.
2005-11-10 13:19:33 +00:00
aarne
2954e26824
started IDE support project
2005-11-09 21:34:01 +00:00
aarne
c813e96a3e
preparing for new ShellState
2005-11-09 14:14:30 +00:00
aarne
9388b1f189
trams with mm library
2005-11-07 21:45:22 +00:00
bringert
f6d064d9f7
Restore old signal handler after each computation.
2005-11-07 21:27:13 +00:00
bringert
17f7312070
Allow interrupting commands with Ctrl-C. Catch exceptions throw by commands.
2005-11-07 19:15:05 +00:00
aarne
2da3e66507
MImp
2005-11-07 10:03:46 +00:00
aarne
47d0a7f249
multi for Swe
2005-11-07 07:26:04 +00:00
aarne
a4dbad93a1
multimodal resource
2005-11-06 21:00:36 +00:00
aarne
4f6afbab98
webalt fixes
2005-11-04 15:54:12 +00:00
aarne
b59faa21df
fixed SyntaxEng.fromAgr
2005-11-03 10:31:27 +00:00
aarne
26c1c12825
tt
2005-11-02 09:51:37 +00:00
bringert
da9c8e2e1c
Documented SRGS XML generation. Started working on support for probabilities in SRG generation. Added support for probabilities in for SRGS.
2005-11-01 19:09:04 +00:00
aarne
7f5b7eb623
variants compilation
2005-11-01 14:39:12 +00:00
aarne
36839cba86
doc of prob
2005-11-01 08:20:09 +00:00
aarne
1116d7540e
PCFG example
2005-11-01 08:10:54 +00:00
aarne
20d4485bb6
probabilities in ShellState
2005-10-31 18:02:34 +00:00
bringert
08eca90037
Added SRGS XML grammar printer.
2005-10-31 15:48:08 +00:00
aarne
3307118eb0
more probs
2005-10-31 07:12:18 +00:00
aarne
e64822f921
probabilistic
2005-10-30 22:44:00 +00:00
janna
d08695f71f
*** empty log message ***
2005-10-28 08:45:28 +00:00
aarne
8f9666ffef
so
2005-10-27 12:21:53 +00:00
bringert
aef17a14c4
Reduced complexity of reachable in FA determinization.
2005-10-27 08:16:30 +00:00
bringert
8b1821e8ae
Made removeIdenticalRules faster by using sortNubBy instead of nubBy.
2005-10-26 17:47:16 +00:00
bringert
7d2bcd88ad
Removed superfluous Debug.Trace import from SRG.hs.
2005-10-26 16:14:03 +00:00
bringert
b7609f09a5
Moved Graph and Relation stuff to separate modules. Added some QuickCheck properties for Relation. Improved relation datastructure and algorithms, making FA generation much faster.
2005-10-26 16:13:13 +00:00
janna
ae8bf54a04
*** empty log message ***
2005-10-16 20:16:05 +00:00
aarne
934d182986
Make
2005-10-14 07:30:58 +00:00
aarne
95b04d53bb
make resource
2005-10-13 12:43:47 +00:00
aarne
5729a03678
gt -atoms
2005-10-12 11:38:29 +00:00
aarne
cbcac43e31
test grs
2005-10-11 15:03:44 +00:00
aarne
0d33fd98e0
Embed/TemplateApp
2005-10-07 12:06:19 +00:00
aarne
ef18c4d4bf
cfgm
2005-10-07 10:24:51 +00:00
aarne
faadd04af9
eqStr ; pipe to system
2005-10-06 13:21:33 +00:00
aarne
edd17b54f2
macro commands
2005-10-06 09:02:33 +00:00
aarne
e475a71e88
grep etc
2005-10-05 19:02:19 +00:00
peb
5b828bb83d
"Committed_by_peb"
2005-10-05 10:56:42 +00:00
aarne
98dcc20e12
ENglish
2005-10-05 07:47:26 +00:00
aarne
ecea6794e9
data defs
2005-10-04 10:05:06 +00:00
aarne
df4027f798
def and List
2005-10-02 19:50:19 +00:00
aarne
74e7f84e0f
lexer=ignore
2005-09-29 12:20:08 +00:00
aarne
60b6ce0f07
check deps
2005-09-27 09:25:07 +00:00
aarne
6c9934d0bd
index
2005-09-22 18:01:26 +00:00
bringert
e70ebfda5f
Added placeholder for minimizing SLF-style automata.
2005-09-22 16:08:48 +00:00
bringert
914430a5a8
Generated finite state networks are now state minimal.
2005-09-22 15:56:05 +00:00
aarne
beef531778
subs flags
2005-09-20 15:31:09 +00:00
aarne
e1a4b26a53
history
2005-09-20 08:38:12 +00:00
aarne
b585c6c69b
CSEE now works fine
2005-09-20 08:32:55 +00:00
aarne
973311a9f6
debugging csee
2005-09-19 15:11:06 +00:00
aarne
7f65334c46
more clee fix
2005-09-19 12:01:18 +00:00
aarne
19c696217b
debug csee
2005-09-19 09:05:48 +00:00
aarne
5901eb3fe0
common subexp elimination
2005-09-18 21:55:46 +00:00
aarne
37f0795288
resource fixes
2005-09-17 16:01:52 +00:00
aarne
60d7223d34
tabulation optimization
2005-09-16 12:56:12 +00:00
bringert
f4fd1baf8f
Fixed some bugs in the Graphviz printer.
2005-09-15 17:10:44 +00:00
aarne
7df1ff9409
MAth
2005-09-15 15:22:00 +00:00
bringert
efaafffb77
Started wotking on NFA to DFA.
2005-09-14 17:00:19 +00:00
aarne
247af471aa
unpar
2005-09-14 15:26:21 +00:00
bringert
0916a479d8
Parametrized the type of FAs over the state type.
2005-09-14 15:08:35 +00:00
bringert
ffe99a1474
Parametrized the Graph type over the node type.
2005-09-14 14:29:53 +00:00
bringert
ac8ef799de
Added Graphviz module for graphviz stuff. Move a lot of utility functions to GF.Data.Utilities.
2005-09-14 14:17:29 +00:00
peb
8921c613bb
"Committed_by_peb"
2005-09-14 08:51:18 +00:00
aarne
a97d355583
more Fin slash
2005-09-14 08:22:59 +00:00
aarne
463773d929
Slash in Fin
2005-09-14 07:19:38 +00:00
aarne
3d983c1d85
fix in tc
2005-09-13 21:05:32 +00:00
aarne
ff0a5c418c
finnish rel
2005-09-13 10:56:44 +00:00
bringert
daca36e917
Added FA and SRG stuff to HelpFile. Fixed typos in history file.
2005-09-13 07:33:56 +00:00
bringert
7bc3ef7784
Added FA approximation to history file.
2005-09-13 07:24:30 +00:00
bringert
cb533a4941
Fixed makeTransitions/mapTransitions typo in PrSLF.
2005-09-13 07:20:20 +00:00
bringert
775dff9e2b
Cleaned up some stuff while trying to find a bug. Turned out I just had not set the startcat in the grammar file. Time to go home I think.
2005-09-12 21:32:24 +00:00
bringert
4ed9ada62e
Some preparations for graph minimization.
2005-09-12 20:54:32 +00:00
bringert
fea451f06c
Used home-grown graph implementation in FiniteState, to remove dependency on fgl. This also lead to a dramatic performance increase.
2005-09-12 20:41:19 +00:00
bringert
9112e13c60
Added printer for regular grammars. Changed some foldrs to foldls to improve stack usage.
2005-09-12 15:10:23 +00:00
bringert
8c616b8113
Completed unoptimized SLF generation.
2005-09-12 14:46:44 +00:00
hdaniels
b3e111aa02
Lots of refactorings for gfeditor
2005-09-10 09:15:54 +00:00
bringert
c39b31c74f
More work on make_fa.
2005-09-08 14:45:17 +00:00
bringert
35e67e64cf
Started working on make_fa.
2005-09-08 14:40:49 +00:00
bringert
936be8eea7
Defined compileAutomaton in terms of make_fa
2005-09-08 14:39:12 +00:00
bringert
a134b2b6f8
Added the prerequisits for automaton building.
2005-09-07 13:21:30 +00:00
aarne
6b00f22c12
trying to opt Fin
2005-09-06 10:37:10 +00:00
bringert
fb419f71ad
Finished untested function for making context-free grammars regular.
2005-09-06 07:06:42 +00:00
aarne
7340b804da
optimizing Fin
2005-09-05 20:22:07 +00:00
aarne
9cb3b65b84
stat; type of imperatives in lib/resource
2005-09-04 10:45:37 +00:00
aarne
e5490a113d
working set of 8 Lang
2005-09-03 08:30:38 +00:00
aarne
d268ebf84b
relatives (but expensive)
2005-09-02 20:40:18 +00:00
bringert
e191e0513e
Some baby stpes closes to ATK SLF generation.
2005-09-02 14:47:46 +00:00
aarne
a7732f2475
Predic works
2005-09-02 13:49:02 +00:00
aarne
1cce995197
PredI
2005-09-02 13:13:17 +00:00
aarne
21a2a81a27
Predic
2005-09-02 13:04:49 +00:00
aarne
a41490c7d0
parameters to dep
2005-09-01 19:18:55 +00:00
aarne
347473ccd4
relatives, except Finnish
2005-09-01 12:43:41 +00:00
peb
eaee717f99
"Committed_by_peb"
2005-09-01 08:53:18 +00:00
aarne
78a8b4b2ce
experiment with dep resource
2005-08-31 20:43:38 +00:00
bringert
62804db4fb
Removed -package util (why was it ever there?), since that caused linking with libreadline on Unix, even with --without-readline.
2005-08-31 13:02:32 +00:00
aarne
442de98c8d
RP in Finnish
2005-08-25 14:53:50 +00:00
peb
ba08f13dee
"Committed_by_peb"
2005-08-18 12:18:10 +00:00
aarne
72410f0c23
edit command ct pos1 pos2; fixed undo bug
2005-08-17 14:13:55 +00:00
aarne
187df7ffa8
edit command ct pos
2005-08-17 13:43:50 +00:00
peb
40c5d63eb3
"Committed_by_peb"
2005-08-17 07:27:29 +00:00
peb
7b6103ffe8
"Committed_by_peb"
2005-08-11 13:11:46 +00:00
aarne
b119eefcdb
Fin.ExistNumCN
2005-08-10 21:06:11 +00:00
aarne
b7708dc90f
added ExistOne in Fin
2005-08-10 14:06:25 +00:00
aarne
08f5d157b6
some fixes to Wanjiku's list
2005-08-09 20:30:45 +00:00
peb
35ed9d459b
"Committed_by_peb"
2005-08-08 08:01:10 +00:00
peb
ed4cd36b2c
"Committed_by_peb"
2005-08-08 07:09:49 +00:00
aarne
02ae0493e2
templates for Danish
2005-08-07 07:59:51 +00:00
aarne
8aef5fb9c0
holiday work
2005-08-07 07:57:48 +00:00
bringert
949249fe74
Fixed shell scripts for java apps to use windows paths instead of cygwin paths.
2005-07-20 10:34:04 +00:00
bringert
c970c6b0c0
Removed unneeded elements in classpath when building gfeditor in order to work around problems with different path separators.
2005-07-17 14:49:50 +00:00
bringert
0ca08b7aa9
Changed jar target according to Kristofers note about OS X behaviour.
2005-07-17 14:31:47 +00:00
aarne
c8fc5a4c67
correction
2005-07-02 05:37:38 +00:00
aarne
b90a4dab1a
oops doc
2005-07-01 19:59:03 +00:00
aarne
3df03144b9
oops
2005-07-01 19:56:41 +00:00
aarne
9099f118f7
doc
2005-07-01 19:31:50 +00:00
aarne
4f86a8c0b4
Finnish and res doc
2005-07-01 18:54:08 +00:00
peb
a386af8bdc
"Committed_by_peb"
2005-07-01 16:14:26 +00:00
hdaniels
0f166ad248
Navigating in the tree now works (using absolute positions), what it not always did before.
2005-07-01 14:29:38 +00:00
hdaniels
6b8550198b
Append an additional newline before the message from GF. reordering of read and form methods.
2005-07-01 11:40:50 +00:00
hdaniels
76d50368fb
Eliminated result as a global variable
2005-07-01 08:47:21 +00:00
aarne
c0026af3a7
adjustments in Swadesh inflection
2005-07-01 08:33:34 +00:00
aarne
30b14a08bc
vt -o doc
2005-07-01 07:19:01 +00:00
aarne
0cfbd86af0
vt -o ; Finnish infinitives
2005-07-01 07:16:31 +00:00
aarne
3377aaabdd
gfcm in Java ; Finnish close to finished
2005-06-30 22:09:36 +00:00
aarne
33fbd1358c
Updated version numbers.
2005-06-30 10:36:49 +00:00
aarne
5c5dd161d0
work on Finnish
2005-06-30 07:35:01 +00:00
hdaniels
6b83de3263
parsing via middle-click works now
2005-06-29 17:53:04 +00:00
aarne
ffe5c1b999
unoptimize for Java ; Finnish
2005-06-29 15:27:56 +00:00
aarne
3f8fecbf30
more Finnish
2005-06-29 09:31:56 +00:00
aarne
d25419c8ed
started Finnish
2005-06-28 17:36:42 +00:00
aarne
b8e76b00d4
started Swadesh
2005-06-28 17:23:14 +00:00
aarne
c4a8c71e07
closer to complete BasicFin
2005-06-28 11:54:34 +00:00
aarne
86b6394167
close to complete BasicFin
2005-06-28 11:41:24 +00:00
aarne
525beb8d98
history updates
2005-06-27 14:15:24 +00:00
aarne
319ef18a6b
added README on Dj Godis
2005-06-27 12:32:04 +00:00
aarne
ec444e9e7e
added Ann-Charlotte's grammars
2005-06-27 12:20:33 +00:00
aarne
10d6757558
building Finnish lexicon
2005-06-27 09:02:45 +00:00
aarne
19d635046c
Finnish close to production ; Predef.occurs
2005-06-26 19:40:31 +00:00
aarne
a9f0cc1d30
most Cl rules ok
2005-06-26 09:49:33 +00:00
aarne
c431ff315e
Finnish suffixes
2005-06-23 16:00:55 +00:00
hdaniels
1a100c47e5
Fixed double r 'refine ...' or even refine 'refine ...'
2005-06-23 15:23:32 +00:00
hdaniels
29b53fc0ce
added a prominent place for the current tooltip description + bugfixes there
2005-06-23 14:38:52 +00:00
aarne
5df34601af
finnish vowel harmony unlexer ; optimizations and mcfg
2005-06-23 13:32:43 +00:00
peb
6c5ce5fd9b
"Committed_by_peb"
2005-06-23 12:23:01 +00:00
hdaniels
aab06133c6
better icon for the editor
2005-06-23 11:48:10 +00:00
hdaniels
a4993bcd39
added an application icon for gfeditor. But the icon itself is worth improvement
2005-06-23 10:52:38 +00:00
hdaniels
e7cc6fa808
changed 'Open' into 'Open Text' and 'New Topic' into 'New Grammar'
2005-06-23 10:18:36 +00:00
hdaniels
be6a1a40d9
added GPL headers to JavaGUI2. Include LICENSE files in gfeditor.jar
2005-06-23 09:18:52 +00:00
peb
cfdc9932d8
"Committed_by_peb"
2005-06-23 08:43:40 +00:00
hdaniels
d211d311d0
reduced log level if no param descriptions are present
2005-06-22 14:57:02 +00:00
hdaniels
ebae7eedc1
deleted log4j jar. It is no more used.
2005-06-22 14:53:10 +00:00
hdaniels
c3d2178d27
removed calls to log4j. Logging sth. does not work yet
2005-06-22 14:48:25 +00:00
aarne
92d159c8b8
some more Finnish
2005-06-22 14:18:35 +00:00
aarne
00d421085d
Finnish works all the way through to Lang
2005-06-22 13:24:14 +00:00
hdaniels
c1cbd94c0e
typed menu entries even with printnames, on exit one is asked if 'text' instead of 'constraint' should be saved
2005-06-22 12:09:08 +00:00
bringert
fe016e3078
Fixed some formatting errors in the rpm spec.
2005-06-22 11:54:57 +00:00
aarne
bba5cac60a
printname cat bug fixed
2005-06-22 07:52:02 +00:00
bringert
b9d2a84436
Fixed silly typo in Makefile.binary.
2005-06-21 18:56:32 +00:00
bringert
4667ca6a18
Delete GF_DATA_DIR in binary dist uninstall.
2005-06-21 18:55:32 +00:00
hdaniels
a924f3dc3d
added gfeditor script to Makefile.binary
2005-06-21 18:52:45 +00:00
bringert
deeafdfe29
Include gfeditor.in in binary dists.
2005-06-21 18:50:27 +00:00
hdaniels
d0b0c09150
Changed gf.spec to produce a rpm for the HTML and printnames enhanced editor. Package called editor2
2005-06-21 18:46:37 +00:00
hdaniels
a037c25eba
added daniels' version of the Java editor
2005-06-21 18:40:22 +00:00
aarne
61483017f6
better tree viz
2005-06-21 14:49:08 +00:00
bringert
ed72a7eab9
Wrote about list syntax in gf-history.html
2005-06-21 14:19:03 +00:00
aarne
afc93d16c5
incomplete but valid additions to Finnish
2005-06-21 12:47:16 +00:00
aarne
cfc4f66774
Finnish paradigms forthcoming
2005-06-21 06:27:26 +00:00
aarne
e268ed9e0b
Finnish Categories forthcoming
2005-06-21 06:13:15 +00:00
aarne
f2cfd2f18a
struggling with code explosion with Finnish heuristics
2005-06-20 20:19:53 +00:00
aarne
4262046464
parse tree visualization
2005-06-20 15:14:19 +00:00
aarne
366a8b0380
working on Finnish
2005-06-19 19:39:44 +00:00
bringert
6e0f34625a
Changed name of Con constructor in GFC.cf to avoid errors on Windows when generating Java code with BNFC for the GFC grammar. CON is a reserved filename on Windows. Con was changed to Par, and all the code using was changed too.
2005-06-17 13:15:16 +00:00
bringert
6220d484a8
Added beginnings of ATK SLF generation.
2005-06-17 11:46:04 +00:00
bringert
a162f3b596
Generate Haskell lists for GF lists.
2005-06-17 11:39:07 +00:00
aarne
a630a55e30
started Finnish paradigms (still dummy); exper with non-precomuted gfr
2005-06-14 19:09:56 +00:00
aarne
9ae17accd7
some more tense in FInnish
2005-06-14 14:43:03 +00:00
aarne
6db5be4ca1
Finnish numerals with inflection
2005-06-12 15:04:40 +00:00
aarne
cff7d884a5
undo k and keep position in editor
2005-06-11 19:27:05 +00:00
aarne
6c5b4ea96b
gfe as preprocessing to compiler
2005-06-10 20:04:00 +00:00
aarne
3b4eaf5017
editor command pc n ; resource/finnish
2005-06-10 14:59:58 +00:00
aarne
536dd517f2
qualified cat in gfe
2005-06-06 08:56:28 +00:00
aarne
59ee7b7115
improved parsing of gfe
2005-06-05 08:11:00 +00:00
aarne
2a8edb3c3f
editor command sequence
2005-06-03 21:44:36 +00:00
aarne
4312f79c6f
oops
2005-06-03 20:53:36 +00:00
aarne
b067b3b5e0
example substitutions
2005-06-03 20:51:58 +00:00
aarne
1c88337022
2 new words, and correction in Nor
2005-06-03 11:19:13 +00:00
aarne
c773ff2ba3
oops
2005-06-03 08:42:20 +00:00
aarne
fc67c38fe9
adjusting doc on gfe
2005-06-03 08:35:22 +00:00
aarne
234777c5a6
improved gfe; sloc stats
2005-06-03 07:29:37 +00:00
aarne
aaa83aa708
better MkConcrete and example in lib/resource/doc/example
2005-06-02 16:31:56 +00:00
aarne
2b1753adf1
lin rules by parsing
2005-06-02 09:23:52 +00:00
aarne
06c9b19480
history doc
2005-05-31 19:27:58 +00:00
aarne
24b595c98f
upgraded resources, esp. romance
2005-05-31 17:42:39 +00:00
aarne
04ae4c37cb
cf for restricted import; new API funs
2005-05-31 11:47:51 +00:00
aarne
0c310d3cae
restricted inheritance almost implemented
2005-05-30 20:08:14 +00:00
aarne
46e796f7cf
BinTree vs. FiniteMap
2005-05-30 17:39:43 +00:00
aarne
fc70965de3
a dialogue resource started
2005-05-30 15:22:42 +00:00
peb
5b4fe38de8
"Committed_by_peb"
2005-05-30 07:11:32 +00:00
aarne
92007a3aaf
experiment with gfc input
2005-05-27 20:05:17 +00:00
aarne
665c542af2
lib path and *
2005-05-27 10:37:57 +00:00
aarne
81b789c3f1
paths
2005-05-27 07:13:35 +00:00
aarne
3d9f442b5c
include - in header
2005-05-26 13:34:21 +00:00
aarne
63ee4ef12d
romance Inf ; %, included
2005-05-26 13:18:17 +00:00
aarne
0cc8911950
towards infinitive phrases
2005-05-26 08:28:26 +00:00
bringert
4a3ed629b3
Added new GF.cf.
2005-05-26 08:26:18 +00:00
aarne
f8ac64388e
cleaned up romance syntax and added to clause
2005-05-26 07:41:05 +00:00
aarne
2b2ae6cf08
printing %
2005-05-25 18:59:59 +00:00
bringert
561b8edccf
Added very basic list test grammars.
2005-05-25 09:42:32 +00:00
bringert
e2dc03a9ca
Added support for list categories.
2005-05-25 09:41:59 +00:00
bringert
b3f5a2d7a1
Use explicit imports from SourceToGrammar
2005-05-25 09:27:12 +00:00
bringert
e223ad44bd
Updated GF language doc to include list categories.
2005-05-25 09:20:00 +00:00
aarne
07eff17106
corrections from Ana
2005-05-24 12:09:19 +00:00
aarne
35b87d8b7a
disc. cont in tut
2005-05-23 20:16:29 +00:00
aarne
e2fbde46f9
Spanish verbs (almost) corrected
2005-05-23 15:42:54 +00:00
aarne
05b233b7b2
stared on discont const
2005-05-23 07:05:08 +00:00
aarne
e451bc03ba
improved resource doc
2005-05-22 18:43:00 +00:00
aarne
60427e170c
updated resource example
2005-05-22 11:55:53 +00:00
aarne
52b81f08a8
Spanish
2005-05-22 09:12:49 +00:00
aarne
cf3552505f
Spanish lexica
2005-05-22 09:12:09 +00:00
aarne
04c166ed40
oops, doc
2005-05-20 15:59:51 +00:00
aarne
e50f9d9bb4
more quick start
2005-05-20 15:57:11 +00:00
bringert
0cdd385caa
i, wf, af, rf commands unquote first argument.
2005-05-20 13:34:11 +00:00
bringert
1950529f9d
Allow quoted strings for shell command arguments.
2005-05-20 13:18:15 +00:00
bringert
610ddd4765
Allow both slash and backslash as separators.
2005-05-20 12:31:28 +00:00
bringert
a2bc6c8cba
Mark platform-specific functions that need to be fixed.
2005-05-20 12:12:33 +00:00
peb
548cb96699
"Committed_by_peb"
2005-05-20 08:42:18 +00:00
aarne
3501a93d08
optimize restriction doc
2005-05-20 07:12:45 +00:00
aarne
1da5e44666
quick start
2005-05-20 06:48:07 +00:00
bringert
95811b667a
Only create gf.wxs when build MSI package, to avoid including it in binary dists.
2005-05-19 19:19:10 +00:00
bringert
4dca982c88
Use $(TAR) instead of gtar in Makefile
2005-05-19 19:11:18 +00:00
bringert
c36bdfd7b9
Look for tar in configure, since we must have gtar on Solaris and tar on Windows.
2005-05-19 19:07:18 +00:00
bringert
0efdba25fd
Added jgf.bat. Set GF_HOME variable and use it in jgf.bat.
2005-05-19 17:56:30 +00:00
bringert
913d1f4de7
Clean target now works in cygwin. Quoted paths to java executables to handle spaces in paths. Include more files in the MSI package. Disable readline automatically on GHC 6.4 for Windows.
2005-05-19 17:19:42 +00:00
bringert
09e2eda1b2
Can now build Windows MSI packages using WiX.
2005-05-19 14:19:13 +00:00
aarne
e9b8637f0d
building Romance resource
2005-05-19 14:18:50 +00:00
bringert
56c7b47a41
Allow setting GHCFLAGS with configure.
2005-05-19 12:48:00 +00:00
peb
2d602b0d6f
"Committed_by_peb"
2005-05-18 08:04:07 +00:00
aarne
fa3ddc7773
reformulate vint-i
2005-05-18 07:51:54 +00:00
bringert
a0c8abf96a
Changed wording of -utf8id highlight.
2005-05-17 19:13:48 +00:00
bringert
7e3ea81f64
Added a few more highlights.
2005-05-17 19:12:58 +00:00
aarne
ec15435fe3
index moved
2005-05-17 19:12:42 +00:00
aarne
5e5c613f7e
index and bib
2005-05-17 19:12:04 +00:00
bringert
d3e8d1be22
Added SourceForge file release stuff and grammar dist building to ReleaseProcedure.
2005-05-17 18:56:31 +00:00
aarne
dc532e6747
index etc
2005-05-17 18:50:43 +00:00
bringert
b3897385e6
Updated version numbers to 2.2.
2005-05-17 18:04:01 +00:00
aarne
471e2fe115
index
2005-05-17 16:43:55 +00:00
aarne
f7e0eefcde
some doc fixes
2005-05-17 16:25:50 +00:00
aarne
19a8053aee
some doc for release
2005-05-17 16:16:59 +00:00
bringert
dd872c2df3
Changed CFGM format and printer to allow constants in profiles.
2005-05-17 13:04:35 +00:00
peb
e07b5ff6c1
"Committed_by_peb"
2005-05-17 12:38:46 +00:00
aarne
9cc8eb6905
ml and tl
2005-05-17 11:37:17 +00:00
peb
197c3029e3
"Committed_by_peb"
2005-05-17 10:20:25 +00:00
aarne
f00d44b57d
more in tutorial
2005-05-16 16:07:18 +00:00
aarne
c5594ea07b
on resource
2005-05-15 19:14:15 +00:00
aarne
3e229431a6
corrected option order; tutorial
2005-05-14 07:38:55 +00:00
peb
d59614feea
"Committed_by_peb"
2005-05-13 11:40:18 +00:00
bringert
aef86abec8
Added defattr for editor rpm files.
2005-05-13 08:30:46 +00:00
aarne
81e5fe0db9
index and tutorial
2005-05-12 16:12:03 +00:00
bringert
620550889f
Added grammar-dist target.
2005-05-12 13:10:16 +00:00
aarne
0834390209
bug fix in old Finnish
2005-05-12 12:48:47 +00:00
aarne
51cf33c254
bug fix in italian
2005-05-12 12:28:07 +00:00
bringert
a5c871bac2
Restored package name to upper case GF.
2005-05-12 12:20:41 +00:00
bringert
941960ab71
Split rpm into gf and gf-editor rpms.
2005-05-12 12:19:03 +00:00
aarne
3c468d8b77
lexer flags
2005-05-12 11:50:28 +00:00
bringert
600a0a789a
Put RPM-building stuff on one line.
2005-05-12 09:23:46 +00:00
bringert
57e9d6e54e
Changed version to 2.2pre2
2005-05-12 09:22:09 +00:00
bringert
71b6efcc87
Add optP/optl flags only when needed, and last to avoid ghc 6.2.1
...
Add optP/optl flags only when needed, and last to avoid ghc 6.2.1
problems.
2005-05-12 09:21:26 +00:00
aarne
3120b2576b
pre-release adjustments
2005-05-12 09:03:33 +00:00
bringert
6fcee8bd1e
Use -optl/-optP hacks to pass CPPFLAGS and LDFLAGS
2005-05-11 14:50:35 +00:00
bringert
97566c9608
Changed version number to 2.2pre1 because of rpm requirements.
2005-05-11 14:44:27 +00:00
bringert
9179189a14
Fixed more jgf.in weirdness.
2005-05-11 14:03:15 +00:00
bringert
5a33879f0c
Fixed some shell spacing weirdness in the jgf script.
2005-05-11 13:57:17 +00:00
bringert
b906b65e34
Print more useful erro messages when GF cannot be started.
2005-05-11 13:52:06 +00:00
bringert
310d108097
Quote and print command in jgf
2005-05-11 13:39:47 +00:00
bringert
565a61590b
Fixed typo in binary-dist target.
2005-05-11 13:29:14 +00:00
bringert
9e4bbad91a
Set version to 2.2-pre1
2005-05-11 13:23:12 +00:00
bringert
b9559fc9d7
Updated RPM spec for 2.2 release.
2005-05-11 13:20:01 +00:00
peb
4bdb527770
"Committed_by_peb"
2005-05-11 09:28:16 +00:00
bringert
2c9e0c6148
Added some comments about missing stuff in Time grammar, and some variants to TimeSwe.
2005-05-11 08:38:04 +00:00
bringert
bdbb6e8ab6
Fixed some missing lincats and a syntax error introduced when adding lincats.
2005-05-11 08:34:17 +00:00
bringert
9699fe1651
Added all missing lincats in numerals grammars.
2005-05-11 08:10:23 +00:00
bringert
c8de5fc0da
Fix conditional checks so that java code is compiled when it should.
2005-05-11 07:38:11 +00:00
bringert
6b28408fe1
Made conditional compilation of readline stuff cleaner
2005-05-10 14:04:01 +00:00
bringert
1d0f387df3
Added option to disable readline.
2005-05-10 13:55:01 +00:00
aarne
7493e31ea7
tiny fixes
2005-05-10 13:16:59 +00:00
peb
893ce8605d
"Committed_by_peb"
2005-05-10 11:52:06 +00:00
aarne
8b0e66b45b
modules for embedded GF
2005-05-10 11:49:13 +00:00
bringert
b2357c9ddc
Updated INSTALL, removing difference between windows and unix.
2005-05-10 11:07:45 +00:00
bringert
8c10c7133b
Allow disabling building of Java components
2005-05-10 11:05:40 +00:00
bringert
89224f9e9e
Get executable suffix in configure, unify unix and windows make targets.
2005-05-10 10:45:00 +00:00
aarne
a73428ed77
typos
2005-05-09 16:49:49 +00:00
aarne
d6af47561b
preliminary release
2005-05-09 16:36:17 +00:00
aarne
0e4e3c4d94
run - running
2005-05-09 14:50:26 +00:00
aarne
a734396a7a
empty in pre
2005-05-09 14:44:59 +00:00
bringert
20af7b9729
Use GHCFLAGS when compiling for windows.
2005-05-09 14:29:25 +00:00
aarne
31873d5092
fix in CheckGrammar case exprs
2005-05-09 08:45:23 +00:00
peb
73df27b409
"Committed_by_peb"
2005-05-09 08:25:56 +00:00
bringert
1775e9bdc9
Removed use of lang package.
2005-05-02 08:18:34 +00:00
aarne
bf25f1d0db
library adjustments, error message clean-up
2005-04-28 15:42:47 +00:00
bringert
299bbd966b
Changed IOExts import to Debug.Trace
2005-04-26 08:54:11 +00:00
aarne
e601bc4e43
record extension typs checking fixed
2005-04-25 17:19:32 +00:00
bringert
6c9c095c9a
Updated config.sub after bug report that configure does not work on x86-64.
2005-04-25 15:23:06 +00:00
bringert
bb81c9110d
Some small Makefile dist tweaks
2005-04-21 16:17:05 +00:00
bringert
959dd39419
Changed version to 2.2
2005-04-21 16:13:35 +00:00
bringert
3d217c9b5b
Cleaned up Makefile
2005-04-21 16:12:10 +00:00
bringert
749c9a7b5d
Removed for-ghc, for-ghc-nofud and for-windows directories.
2005-04-21 15:45:56 +00:00
bringert
93af0c8535
Fixed module names and imports after giant file move.
2005-04-21 15:21:02 +00:00
bringert
8e44d9a8c1
Removed GF/UseGrammar/TeachYourself.hs, it seems to have been replaced by GF/Shell/TeachYourself.hs
2005-04-21 10:47:28 +00:00
bringert
2351552522
Added new HelpFile
2005-04-21 10:40:58 +00:00
bringert
dc3702a371
Removed HelpFile.hs from top-level.
2005-04-21 10:39:29 +00:00
bringert
761d1990a6
A bunch of Makefile fixes. Moved HelpFile and HelpFile.hs.
2005-04-21 10:38:24 +00:00
bringert
9c33563988
Removed some now removed dirs from NOT_IN_DIST
2005-04-21 10:14:47 +00:00
bringert
920ac9f8fb
Changed mktoday to generate use hierarchical name
2005-04-21 10:11:21 +00:00
aarne
4015cd095d
smaller exx
2005-04-20 19:55:00 +00:00
aarne
2ccda07860
sub in modules
2005-04-20 19:22:38 +00:00
aarne
be9e8a961d
pg printnames
2005-04-20 19:09:19 +00:00
peb
fd653e18a2
"Committed_by_peb"
2005-04-20 11:49:44 +00:00
peb
046161b732
"Committed_by_peb"
2005-04-19 10:57:18 +00:00
peb
d9c2c1e994
"Committed_by_peb"
2005-04-19 09:46:07 +00:00
peb
559ee22bce
"Committed_by_peb"
2005-04-18 13:55:32 +00:00
aarne
a70b009183
defLinType and pr no s label
2005-04-17 18:48:34 +00:00
aarne
b06dffa50a
shrank example
2005-04-17 18:47:51 +00:00
aarne
590941276d
more fixes in htmls
2005-04-17 16:29:51 +00:00
aarne
fe6f09b306
minor fixes in htmls
2005-04-16 19:24:42 +00:00
aarne
f14904320c
added toc generation to htmls
2005-04-16 16:35:42 +00:00
aarne
726ee644db
oops, renamed files
2005-04-16 16:02:51 +00:00
aarne
b76b27773c
arrived to the module system
2005-04-16 16:02:03 +00:00
aarne
1a893c4c6a
new tutorial
2005-04-16 11:32:08 +00:00
peb
1c79bb67ae
"Committed_by_peb"
2005-04-16 04:40:48 +00:00
aarne
1ef891adaf
links
2005-04-15 18:58:58 +00:00
bringert
7615896479
Removed some dead code from gsl and cfgm generation.
2005-04-15 08:45:32 +00:00
peb
95c6e8a58f
"Committed_by_peb"
2005-04-14 17:38:36 +00:00
peb
b63b29a247
"Committed_by_peb"
2005-04-14 10:42:05 +00:00
aarne
99582672cb
added Spanish and Italian existentials
2005-04-12 15:47:23 +00:00
aarne
8376ef3653
updated resource docMakefile
2005-04-12 14:26:17 +00:00
aarne
226b4fed47
updated resource doc
2005-04-12 14:20:29 +00:00
peb
81165cf09d
"Committed_by_peb"
2005-04-12 09:49:44 +00:00
aarne
3c45e7c905
corrected gf-modules
2005-04-11 15:03:03 +00:00
peb
a1546c25e7
"Committed_by_peb"
2005-04-11 12:57:45 +00:00
aarne
716e7986c5
module rules added
2005-04-10 18:40:08 +00:00
aarne
6fb9544f59
just module rules missing
2005-04-10 15:57:33 +00:00
aarne
7feb9a55a9
still more tutorial to the module system
2005-04-10 15:29:39 +00:00
aarne
351f8aada4
more tutorial to the module system
2005-04-10 10:39:34 +00:00
aarne
7a9fd63293
tutorial to the module system
2005-04-10 08:42:25 +00:00
bringert
8480387d57
Added italian stoneage grammar to stoneage grammar script
2005-04-07 16:01:48 +00:00
aarne
6baa2205da
Italian Swadesh complete
2005-04-07 13:37:37 +00:00
aarne
0056186938
Italian Swadesh (incomplete)
2005-04-04 20:14:41 +00:00
aarne
6c197de139
started Italian Swadesh
2005-04-04 16:29:18 +00:00
aarne
2f78c3e209
support for multi-character string literals
2005-04-04 14:50:27 +00:00
aarne
af50c703a6
mapStr ; appPredefined in err monad
2005-04-01 20:24:24 +00:00
aarne
3346b0669d
capitalize
2005-04-01 06:01:07 +00:00
aarne
e9063a42dc
Romance almost complete
2005-03-31 16:14:12 +00:00
aarne
3d248a8576
capitalization in lexer
2005-03-31 15:57:35 +00:00
aarne
e549dd79bc
new unlexers ; work on Romance
2005-03-31 14:47:42 +00:00
aarne
f3b9774062
updated ParadigmsSpa
2005-03-30 15:27:45 +00:00
aarne
6cb79f531c
ArchEdit moved; spanish/Structural now works
2005-03-30 11:41:12 +00:00
aarne
d465324279
almost complete list of Bescherelle conjugations for Spanish
2005-03-29 15:00:02 +00:00
aarne
53fe26a2a4
removed deprecated stuff; changed parser default
2005-03-29 12:26:34 +00:00
peb
f6ef8e8bf8
"Committed_by_peb"
2005-03-29 10:58:46 +00:00
peb
c400db8ce7
"Committed_by_peb"
2005-03-29 10:17:53 +00:00
peb
fcc25f0bba
"Committed_by_peb"
2005-03-21 21:40:03 +00:00
peb
9be3569798
"Committed_by_peb"
2005-03-21 21:31:43 +00:00
bringert
08d1751cd6
Build cfgm files using the nondeterministic conversion. Allow coercions in cfgm rule functions and remove the name.
2005-03-21 13:27:04 +00:00
peb
a48173eb81
"Committed_by_peb"
2005-03-21 13:17:44 +00:00
peb
b9ebf96579
"Committed_by_peb"
2005-03-21 12:54:24 +00:00
peb
f14c9590de
"Committed_by_peb"
2005-03-21 12:16:27 +00:00
peb
24c666fbe5
"Committed_by_peb"
2005-03-18 09:17:10 +00:00
aarne
af6cb59fe8
Italian more complete
2005-03-17 20:38:07 +00:00
aarne
9316e1efab
started updating Italian
2005-03-17 16:34:05 +00:00
aarne
752ab6dbc1
simplified adjectival predication
2005-03-17 13:10:38 +00:00
aarne
087aa10b6f
fix in TC handling with qualified names
2005-03-17 08:58:18 +00:00
aarne
1bda0166b1
improved Romance Clause
2005-03-16 13:32:44 +00:00
aarne
397083589e
fixed an end tag
2005-03-15 16:44:59 +00:00
aarne
3c56d01ed0
news in index
2005-03-15 16:38:18 +00:00
aarne
30aace7fd7
bug fixes in dependency handling
2005-03-15 16:18:51 +00:00
bringert
cecd79ff70
Changed Think to an action without an object.
2005-03-15 15:38:20 +00:00
peb
37fe08c0a7
"Committed_by_peb"
2005-03-15 10:18:51 +00:00
krijo
a061ad4ee0
Err is now an instance of MonadPlus.
2005-03-14 22:45:36 +00:00
aarne
0d0da43253
swadesh fixes; bug fix in i -old
2005-03-14 16:40:08 +00:00
aarne
4ee07b156e
fixed numeral agreement and some French verbs
2005-03-14 09:46:22 +00:00
aarne
049e8deca9
French Swadesh, some bugs remain
2005-03-13 21:29:29 +00:00
aarne
f2baab56b9
some bug fixes in Nor
2005-03-13 11:19:29 +00:00
aarne
b8d4425a65
Norwegian checked
2005-03-13 11:09:51 +00:00
aarne
9687b0f395
checkd BasicNor and half of SwadeshNor
2005-03-13 09:55:09 +00:00
aarne
fbc4d1a439
checked BasicNor
2005-03-13 07:51:54 +00:00
aarne
661e949b97
fixed lbnf printing
2005-03-12 12:01:48 +00:00
bringert
f3e318d752
Include norwegian stoneage grammar in stoneage.gfcm
2005-03-11 15:04:46 +00:00
aarne
076baf609a
oops
2005-03-11 14:39:05 +00:00
aarne
6cf9eba4df
Norwegian Swadesh (raw); bug fix in TC of variants
2005-03-11 14:37:18 +00:00
aarne
57937523e3
Norwegian complete but with many unchecked words
2005-03-11 14:08:59 +00:00
bringert
767a59689b
Added snapshot target
2005-03-11 14:04:03 +00:00
aarne
1bc3e39d7d
swedish mk2V and regV improved
2005-03-11 09:00:56 +00:00
aarne
624caf098f
started nor paradigms - does not work yet
2005-03-10 16:44:03 +00:00
bringert
794e75c65c
Disabled stoneage conjunction. Added optimize=share to stoneage grammars.
2005-03-10 13:29:47 +00:00
bringert
3450ab92d6
Changed translations and implementations of some verbs in the swedish swadesh list.
2005-03-10 13:23:07 +00:00
aarne
441f190dea
hmsg for Hajo's editor
2005-03-10 10:14:10 +00:00
bringert
18945ab7fc
Added this, that, conjunctions and giving to stoneage grammars.
2005-03-09 20:13:24 +00:00
bringert
995a7cc2f9
Fixed a number of error in swedish verbs, swadesh and stoneage grammars found by random generation and just talking to the system.
2005-03-09 19:34:27 +00:00
bringert
7572cbf0c8
Added mkStoneage script, added missing linearizations in swedish stoneage grammar
2005-03-09 16:24:53 +00:00
bringert
c607ca77cf
Added missing linearizations to swedish swadesh
2005-03-09 16:15:33 +00:00
bringert
0051dd7a96
Remove som compound stuff that should not be in the swadesh lists.
2005-03-09 15:57:00 +00:00
bringert
21d5145aed
Fixed nouns in swedish swadesh not covered by mk2N
2005-03-09 15:46:32 +00:00
aarne
ee24714756
bug fixes in swe paradigms
2005-03-09 15:27:54 +00:00
bringert
35285efe24
Fixed some verbs in the swedish swadesh lixcon
2005-03-09 14:41:54 +00:00
bringert
6b60f8f151
Fixed a bunch of nouns in the swedish swadesh lexicon
2005-03-09 14:01:54 +00:00
bringert
e87583c38c
Added The_Many to stoneage grammar
2005-03-08 17:21:50 +00:00
aarne
7aedefa5fb
auto-insert default lincat; eliminate deps bug; less verbosity in import; take away word order variants in Scand
2005-03-08 17:08:58 +00:00
bringert
9de7d07889
Use Phr for S linearization.
2005-03-08 16:38:12 +00:00
bringert
ac3f3ab86b
Removed unused utf8-conversion code.
2005-03-08 14:51:17 +00:00
bringert
8d1c7b2f01
Switched to doing utf8-conversion after pretty-printing.
2005-03-08 14:49:24 +00:00
bringert
c8763a80e2
Finished UTF8 identifier conversion. Will probably redo it at string level, i.e. after pretty-printing instead
2005-03-08 14:31:22 +00:00
bringert
d460319528
Added onTermIdents function.
2005-03-07 16:50:00 +00:00
peb
e115675a86
"Committed_by_peb"
2005-03-07 11:44:09 +00:00
aarne
0259b6d6a4
topological model in Scand main branch
2005-03-04 15:56:48 +00:00
bringert
7cb9e1f2cc
Removed some old dead code. The functionality is in API.hs.
2005-03-04 13:08:36 +00:00
bringert
b81ce3ee7a
Added swedish linearizations of left and right
2005-03-04 11:34:09 +00:00
bringert
331d9545b0
Changed PresV to PresV2 for transitive verbs in StoneageResEng.
2005-03-04 11:20:14 +00:00
bringert
5204e92d56
Use StoneageResEng, not the now non-existing StoneageRes
2005-03-04 11:12:36 +00:00
aarne
20fb978962
gt with metavariables fixed
2005-03-04 11:05:10 +00:00
aarne
067e3d0678
one more improvement in gt
2005-03-04 07:12:56 +00:00
aarne
e278befcb7
better gt all the way
2005-03-03 15:40:51 +00:00
aarne
9dffab0900
better gt
2005-03-03 15:10:37 +00:00
bringert
d2b35ad34b
Fixed the last errors in the swedish swadesh lexicon (still some missing linearizations).
2005-03-02 15:08:26 +00:00
bringert
09807a3f41
Added not yet working swedish stoneage stuff.
2005-03-02 13:48:06 +00:00
bringert
f7568f5142
More swadesh swedish fixes + related irregular verbs.
2005-03-02 13:45:52 +00:00
aarne
ed2b6811f0
sorry, removed StoneageEng first by accident
2005-03-02 13:45:14 +00:00
aarne
7dae55f362
Sats
2005-03-02 13:42:41 +00:00
aarne
91df538537
fixed shell solve command
2005-03-02 13:25:45 +00:00
peb
150d230352
"Committed_by_peb"
2005-03-02 13:22:53 +00:00
aarne
7c42133159
bug fixes in generate and type check
2005-03-02 08:43:52 +00:00
aarne
58dd4628ba
spr?kdata talk ready
2005-03-01 12:41:29 +00:00
bringert
bfdedde9ba
Towards a working swedish swadesh lexicon
2005-03-01 11:19:16 +00:00
janna
96232c6bbc
*** empty log message ***
2005-02-28 21:21:24 +00:00
aarne
10fd3506ff
working on slides
2005-02-28 15:25:52 +00:00
aarne
a7d6f99165
working towards sprdata sem
2005-02-27 21:04:11 +00:00
aarne
36edab3fd5
scandinavian topological sentence model
2005-02-27 09:27:12 +00:00
bringert
b416bba047
Added half-finished swedish swadesh lexicon.
2005-02-25 17:01:02 +00:00
bringert
8d2a8be819
Added some missing swedish irregular verbs.
2005-02-25 17:00:29 +00:00
aarne
f5932b9bb4
p by lines, lin to multi
2005-02-25 14:35:48 +00:00
bringert
d83c6b816d
Added numeral determiners to stoneage grammar
2005-02-25 14:18:46 +00:00
bringert
3f52b196f6
Added pronouns to stoneage grammar.
2005-02-25 14:13:13 +00:00
bringert
3d6565814f
Added some missing lincats needed to make SwadeshLexEng work.
2005-02-25 12:59:05 +00:00
bringert
e7fab9ab42
Added stonage grammar (abstract and english), which uses the Swadesh lexicon.
2005-02-25 12:44:16 +00:00
bringert
fede892dd3
Added Swadesh lexicon, abstract and english.
2005-02-25 10:43:10 +00:00
aarne
ce3fee58bc
changed type of ComplV3
2005-02-24 14:22:14 +00:00
peb
59b378a4e5
"Committed_by_peb"
2005-02-24 10:46:37 +00:00
aarne
d669e538d6
extending romance, bug fixes in scandinavian
2005-02-23 20:13:54 +00:00
bringert
afcc53fb92
Added export list to TransformCFG and removed obsolete headers from other speech files.
2005-02-22 12:35:19 +00:00
bringert
a9ba56d314
Build java code and gfdoc when doing make all, since this is needed by make install.
2005-02-22 12:33:25 +00:00
peb
2fe78d0e97
"Committed_by_peb"
2005-02-22 12:31:44 +00:00
peb
049eee205f
"Committed_by_peb"
2005-02-22 11:57:12 +00:00
aarne
6ff1cfc233
towards completing French API
2005-02-21 16:26:01 +00:00
aarne
6dc5c19c9e
AnimalsFre now works
2005-02-20 07:57:47 +00:00
aarne
95adb717e2
finished french vp (but buggy)
2005-02-19 15:49:30 +00:00
peb
5e4929a635
"Committed_by_peb"
2005-02-18 18:21:06 +00:00
aarne
fc89b01bb4
error msg in update
2005-02-18 15:30:05 +00:00
aarne
0e3eaf6d1d
working more on resource doc
2005-02-18 14:06:37 +00:00
aarne
e4f6d7e913
working on resource doc and exx, fixing bugs
2005-02-18 13:53:29 +00:00
aarne
b7ced424be
clean up Resource
2005-02-17 21:49:09 +00:00
aarne
2f52869f08
a list of Swedish irregular verbs
2005-02-17 21:35:41 +00:00
aarne
1cdf68df79
swe and eng ok
2005-02-17 20:30:49 +00:00
aarne
945919a255
oops
2005-02-17 17:00:32 +00:00
aarne
0e2a0b30be
VP romance
2005-02-17 16:57:59 +00:00
aarne
429fa8fb72
new modules
2005-02-17 12:58:20 +00:00
aarne
55f28a0d3b
Clause as restructuring of Verbphrase
2005-02-17 12:56:57 +00:00
peb
0f6649a6ae
"Committed_by_peb"
2005-02-17 09:21:04 +00:00
peb
df91e999d6
"Committed_by_peb"
2005-02-17 09:12:32 +00:00
peb
f71763faa4
"Committed_by_peb"
2005-02-16 10:33:05 +00:00
aarne
a3804d22ba
oops
2005-02-16 10:15:53 +00:00
aarne
9fa3db48bc
bug fix in French verbs
2005-02-15 21:31:00 +00:00
aarne
7985de3252
bescherelle conjugations for french
2005-02-15 16:40:34 +00:00
aarne
4e85671307
basic lexicon for french
2005-02-15 16:38:50 +00:00
aarne
12f3fab00e
towards LangFre
2005-02-15 16:33:08 +00:00
aarne
fa87001298
record type extension freshness check
2005-02-15 10:06:30 +00:00
aarne
0c4ae414ef
more on romance
2005-02-13 17:31:03 +00:00
aarne
eb1c336e48
command vg
2005-02-11 15:08:10 +00:00
aarne
a38ee961b5
bugfix in make of incomplete
2005-02-11 11:06:47 +00:00
aarne
aa4a8580f7
more on romance
2005-02-11 08:11:29 +00:00
peb
a23f769cfd
"Committed_by_peb"
2005-02-11 06:08:28 +00:00
aarne
bb6fe789bf
romance under reconstruction
2005-02-10 21:31:52 +00:00
aarne
a26eb8613c
path
2005-02-10 11:30:03 +00:00
aarne
4b46c310ce
gfc generation to incomplete modules
2005-02-10 09:43:33 +00:00
peb
cb6449c50a
"Committed_by_peb"
2005-02-09 19:45:54 +00:00
aarne
a7020895d2
cleaned up French verbs
2005-02-09 16:50:49 +00:00
aarne
375a4fba7a
aux and slash
2005-02-09 14:45:48 +00:00
peb
71c316cfc5
"Committed_by_peb"
2005-02-09 11:46:54 +00:00
aarne
56c80bf8d9
unlexer concat
2005-02-08 15:35:58 +00:00
peb
b9a2d6c5c3
"Committed_by_peb"
2005-02-07 09:58:08 +00:00
bringert
ea169ef824
Convert tokens to lower case when printing GSL.
2005-02-07 08:39:00 +00:00
aarne
156c9b0bf3
optimization on src
2005-02-07 08:00:48 +00:00
aarne
a8ff693507
doc
2005-02-06 10:34:53 +00:00
aarne
96bac6e95d
starting doc
2005-02-06 10:09:12 +00:00
aarne
c30eebbba6
tuning resource API
2005-02-06 09:52:19 +00:00
aarne
bd432cf147
cleand up Structural
2005-02-05 20:52:31 +00:00
aarne
2429599b50
optimization flags and improver eng
2005-02-05 09:52:04 +00:00
aarne
977a7b6865
clause working with vp
2005-02-04 20:07:45 +00:00
aarne
0796338380
resources and new instantiation syntax
2005-02-04 19:17:57 +00:00
bringert
0ace2a1a4b
Removed module headers from generated files with pragmas
2005-02-04 13:17:06 +00:00
peb
774541ca07
"Committed_by_peb"
2005-02-04 09:10:28 +00:00
peb
c85e6a8b75
"Committed_by_peb"
2005-02-04 08:57:10 +00:00
peb
f8a5837d32
"Committed_by_peb"
2005-02-04 08:46:17 +00:00
peb
1223863e9a
"Committed_by_peb"
2005-02-03 14:23:02 +00:00
peb
d877eed0bc
"Committed_by_peb"
2005-02-03 14:13:35 +00:00
aarne
f963aa213d
continued restructuring of resources
2005-02-02 15:23:29 +00:00
peb
f7d79e2d14
"Committed_by_peb"
2005-02-02 14:37:28 +00:00
aarne
176dccf78b
cleaning up VP to Cl
2005-02-02 08:30:40 +00:00
aarne
1df951b93d
interface for shallow parsing + basic lexicon
2005-02-01 15:43:47 +00:00
aarne
d1035f4e18
rearranging Rules
2005-01-31 15:27:32 +00:00
aarne
039de90677
tense update for lib/resource/english
2005-01-30 14:45:01 +00:00
bringert
1a98f294ea
Make first letter in GSL category names upper case.
2005-01-28 15:57:59 +00:00
harald2
df2c48d595
Bugfix.
2005-01-28 10:13:36 +00:00
harald2
2312a1d8f8
Bugfix.
2005-01-28 09:48:59 +00:00
harald2
968f2ecc0e
Bugfix.
2005-01-27 17:15:25 +00:00
aarne
7018c38be2
English update complete though buggy
2005-01-25 20:36:42 +00:00
aarne
9f0ac830db
more work on updating English
2005-01-25 14:22:58 +00:00
aarne
fa47612071
started updating English
2005-01-24 21:00:58 +00:00
aarne
e52dd4892c
cleand up VPI
2005-01-24 20:32:28 +00:00
aarne
e96a410e74
fixed infinitives and imperatives
2005-01-24 15:56:28 +00:00
krijo
8425fe4a87
Handling absolute paths in prefixPathName :: String -> FilePath -> FilePath
...
Handling absolute paths in prefixPathName :: String -> FilePath -> FilePath
(absolute paths are simply never prefixed).
2005-01-24 15:41:16 +00:00
aarne
a6f4fd6da3
more predications
2005-01-24 10:09:13 +00:00
aarne
223bed1ba4
david's exx
2005-01-23 20:40:33 +00:00
aarne
1c6c42a835
new vocab updated for dan and nor (buggy)
2005-01-23 20:39:47 +00:00
aarne
852474e908
new structure of much in Rules
2005-01-23 20:09:31 +00:00
aarne
43ab2e2ac2
adding Karin's verb constructions
2005-01-21 15:04:22 +00:00
aarne
70dda5425b
reconstructing English paradigms
2005-01-21 08:10:59 +00:00
aarne
f831c02faa
English irregular verbs
2005-01-20 21:33:38 +00:00
aarne
26f6e9b53c
Norwegian now
2005-01-20 14:04:31 +00:00
aarne
51b45ae690
Norwegian
2005-01-20 14:03:48 +00:00
aarne
dac3d508f8
bug fixes in Danish
2005-01-19 19:58:31 +00:00
aarne
7f7fe109d9
fixed Swedish paradigms
2005-01-19 16:45:37 +00:00
aarne
4e004d4097
parametrizad Scandinavian and added Danish
2005-01-19 16:40:49 +00:00
aarne
027539d4e2
English complete (but needs more testing)
2005-01-18 16:16:29 +00:00
aarne
922dcce2b8
part of English works with tense
2005-01-17 21:40:57 +00:00
aarne
330e73f9aa
starting to add tense to English resource
2005-01-17 16:32:15 +00:00
aarne
a19856618b
-val optimization
2005-01-11 15:06:12 +00:00
janna
496416d7ab
*** empty log message ***
2005-01-07 19:48:22 +00:00
janna
19b6423d6e
*** empty log message ***
2004-12-29 22:47:51 +00:00
aarne
7eb83ba64e
command cm
2004-12-29 13:48:41 +00:00
janna
ac57016275
*** empty log message ***
2004-12-28 19:02:08 +00:00
janna
d5cb3845d7
*** empty log message ***
2004-12-22 15:11:10 +00:00
janna
f7a9d6e4ec
*** empty log message ***
2004-12-22 14:47:06 +00:00
janna
a9d62bca84
*** empty log message ***
2004-12-22 14:37:46 +00:00
aarne
f4ecc45831
ShellState.changeMain
2004-12-22 12:49:44 +00:00
aarne
430fd49622
gfcc in Types
2004-12-20 07:57:05 +00:00
janna
6938d1af09
*** empty log message ***
2004-12-12 12:43:02 +00:00
janna
9d77a32846
*** empty log message ***
2004-12-12 11:44:22 +00:00
bringert
5e0493f4b4
Added script for creating a clickable module dependency graph.
2004-12-10 15:24:50 +00:00
bringert
a7d8c3cedd
Minor clean-up and comment in module dep visualization.
2004-12-10 14:56:52 +00:00
aarne
a9e316a1eb
sevilla
2004-12-10 14:42:37 +00:00
bringert
273088fd71
Added visualization of source modules.
2004-12-10 14:02:00 +00:00
aarne
bb5c5066bd
needed for Sevilla lights
2004-12-10 11:24:42 +00:00
aarne
a3b75f842f
spanish works although with bugs
2004-12-10 07:13:01 +00:00
aarne
666496eee9
more Spanish
2004-12-09 15:34:24 +00:00
aarne
7f4c23c6f5
starting Spanish
2004-12-09 13:52:03 +00:00
bringert
f45bdbfa54
Make flag value checking depend on the command. Fixed spurious error messages with pm -printer values.
2004-12-09 09:51:41 +00:00
janna
8c252ebd5c
*** empty log message ***
2004-12-08 22:16:18 +00:00
bringert
c63d8d88da
Generated GF and GFC lexers with BNFC with string sharing support.
2004-12-08 13:21:40 +00:00
janna
96b9b9d8ef
*** empty log message ***
2004-12-07 20:37:36 +00:00
bringert
f1b84584f8
Do string sharing after unescaping in source and canonical grammars.
2004-12-07 13:02:27 +00:00
bringert
97dbfc25f2
More sharing of reserved words in GF and GFC lexers. Added GF lexer alex file.
2004-12-06 19:08:58 +00:00
bringert
5198595d84
Use strict parser and GHC-specific lexer for source grammars.
2004-12-06 17:44:59 +00:00
bringert
a969c51b69
Use HashTable to share strings in tokens when parsing GFC files.
2004-12-06 16:02:08 +00:00
janna
3d72b7ce90
*** empty log message ***
2004-12-04 10:50:49 +00:00
aarne
c44a131dd9
experiment with new Rename
2004-12-03 16:04:25 +00:00
bringert
5773bf28fc
Made GFC parser strict. Generated GFC lexer with alex -g. In total, this drops the memory residency after loading a large gfc file by about 40%.
2004-12-02 16:13:16 +00:00
bringert
81a9a75b3d
Changed default optimization level to -O2
2004-12-01 14:14:07 +00:00
aarne
b1207c48a9
Italian with full conjugations
2004-11-30 15:28:53 +00:00
aarne
3565bbc26a
more French verbs
2004-11-30 10:25:38 +00:00
aarne
2a3608af9a
subcat in verbs
2004-11-29 22:15:23 +00:00
janna
d7da99f786
*** empty log message ***
2004-11-29 19:42:14 +00:00
aarne
75d02bfcc7
french verbs
2004-11-29 14:43:17 +00:00
aarne
4564fd2f99
finishing verbs; bug fixes in comp
2004-11-27 08:13:45 +00:00
bringert
b299e79109
Added module file (hacky) URLs to nodes.
2004-11-26 14:53:44 +00:00
aarne
4f79c51d86
new verbs
2004-11-25 17:38:08 +00:00
bringert
e25d29f27d
Added case (error) for transfer modules.
2004-11-24 18:07:04 +00:00
bringert
c1b4224363
Added module graph visualization.
2004-11-24 17:54:58 +00:00
aarne
8b6018cb8b
order of clitiques and auxiliary
2004-11-24 14:42:28 +00:00
aarne
1bda4ff5e7
some more
2004-11-18 15:32:30 +00:00
aarne
5104521a0e
approaching french
2004-11-18 15:11:27 +00:00
aarne
2754a5a758
adding tense to french
2004-11-17 21:26:26 +00:00
aarne
15fd8ec71b
resturcturing french resource
2004-11-17 14:33:15 +00:00
aarne
36121a1698
completing Swedish
2004-11-16 21:20:55 +00:00
aarne
2bef5f7a1c
newly organized resource with tense in lib
2004-11-16 16:28:22 +00:00
aarne
7a16b4501f
French logic
2004-11-12 09:49:36 +00:00
bringert
623d971dca
Added uninstall target to Makefile in binary dists. jgf now looks for a jvm if the hardcoded one is not found.
2004-11-11 15:05:41 +00:00
bringert
5991b6c244
Added uninstall target for binary tarballs
2004-11-11 14:49:07 +00:00
aarne
be553eb951
testing ParadigmsFre
2004-11-11 14:41:51 +00:00
janna
f36378a64b
*** empty log message ***
2004-11-10 19:02:00 +00:00
janna
3d3eb65e8e
*** empty log message ***
2004-11-09 20:08:45 +00:00
aarne
935ab1a8ab
Test.hs
2004-11-09 18:12:51 +00:00
aarne
1be716148f
Index
2004-11-09 12:08:52 +00:00
janna
7e1710a596
*** empty log message ***
2004-11-09 09:54:09 +00:00
aarne
db58aa689a
exe
2004-11-09 07:37:43 +00:00
aarne
86c6b19e00
book
2004-11-08 16:04:58 +00:00
aarne
939a7f0bac
doc
2004-11-08 15:54:55 +00:00
aarne
0d39d9f8b8
download doc
2004-11-08 15:30:40 +00:00
aarne
c0a26f13c2
rpm
2004-11-08 14:39:18 +00:00
aarne
f950bbaeb9
INSTALL
2004-11-08 13:57:50 +00:00
aarne
b3bfa01df7
make
2004-11-08 13:47:15 +00:00
aarne
2390a6e7d0
2.1
2004-11-08 13:46:34 +00:00
aarne
81c67ceafb
doc pdf
2004-11-08 13:29:38 +00:00
aarne
eb40e00ffd
for 2.1
2004-11-08 13:25:00 +00:00
aarne
23408890df
preparing 2.1 release
2004-11-08 13:15:25 +00:00
aarne
6e92668cb7
update doc
2004-11-08 09:27:30 +00:00
aarne
c27827a1da
completing for release
2004-11-08 09:22:37 +00:00
aarne
259e32d6e1
some bug fixes in type check and solve
2004-11-01 21:41:18 +00:00
janna
e079385e0c
*** empty log message ***
2004-11-01 09:15:23 +00:00
janna
c209862c76
*** empty log message ***
2004-11-01 09:02:55 +00:00
janna
925cc41eb4
*** empty log message ***
2004-10-28 14:13:31 +00:00
janna
fed7f97e5f
*** empty log message ***
2004-10-28 12:22:04 +00:00
janna
855fc1e1f8
*** empty log message ***
2004-10-28 11:46:37 +00:00
janna
b99bcb1ab6
*** empty log message ***
2004-10-27 18:24:56 +00:00
aarne
25492ab0b9
constraint bug fix
2004-10-26 11:53:22 +00:00
aarne
b73e3b2b56
work on checking equations
2004-10-26 11:24:32 +00:00
aarne
18c0f62519
markup
2004-10-25 14:22:18 +00:00
aarne
47eca4023b
added code map
2004-10-22 13:46:41 +00:00
aarne
72f02027b3
basic
2004-10-22 07:59:13 +00:00
bringert
733d527797
Remove more punctuation characters when printing GSL grammars
2004-10-19 10:27:28 +00:00
aarne
84c306d18c
update highlights; fix cat warning bug
2004-10-13 11:47:24 +00:00
aarne
e1bceff497
version 2.1b
2004-10-11 14:25:09 +00:00
aarne
589091fd63
german paradigms
2004-10-11 14:21:57 +00:00
harald2
f88be638cc
Updated to be consistent with the new verb forms in MorphoGer.gf
2004-10-11 09:12:22 +00:00
janna
ebef4a1d0e
*** empty log message ***
2004-10-02 21:00:55 +00:00
bringert
12e4aecffe
Generalized Speech Recognition Grammar generation. Added JSGF grammar printer.
2004-10-01 08:43:59 +00:00
harald2
f7e066c8fa
Added more verb forms, see NEW: in MorphoGer.gf.
2004-09-30 07:55:41 +00:00
aarne
054dbbb39f
fixed PredefAbs in TC
2004-09-30 06:24:09 +00:00
bringert
2881192e74
Removed dead code from CFGM grammar
2004-09-29 16:24:40 +00:00
bringert
a941d09e09
Updated to simple CFGM grammar, use CFGM pretty printer when printing cfgm grammars.
2004-09-29 15:53:46 +00:00
bringert
9d9761c2ab
Updated to latest CFG specification from gfc2java
2004-09-29 08:27:28 +00:00
aarne
57ff3cc5a3
gfcc report
2004-09-28 19:44:02 +00:00
aarne
55c603ba87
revising tex
2004-09-28 11:55:10 +00:00
aarne
42ec83836c
make runtime
2004-09-27 07:58:18 +00:00
aarne
15c96a2ba1
hoas
2004-09-26 16:36:13 +00:00
aarne
e4a0414fbf
2 typos
2004-09-26 16:10:04 +00:00
aarne
edce34bbcf
paper and references
2004-09-26 16:05:36 +00:00
aarne
1b5c20dced
almost the final version
2004-09-26 15:44:08 +00:00
aarne
a06dcaab30
version 2 of doc
2004-09-25 21:49:21 +00:00
aarne
2eae406aa7
added picture
2004-09-25 10:24:27 +00:00
aarne
51898596e1
more examples
2004-09-25 08:51:33 +00:00
aarne
7e0b0d2b68
compiler works on abs and fibonacci
2004-09-25 08:24:11 +00:00
aarne
b93056f878
gfcc
2004-09-24 16:04:04 +00:00
aarne
fa70d81eb4
bug fixes in parsing etc; improved ImperC
2004-09-24 08:46:03 +00:00
aarne
22c849351f
Ints n
2004-09-23 14:41:42 +00:00
aarne
6c3c14dfcf
making parsing ImperC work
2004-09-22 20:42:21 +00:00
aarne
8cd24e0b91
printing to LBNF with profiles
2004-09-22 15:12:49 +00:00
aarne
0ff7e33a85
symbol table
2004-09-20 14:28:52 +00:00
aarne
825fb52b92
conclusion
2004-09-20 11:51:44 +00:00
aarne
6909b7cb7f
editor
2004-09-20 09:04:13 +00:00
aarne
6868e08b96
report ready
2004-09-20 08:51:48 +00:00
aarne
9715c5e5f4
Imper
2004-09-19 20:27:38 +00:00
aarne
5dc88db711
report
2004-09-19 20:27:01 +00:00
aarne
518d44f759
doc
2004-09-18 09:24:51 +00:00
aarne
96890f5fad
C compiler
2004-09-17 22:02:35 +00:00
aarne
ee3e5b0ae5
test with numerals
2004-09-17 14:02:30 +00:00
aarne
e2f00638e2
Karin C's example
2004-09-16 14:47:18 +00:00
bringert
d5c0814180
When printing CFGM, only include the top-level modules
2004-09-16 11:09:37 +00:00
bringert
e22464e594
Use .MAIN for the start category.
2004-09-15 16:16:34 +00:00
aarne
e6fd325d07
introducing multiple inheritance
2004-09-15 14:36:27 +00:00
aarne
9bc8ffe4d1
terms from rf
2004-09-15 11:37:45 +00:00
aarne
6c372cc599
gfcm header
2004-09-14 17:05:46 +00:00
bringert
25f95fcfc3
Use grammar name as gsl category name prefix. Put some grammar info in GSL comments.
2004-09-14 15:45:17 +00:00
bringert
79f1afe65b
gsl printer now figures out startcat from grammar flags
2004-09-14 15:05:37 +00:00
bringert
7f79a8eaa4
Added GSL speech recognition grammar generation.
2004-09-14 08:36:57 +00:00
aarne
9ff30c0ac6
type check cc command
2004-09-08 11:36:53 +00:00
aarne
eb83ed3743
parad fixes
2004-08-27 15:21:09 +00:00
aarne
42e8522757
codevars
2004-08-25 15:17:13 +00:00
aarne
173a773334
fixed incompleteness in prt
2004-08-24 19:16:48 +00:00
aarne
9d404ba7a4
some var parser bug fixes
2004-08-24 11:49:46 +00:00
bringert
9e05ef01aa
Added coding flag to arabic_modern
2004-08-23 13:12:57 +00:00
bringert
fafa485659
Added coding flag to newnumerals grammars.
2004-08-23 09:23:00 +00:00
bringert
2af06fd3ab
Added CFGM format (pm -printer=cfgm) and utf8 conversion for pm.
2004-08-23 07:51:36 +00:00
aarne
20215c7a49
1.2
2004-08-17 13:51:05 +00:00
aarne
8b2e78517d
25
2004-08-17 13:46:59 +00:00
aarne
dbcad83d75
exe
2004-08-17 11:47:25 +00:00
aarne
b33766e7e5
atomic sentences
2004-08-17 08:41:41 +00:00
aarne
face83bb18
experiments with unlexer
2004-08-15 21:02:10 +00:00
janna
a454e7f6c4
*** empty log message ***
2004-08-14 10:37:29 +00:00
aarne
71cef35bd7
-s
2004-08-13 20:46:54 +00:00
aarne
18be5298f0
unique ref
2004-08-13 13:21:46 +00:00
janna
ad3fd6c082
*** empty log message ***
2004-08-13 12:16:00 +00:00
janna
5cd8b33302
*** empty log message ***
2004-08-13 11:48:25 +00:00
janna
5eb8d24629
*** empty log message ***
2004-08-13 09:28:24 +00:00
aarne
f05b87e21d
cygwin
2004-08-13 07:43:46 +00:00
aarne
73ee7e362b
GUI msgs
2004-08-12 20:30:14 +00:00
aarne
8b3ea67087
(non)utf8 input in GUI
2004-08-12 18:29:35 +00:00
aarne
5384ba44d7
os x
2004-08-12 13:06:57 +00:00
aarne
cf59dee8d3
utf8
2004-08-12 12:21:23 +00:00
aarne
4849132f1f
cygwin
2004-08-12 11:05:24 +00:00
aarne
80b38b7c0e
links
2004-08-12 10:47:32 +00:00
aarne
579ab5daa8
fixes for Janna
2004-08-12 09:02:00 +00:00
janna
1b3f318ae8
*** empty log message ***
2004-08-11 20:21:24 +00:00
aarne
29e2201eef
key
2004-08-11 14:01:08 +00:00
aarne
3ba4606962
docs
2004-08-11 13:37:43 +00:00
aarne
e9d01140cc
index
2004-08-11 13:26:56 +00:00
aarne
8d1badc2b4
download
2004-08-11 13:20:47 +00:00
aarne
4db3f9431c
Index
2004-08-11 12:18:11 +00:00
aarne
ca0cb61148
index
2004-08-11 11:56:11 +00:00
aarne
83259d9afd
paths in release
2004-08-11 10:32:36 +00:00
aarne
79fb9605fa
bug fix in reading files
2004-08-11 10:02:26 +00:00
aarne
ebda48df09
spec
2004-08-10 14:04:21 +00:00
aarne
1a25fe402d
Index
2004-08-10 13:22:25 +00:00
aarne
f3abb11313
make lib
2004-08-10 13:19:32 +00:00
aarne
cc86cd805a
gfdocs
2004-08-10 13:15:08 +00:00
aarne
fc36275f5d
link to tout
2004-08-10 13:05:19 +00:00
aarne
7c4072d013
for www
2004-08-10 12:39:38 +00:00
aarne
3608232afa
clean up
2004-08-10 11:52:42 +00:00
aarne
b4022179a4
mkLib
2004-08-10 11:14:31 +00:00
aarne
f301993bff
resource doc; make lib
2004-08-10 10:17:19 +00:00
peb
548962f7d7
*** empty log message ***
2004-08-10 09:40:35 +00:00
aarne
dba58f739a
the name gf2
2004-08-10 08:17:03 +00:00
aarne
046a13ce7e
small adjustments in grs
2004-08-09 13:22:59 +00:00
aarne
466ab5db4e
2341
2004-08-04 12:54:47 +00:00
aarne
ab87f7a64c
new web page
2004-08-04 12:18:58 +00:00
aarne
b9ce279883
help flags for i
2004-08-03 15:24:23 +00:00
aarne
29b3d08046
testing grammar distr
2004-08-03 15:21:01 +00:00
aarne
b01e79de2c
gramamr distr
2004-08-03 12:39:55 +00:00
aarne
fb8a7357c4
Preparing for release.
2004-08-03 11:47:32 +00:00
bringert
dba69cf2fd
Do not escape single quotes in strings in PrintGF. This seems to be unmarked hand-hacked behaviour that the old pretty printer had.
2004-07-22 11:12:27 +00:00
bringert
81c9833d25
Added -- H to an unmarked hand-hacked section.
2004-07-22 10:26:27 +00:00
bringert
90325aeca4
Recreated GF and GFC pretty printers using the new BNFC version which makes more efficient pretty printers.
2004-07-22 09:00:27 +00:00
bringert
14fb7519f2
Added target for building GF with profiling
2004-07-14 12:44:15 +00:00
aarne
6c2401e657
some fixes
2004-06-24 19:08:30 +00:00
aarne
15a95cdbd2
fixed unlexer
2004-06-24 15:13:40 +00:00
aarne
59654146c6
welcome msg
2004-06-24 14:13:55 +00:00
aarne
bddc88156f
last-minute bug fixes
2004-06-24 14:06:09 +00:00
bringert
767690b903
Added RPM building setup instructions.
2004-06-24 11:01:03 +00:00
bringert
3b5b2b5b8c
Fixed typo in install-editor target
2004-06-24 08:42:43 +00:00
bringert
36bf079fab
Added vendor tag
2004-06-24 08:25:21 +00:00
bringert
2dc8d421be
Put jar file in share instead of lib
2004-06-24 08:21:59 +00:00
krijo
665e176932
Adding Mac OS X build instructions (essentially the same as other UNIXes).
2004-06-23 15:33:48 +00:00
krijo
053aea3c88
Added .PHONY for install rule.
2004-06-23 15:21:33 +00:00
bringert
3be5b217cc
Include auxillary files for configure in binary packages.
2004-06-23 15:15:13 +00:00
bringert
b464ea5bac
binary-dist now builds the gf binary. this takes a looong time.
2004-06-23 14:15:16 +00:00
bringert
4fc6c30ced
Reverted version to 2.0, the pre1 tag caused problems with rpm building.
2004-06-23 14:06:10 +00:00
bringert
06093e9fc5
moved 'pre1' to release. rpm does not allow it in version
2004-06-23 14:02:30 +00:00
bringert
b57c7eec60
Set version number to 2.0-pre1
2004-06-23 13:53:49 +00:00
bringert
ba3a151640
Find java with configure, do not include preprocessed jgf script in binary dists.
2004-06-23 13:46:40 +00:00
bringert
561e21c8af
Added exec and final newline.
2004-06-23 13:35:52 +00:00
bringert
b5dea15eda
Added missing dirs for install in binary-dist target
2004-06-23 13:30:45 +00:00
bringert
188b4dc47c
Fixed tab/space snafu
2004-06-23 13:28:43 +00:00
bringert
e440fc8676
Do not use prefix inside the binary dist
2004-06-23 13:23:25 +00:00
bringert
279d6d329b
Added autoconf step
2004-06-23 13:14:03 +00:00
bringert
8982192db6
Add final newline to not get messed up on solaris.
2004-06-23 13:12:44 +00:00
bringert
5e0861ddef
Added ReleaseProcedure. Added configureation and makefiles for binary packages. Configure now lets you specify which javac and jar to use.
2004-06-23 13:09:56 +00:00
aarne
d4e30498f6
some fixes for Shae
2004-06-23 11:57:17 +00:00
bringert
e5df982c93
delete BIN_DIST_DIR at end of binary-dist
2004-06-23 10:41:05 +00:00
bringert
b3d525c7d8
Use gtar instead of tar to be sure to get GNU tar.
2004-06-23 10:40:22 +00:00
bringert
f46fc30338
Fixed script to only include .gf files. Updated generated script.
2004-06-23 09:44:27 +00:00
bringert
d8fb006f84
Added binary-dist target.
2004-06-23 09:02:54 +00:00
bringert
fa15b9d8c4
Added Solaris VCS configure instructions
2004-06-23 08:39:48 +00:00
bringert
d345337da0
Get CPPFLAGS and LDFLAGS from configure
2004-06-23 07:24:46 +00:00
aarne
9a4930c4d8
resource doc
2004-06-22 19:54:12 +00:00
bringert
410e3ec08d
Change references to gf2 to gf.
2004-06-22 15:48:57 +00:00
bringert
1300a9529f
Call gf as gf, not gf2.
2004-06-22 15:47:22 +00:00
bringert
6cb49d4c65
Rename gf2 and jgf2 to gf and jgf2
2004-06-22 15:28:07 +00:00
aarne
b952c4810b
make resources
2004-06-22 15:00:15 +00:00
bringert
79f3c8563e
install target now installs gfdoc
2004-06-22 14:59:04 +00:00
bringert
6ef6e73ba2
Include gfdoc in rpm
2004-06-22 14:55:33 +00:00
aarne
8725379be3
make gfdoc
2004-06-22 14:54:05 +00:00
bringert
6cb989f467
Put editor in main package.
2004-06-22 14:12:51 +00:00
bringert
39c1d3c575
Build separate package for the java editor
2004-06-22 13:54:31 +00:00
bringert
5809b47cdc
use -source 1.4 for java code
2004-06-22 13:42:48 +00:00
bringert
f96f07b523
go to src before make install
2004-06-22 13:42:00 +00:00
bringert
480bfec875
use target 1.4 for java code
2004-06-22 13:24:01 +00:00
aarne
6a09c52540
spec
2004-06-22 13:13:28 +00:00
aarne
f634ccfae4
arranging for dist
2004-06-22 13:09:56 +00:00
bringert
97b540370c
Do make install in %install section
2004-06-22 13:06:03 +00:00
bringert
c463e99031
don't include release2.html
2004-06-22 13:03:58 +00:00
bringert
3ab574ad94
recreate for-ghc-nofun if it does not exist, since cvs export prunes empty dirs
2004-06-22 12:37:28 +00:00
aarne
f28e0f16c3
fixes in parsing
2004-06-22 12:33:31 +00:00
bringert
2bdc8b877f
Added rpm target. Fixed source dir name in rpm spec.
2004-06-22 12:15:39 +00:00
bringert
a239ab1ab5
Delete files that should not be in the distribution.
2004-06-22 12:13:19 +00:00
bringert
1704f94a49
delete tarbalss in distclean
2004-06-22 12:02:14 +00:00
bringert
339aa8caeb
Added autoconf step.
2004-06-22 12:01:06 +00:00
bringert
cff04c2887
Do autoconf in src dir when making dist
2004-06-22 11:58:45 +00:00
bringert
142a4a3235
Build jar file for java classes. Added dist target.
2004-06-22 11:56:24 +00:00
bringert
9b0d136d71
Moved distclean target to after clean
2004-06-22 09:44:46 +00:00
bringert
f5959152b7
Cleaned up Makefile, build for unix be default, create nofud-links in the right places.
2004-06-22 09:33:43 +00:00
bringert
0636808ff4
Added configure step to install instructions
2004-06-22 09:32:02 +00:00
bringert
2419172626
Added GF description and pointer to the INSTALL file.
2004-06-22 09:25:37 +00:00
bringert
5f4898739c
Added RPM spec
2004-06-22 08:56:34 +00:00
bringert
39e1cb259c
Added configure script, added install target, changed MkToday to a shell script to avoid a build-time dependency on runhugs
2004-06-22 08:56:20 +00:00
bringert
2f4f6781fb
Added placeholder readme file
2004-06-22 08:54:31 +00:00
bringert
64c3fa1fe8
Added license file
2004-06-22 08:54:14 +00:00
aarne
ee240bceb2
inspected ParadigmsX
2004-06-21 18:31:29 +00:00
aarne
3608e81186
some new Swedish paradigms
2004-06-21 15:14:37 +00:00
aarne
667523c977
for release meeting
2004-06-21 08:53:58 +00:00
aarne
3eba56aa2b
pdf
2004-06-21 08:35:01 +00:00
peb
55d359a720
*** empty log message ***
2004-06-18 14:23:15 +00:00
aarne
e0d4eff9cb
small things
2004-06-18 13:14:50 +00:00
aarne
1ecf09836a
preced
2004-06-18 08:52:38 +00:00
aarne
f63d731e33
path in file name test in ReadFiles
2004-06-17 14:10:06 +00:00
aarne
a22d6fdb01
bug fixes ; command so ; reintroduce batch mode
2004-06-16 14:49:50 +00:00
peb
b4ed911249
*** empty log message ***
2004-06-15 18:34:54 +00:00
peb
5f0e3fdac3
*** empty log message ***
2004-06-15 18:24:17 +00:00
aarne
83ff9cc2bb
improved make facility: remember state if fails; does not need source
2004-06-15 13:55:54 +00:00
peb
7cc1ecbbcf
*** empty log message ***
2004-06-10 14:37:43 +00:00
aarne
48560dd867
readfiles
2004-06-10 14:34:07 +00:00
aarne
c976663beb
KeY
2004-06-09 18:43:06 +00:00
janna
db13adbded
*** empty log message ***
2004-06-06 19:57:56 +00:00
peb
708459e93b
*** empty log message ***
2004-06-06 10:11:10 +00:00
aarne
10976cb7f5
SymbPN and SymbCN in resources
2004-06-03 19:31:39 +00:00
peb
ea15514395
*** empty log message ***
2004-06-02 11:17:15 +00:00
peb
78f88812b8
*** empty log message ***
2004-06-02 11:05:39 +00:00
aarne
794dfec061
resource for OCL
2004-06-01 05:29:10 +00:00
aarne
5fd8516955
working for OCL
2004-05-28 12:44:29 +00:00
aarne
2252119bbd
external translator
2004-05-28 12:18:28 +00:00
aarne
866418ea5e
command option check
2004-05-27 14:43:13 +00:00
aarne
0f8955da68
MyParser: hook for external parser
2004-05-27 08:28:43 +00:00
peb
c672653231
*** empty log message ***
2004-05-26 19:40:11 +00:00
peb
ddd70c8b35
*** empty log message ***
2004-05-26 18:44:40 +00:00
aarne
0f30a5a540
strict BinTree
2004-05-26 08:33:27 +00:00
aarne
1ca03947fc
adverbs
2004-05-24 08:58:44 +00:00
aarne
54376eacf8
fix eng parad
2004-05-21 15:12:51 +00:00
aarne
fa7989b42d
++ -> +
2004-05-19 08:02:14 +00:00
aarne
0232a283a9
peel head i ; gt nometas ; gf2hs
2004-05-18 20:57:13 +00:00
aarne
a757409214
big lexicon
2004-05-17 20:48:31 +00:00
janna
3458574f95
*** empty log message ***
2004-05-03 21:02:18 +00:00
aarne
86964ca5d5
Generation with metavariables.
2004-05-03 12:39:32 +00:00
aarne
b1b9e00ce9
generation in jgf
2004-05-02 12:36:19 +00:00
aarne
8d4983cdb2
gt Term
2004-05-02 08:21:25 +00:00
aarne
126753651a
Improved gt; Karin C's examples.
2004-04-30 19:52:34 +00:00
aarne
b67b5e1d5f
generation command gt n
2004-04-30 15:18:38 +00:00
aarne
926ac1b1e5
random gen to fill given term
2004-04-30 11:28:35 +00:00
peb
93b9023303
*** empty log message ***
2004-04-30 08:26:01 +00:00
peb
92b13296c6
*** empty log message ***
2004-04-30 07:17:03 +00:00
aarne
2c3c97d7f5
gr F ? ?
2004-04-30 05:02:49 +00:00
peb
97d6b623f8
*** empty log message ***
2004-04-29 08:22:32 +00:00
peb
f798e7cb03
29/4-04, peb: added directory 'testConversions' with a simple grammar
...
for testing grammar conversions
2004-04-29 08:11:20 +00:00
aarne
75148ff9f6
multimodality exx
2004-04-29 04:03:19 +00:00
peb
69aece7b30
peb (28/4-04):
...
- added directory 'conversions' for grammar conversions
- added some grammar printers in 'Custom.hs'
- added option 'ghci' in 'Makefile'
2004-04-28 09:37:10 +00:00
aarne
fa596888f1
timetable
2004-04-28 09:08:31 +00:00
aarne
1157649c85
optimization in make
2004-04-27 19:37:01 +00:00
aarne
45fa5271d9
ditt o datt
2004-04-23 13:45:07 +00:00
aarne
23914ca726
fin lexicon
2004-04-22 18:32:53 +00:00
aarne
bd9ba5ce39
some more printing
2004-04-19 15:33:45 +00:00
aarne
9b47f67467
added srg; extended shallow
2004-04-16 15:21:56 +00:00
aarne
31444ab458
ShallowSwe
2004-04-14 10:57:21 +00:00
aarne
695dcf7cbc
more shallow grs
2004-04-14 08:52:11 +00:00
aarne
7c6b0cbff6
error msg for term input
2004-04-13 11:55:52 +00:00
aarne
543e602bfe
worked on Finnish morphology
2004-04-07 14:53:20 +00:00
aarne
91546c91ff
Windows.
2004-04-05 14:47:31 +00:00
aarne
7093f8b14f
Beta.
2004-04-02 12:35:23 +00:00
aarne
1b8960aef4
Beta release.
2004-04-02 12:23:48 +00:00
aarne
cef421db7e
2beta2
2004-04-01 09:51:32 +00:00
aarne
8d828c46d5
Added support for cf and ebnf formats
2004-03-31 12:30:34 +00:00
aarne
f0cbb89778
Better help.
2004-03-26 20:08:30 +00:00
aarne
0a28c77f6d
Making cf2gf to work...
2004-03-24 15:31:38 +00:00
aarne
4a34119ad0
Restoring old functionality
2004-03-24 15:09:06 +00:00
aarne
8f829331f6
String pattern handling
2004-03-23 12:06:12 +00:00
aarne
dc65a16767
Unions: a first version.
2004-03-01 21:03:25 +00:00
aarne
b790008b19
Started with unions.
2004-02-27 07:43:52 +00:00
aarne
b32c3081a1
Improved make facility.
2004-02-26 14:49:16 +00:00
aarne
a98279b814
Put back LocNP.
2004-02-23 16:03:08 +00:00
aarne
fdcd0e16d7
VV and VS constructors added.
2004-02-23 11:37:22 +00:00
aarne
2ff53b2ffd
Started experimenting with shallow resource API.
...
Started experimenting with shallow resource API.
Added PossessPrep to Structural.
2004-02-20 16:28:42 +00:00
janna
7f3009e2cc
*** empty log message ***
2004-02-03 09:22:37 +00:00
janna
294cb085f7
*** empty log message ***
2004-02-02 22:37:51 +00:00
janna
f63e213ec9
*** empty log message ***
2004-02-01 08:15:41 +00:00
aarne
46d5b33099
Adjusting GFT for cgi.
2004-01-30 16:17:20 +00:00
janna
c1e4f8ba84
*** empty log message ***
2004-01-30 16:01:15 +00:00
aarne
45d0484894
Remove n=
2004-01-30 13:20:03 +00:00
aarne
22dcbef870
New order among numerals.
2004-01-29 12:57:32 +00:00
aarne
eb82e5960e
Improving unicode menus, e.g. in Letter.
2004-01-29 12:03:23 +00:00
janna
59c031c2f0
*** empty log message ***
2004-01-29 10:05:43 +00:00
aarne
dec8e76616
Unicode. Batch transl into HTML.
2004-01-28 12:42:20 +00:00
aarne
fdda9fac0a
Some new languges by Harald, plus translation scripts
2004-01-28 12:27:59 +00:00
janna
ea6cb208cb
*** empty log message ***
2004-01-28 08:51:28 +00:00
janna
5dcd4bbb8f
*** empty log message ***
2004-01-26 13:46:05 +00:00
aarne
5792a86afb
Improved unicode output.
2004-01-26 08:39:52 +00:00
aarne
30629c96bd
Quick fix in French.
2004-01-21 14:06:34 +00:00
aarne
78a613c4cb
PredefAbs for bwc
2004-01-21 13:32:08 +00:00
aarne
cfe47b0f90
Added mkPrepp to Paradigms.
2004-01-17 14:53:05 +00:00
aarne
c1cd85d397
From Janna.
2004-01-12 16:46:00 +00:00
aarne
9c818d8924
Changed some function names, added derived libraries.
2004-01-12 16:19:59 +00:00
janna
6fdd67cb84
*** empty log message ***
2004-01-11 18:32:54 +00:00
aarne
9b9634bf7a
Rewriting with interface to resource.
2004-01-09 16:48:19 +00:00
aarne
52bc53dfd7
Interfaces and instances by reuse.
2004-01-09 16:40:56 +00:00
aarne
412a4f0fdb
With the new reuse of abstract as interface,
...
With the new reuse of abstract as interface,
more modular structure of resource.
2004-01-09 16:40:25 +00:00
aarne
8ee66b41d3
Finished Finnish and German.
2004-01-09 14:34:30 +00:00
aarne
b396a776e9
Some bug fixes mostly in editor commands.
2004-01-08 14:58:46 +00:00
janna
fba613f8bd
*** empty log message ***
2004-01-06 19:10:18 +00:00
aarne
4ee91af554
Close to finishing new verisons of Finnish and GErman.
2004-01-05 15:42:38 +00:00
janna
122d2592b2
*** empty log message ***
2004-01-04 21:03:27 +00:00
janna
1dcf3b8f50
*** empty log message ***
2004-01-02 13:16:46 +00:00
aarne
5b641a1947
Starting Finnish for new API
2003-12-19 16:57:48 +00:00
aarne
4c9cb3eccc
Getting closer to updated resource.
2003-12-17 12:43:34 +00:00
aarne
fb1e3fa798
More work on rom
2003-12-16 15:39:07 +00:00
aarne
06936f0f18
Romance languages for the new API.
2003-12-16 11:38:55 +00:00
aarne
054ef0a1ac
Introduced output of stripped format gfcm.
2003-12-09 16:39:24 +00:00
aarne
75c67f82f5
Harald's new grammars.
2003-12-09 16:07:42 +00:00
aarne
306d7cfc13
Added French for new API. Started alpha conv. Fixed bugs.
2003-12-04 12:08:29 +00:00
janna
fa62fb4edf
*** empty log message ***
2003-12-04 08:37:59 +00:00
janna
d65e13b7c8
*** empty log message ***
2003-12-03 10:36:37 +00:00
janna
de33374fb4
*** empty log message ***
2003-12-02 22:36:34 +00:00
janna
2c2f81be18
*** empty log message ***
2003-11-30 14:16:18 +00:00
janna
58077ea9ae
*** empty log message ***
2003-11-29 22:40:24 +00:00
aarne
14ed16de74
Added Swe databaseCVS: ----------------------------------------------------------------------
2003-11-26 08:00:31 +00:00
janna
0fb74937e8
*** empty log message ***
2003-11-25 21:10:53 +00:00
janna
0f03b4aeb8
*** empty log message ***
2003-11-25 16:34:42 +00:00
aarne
77deae8f4a
Beta release.
2003-11-25 16:27:47 +00:00
aarne
884c1a1ece
Preparing for beta release.
2003-11-25 15:43:05 +00:00
aarne
0878449cca
New place for new resource API implementations.
2003-11-25 15:11:59 +00:00