summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2013-03-09ghc-7.6: add missing Num instance for BitsSergei Trofimovich
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-02-28Fix a bug that could cause "Prelude.head: empty list"hallgren
In Data.Operations, the function topoTest2 assumed too much about the form of the input, compared to the older function topoTest.
2013-02-28pattern match length estimation code simplicationhallgren
2013-02-27Faster regular expression pattern matching in the grammar compiler.hallgren
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-27GF grammar pretty printer improvementshallgren
Allow line breaks in more places to make large terms more readable.
2013-02-26added gu_buf_flush in seq.c which removes all elements from a bufferkr.angelov
2013-02-19the parser in the C runtime should not crash if the start category is not ↵kr.angelov
defined
2013-02-19bugfix in the grammar reader in the C runtimekr.angelov
2013-02-13bugfix in the linearizer for the C runtimekr.angelov