hallgren
b1d20cfe04
translator.css: factor out div.overlay styles to a separate file overlay.css
2016-05-12 14:21:30 +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
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
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
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
hallgren
7bd028919e
Simple Translator: remove extra space before punctuation
2014-04-28 12:07:41 +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
hallgren
9f3235c29f
Simple Translator: use colors to indicate translation quality
2014-04-11 15:00:15 +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
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
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
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
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
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
hallgren
46546a3e93
Add greek to Setup.hs and the web apps
2013-04-26 13:42:01 +00:00
hallgren
57e06e7a6a
simple translation tool: minor documentation fix
2013-04-19 14:10:03 +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
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
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
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
hallgren
d10c6bc85f
Simple Translation Tool: initial support for editing source segments in the minibar
2013-04-03 20:24:57 +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
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
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
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
29e2e8c9a4
simple translator: make it possible to delete documents
2012-09-21 09:07:31 +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
hallgren
1a4f828870
simple translator: accept DOS, Mac and Unix line breaks when importing text
2012-09-17 15:58: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
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
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
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
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