hallgren
ae528954a0
minibar: fix links to Wikipedia article on JSONP
...
Wikipedia moved it.
2012-09-09 23:06:26 +00:00
hallgren
c7fd975c77
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
ffd59fc226
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
7862bfb15b
minibar documentation URL typo fix
2012-08-27 15:00:37 +00:00
hallgren
dfcd61de00
minibar documentation updates
2012-08-27 14:56:10 +00:00
hallgren
7f6c248bf1
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
2e968a01fa
gfse: matching colors in cloud download/upload icons
2012-08-02 12:12:59 +00:00
hallgren
89026eb963
gf-cloud-api.html: markup fix
2012-08-01 15:39:30 +00:00
hallgren
314662dd09
translator: code cleanup and bug fixes
2012-07-27 15:06:02 +00:00
hallgren
50c1635e34
translator: remove debug logging
2012-07-25 14:31:39 +00:00
hallgren
5c03e5f963
translator: per segment translation method selection
2012-07-25 14:27:27 +00:00
hallgren
650abc4aff
translator: parallel text view layout adjustments
...
And some other small code changes.
2012-06-21 23:06:07 +00:00
hallgren
cd2601bd84
translator: bug fix for copy/paste import
2012-06-21 23:03:12 +00:00
hallgren
b12e6ec1e4
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
6e2c7623fd
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
9d9c453a45
translator: style adjustments
2012-06-19 14:45:50 +00:00
hallgren
b84f6cc3fc
translator: expanatory text for local file import
2012-06-19 14:09:24 +00:00
hallgren
9bee6a9050
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
3d5efdd2d2
GF cloud api doc fixes
2012-06-18 15:18:02 +00:00
hallgren
71da012626
cloud service: add preliminary cloud service API documentation
2012-06-18 13:08:32 +00:00
hallgren
c3a5840ef9
transaltor: reduce code duplication
2012-06-18 13:08:15 +00:00
hallgren
ce21f9bd08
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
cc58e2d05f
translator: documents can now be saved in the cloud
...
some other small fixes
2012-06-12 15:36:41 +00:00
hallgren
3af1dbde67
gfse & translator: change language code for Japanese to Jpn
2012-06-12 13:07:54 +00:00
hallgren
09f5c2c82b
minibar-api.html: small documentation improvements
2012-06-11 16:00:03 +00:00
hallgren
5db5c8a203
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
a026b93ecb
translator: source segments can now be edited
2012-06-11 14:10:26 +00:00
hallgren
e9abd71899
translator.css: restore lost width of input field
2012-06-08 11:16:21 +00:00
hallgren
7196bc8669
translator: segment imported text based on punctuation
2012-05-29 14:47:59 +00:00
hallgren
9e34a7f7fa
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
b19ae37d9c
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
943652a3d2
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
9e32e9fde7
translator: you can now import text by copying and pasting
2012-05-25 16:48:03 +00:00
hallgren
215ec25a41
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
6f328c9040
translator: fix typo
2012-05-16 14:56:32 +00:00
hallgren
7c8a744ad1
translator: update About page
2012-05-16 14:54:16 +00:00
hallgren
5bd17709bf
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
5ac7bfc326
translator: file browser shows files alphabetically now
2012-05-16 13:25:18 +00:00
hallgren
adffb5f872
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
66e6b5269d
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
e90e1202c4
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
3022c7d08e
minibar_offline: fix the link to the regular minibar
2012-04-30 14:03:58 +00:00
hallgren
c10bd79e26
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
c6c9b994d2
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
c69f69ee9c
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
hallgren
9d47b83e07
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
98ed039498
Minibar documentation update
...
Document recent additions in minibar/about.html.
2012-04-19 12:36:03 +00:00
hallgren
ff812613c8
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
hallgren
baadce4acd
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
hallgren
68e2c0c0eb
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