1
0
forked from GitHub/gf-core
Commit Graph

322 Commits

Author SHA1 Message Date
hallgren fd298007be minibar-api.html: documentation fixes 2012-09-17 15:52:57 +00:00
aarne fa683d7ce2 First version of a web server for morphological paradigms. 2012-09-12 12:52:03 +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
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
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
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 dca98c3533 gf-cloud-api.html: markup fix 2012-08-01 15:39:30 +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
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
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
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
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
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 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
hallgren 6a1e6eed29 translator.css: restore lost width of input field 2012-06-08 11:16:21 +00:00
hallgren 07e6ff8963 translator: segment imported text based on punctuation 2012-05-29 14:47:59 +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
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
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
hallgren 33165aa8e3 translator: you can now import text by copying and pasting 2012-05-25 16:48:03 +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
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 5c880fc15b translator: file browser shows files alphabetically now 2012-05-16 13:25:18 +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
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
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 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