summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-04-12minibar/syntax editor integration fixeshallgren
When starting from the minibar, the selected set of target languages is now preserved when switching back and forth.
2013-04-12Simple Translation Tool: eliminate &+ in translations from GFhallgren
Also fixed a bug introduced in previous refactoring.
2013-04-12gfrobust.js: adding a JavaScript API to the GF Robust Parser translation servicehallgren
Factored out from the Simple Translation Tool.
2013-04-11minibar.html: add debug elementhallgren
to allow debug output from the syntax editor when it is started from the minibar. Also fix broken markup.
2013-04-10gf -s/-q now silences "no linearization of" warningshallgren
2013-04-08PGF.hs: export function missingLinshallgren
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-07minibar: add a visual hint that linearizations can be expanded into tableshallgren
2013-04-05Compiler.hs: ghc 7.6.2 compatibilityhallgren
2013-04-05Simple Translator: add GF Robust Parser to the menu for individual segmentshallgren
2013-04-05Simple Translator: use lextext/unlextext for translations with the robust parserhallgren
2013-04-05Simple Translator: initial support for translation with the GF robust parserhallgren
2013-04-05now the web service to the robust parser can to translations alsokr.angelov
2013-04-05a bugfix which was causing an infinite loop in the C linearizer for some ↵kr.angelov
sentences
2013-04-05a very simple linearization for partial abstract trees in the C runtimekr.angelov
2013-04-04minibar/syntax editor integration improvementshallgren
Work in progress on preserving the start category and selected target languages when switching between the minibar and the syntax editor.
2013-04-03Simple Translation Tool: initial support for editing source segments in the ↵hallgren
minibar
2013-04-03Adding src/www/js/localstorage.jshallgren
A common interface to localStorage, to store JSON data under a unique prefix.
2013-04-03Prevent Unicode characters in warning messages from stopping grammar compilationhallgren
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-02Replace "CId" with "Language" in type signature for PGF.tabularLinearizesjohn.j.camilleri
2013-04-02minibar: remember the selected set of target langaugeshallgren
2013-04-02minibar: abstract syntax trees are now shown with or without category nameshallgren
Function names are always shown.
2013-03-29option pt -funs to show all fun's in a treeaarne
2013-03-28minibar: show abstract syntax trees without or with function nameshallgren
Click once to show abstract syntax trees without function names. Click again to add function names.
2013-03-28PGF web API: command=abstrtree not supports the nocat and nofun optionshallgren
2013-03-27minibar: fix problems with the To: menuhallgren
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-27minibar: documentation updatehallgren
2013-03-27minibar: click on a linearization to obtain a table with all variants and formshallgren
Click again to hide the table.
2013-03-27support.js: add function replaceNodehallgren
2013-03-27PGF web API: add comand linearizeTablehallgren
The new command linearizeTable outputs linearizations as tables containing all variants and forms, labelled by parameters
2013-03-27minibar: fix buttons for abstract syntax trees and word alignment diagramshallgren
They stopped working after yesterday's changes.
2013-03-26minibar: documentation updatehallgren
2013-03-26minibar: show parse trees without or with function nameshallgren
Click once to show the parse tree without function names. Click again to add function names.
2013-03-26PGF service: support all parse tree visualziation options in the web APIhallgren
The new options are * noleaves, nofun, nocat (booleans, false by default) * nodefont, leaffont, nodecolor, leafcolor, nodeedgestyle, leafedgestyle (strings, empty by default)
2013-03-26haddock bug workaroundhallgren
2013-03-25minibar: initial support for selecting an arbitrary subset of target languageshallgren
This affects which translations are shown and which languages are included in the word alignment diagrams.
2013-03-20the calculation of lexical_prob in the statistical parser doesn't work ↵kr.angelov
properly. It should be fixed but for now I just disabled the optimization
2013-03-20replace #if with #ifdef when checking for the optional bottom up filtering ↵kr.angelov
in the C runtime
2013-03-19the bottom up filtering in the C runtime is temporary disabled. It takes too ↵kr.angelov
much memory and even makes it impossible to load the Finnish and the German parsing grammars.
2013-03-16Fix a problem with pattern macros in pre { } expressionshallgren
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-14bug fix in the linearizer in the C runtimekr.angelov
2013-03-14update the pgf-service tool from the C runtime after the changes in the APIkr.angelov
2013-03-13PGF web API: add 'to' parameter to the 'alignment' commandhallgren
Word alignment diagrams can now be restricted to a subset of the languages supported by the grammar.
2013-03-13PGF web API: generalize the 'to' parameter to accept a list of languageshallgren
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-13pt -nub to remove duplicate trees from a list returned e.g. by a parseraarne
2013-03-12partial evaluator: push predefined functions inside variantshallgren
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-12command pt -subtrees that analyses a tree into the set of subtrees. Using pt ↵aarne
-subtrees <bigtree> | l -treebank for debugging the lin of a big tree
2013-03-11bugfix in the statistical parserkr.angelov
2013-03-11Additional changes for GHC 7.4 & 7.6 compatibilityhallgren
2013-03-09ghc-7.6: allow directory-1.2Sergei Trofimovich
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-09ghc-7.6: fix src/server/PGFService.hs (use catch from base-4 Control.Exception)Sergei Trofimovich