summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-04-27fix a memory management error in linearizeAll in the python binding. a new ↵krasimir
temporary pool is used on every iteration to keep memory allocation to constant
2015-04-27fix warning in the Python bindingkrasimir
2015-04-27mark two more functions as static in the Python bindingkrasimir
2015-04-27make linearizeAll in the Haskell binding lazykrasimir
2015-04-27K translations in pipelineprasanth.kolachina
2015-04-27K Linearizationsprasanth.kolachina
2015-04-27Python linearizeAll with lazynessprasanth.kolachina
linearizeAll function will take an expression and an optional n keyword argument and return an iterator to the n-variant linearizations of the expression.
2015-04-27remove parsing for long sentences, to stop pipeline from crashing/hangingprasant.kolachina
2015-04-26bug fix in python examplesprasant.kolachina
2015-04-26bug fix python examplesprasant.kolachina
2015-04-26Bug fix python examplesprasant.kolachina
2015-04-26Changes in lexerprasanth.kolachina
2015-04-24Bug fix in gf_utilsprasanth.kolachina
2015-04-22No debug messagesprasanth.kolachina
2015-04-22Minor bug in pgf parse and kparseprasanth.kolachina
2015-04-22README for Python translation pipelineprasanth.kolachina
2015-04-22Cleaned up Python Translation pipelineprasanth.kolachina
2015-04-22Examples for using Python bindingsprasanth.kolachina
The examples directory contains two modules for using Python bindings in GF. The gf_utils module provides various Python functions to perform parsing and linearization using the C runtime. Additionally, the translation_pipeline module is an replica of the current pipeline used in the Wide-coverage Web translation pipeline.
2015-04-21some translate.probs decreased ; fine-tuning in pgf-hsbind-transaarne
2015-04-20drop the dependency to FSTkrasimir
2015-04-20added getpagesize() definition for Windowskrasimir
2015-04-20fix in the Haskell binding for Windowskrasimir
2015-04-17pgf-hsbind-trans now with linearizeAllaarne
2015-04-17pgf-shell.hs: remove call to performGC and document the 'i' commandhallgren
2015-04-17gf -server: include grammar modification time in the info returned by /version hallgren
2015-04-17PGF web service: add command c-linearizeAll to obtain all variantshallgren
Implemented by calling the recently added function PGF2.linearizeAll.
2015-04-17added linearizeAll in the Haskell bindingskrasimir
2015-04-16bugfix in the java bindingkrasimir
2015-04-16simplified the example translator and renamed it to pgf-hsbind-trans aarne
2015-04-16Wide Coverage Translation Demo: length limit test uses # of source chars nowhallgren
The length limit test previously used the URL-encoded UTF-8 representation of the source sentense. This was needed because of a fixed size buffer in C. Now that the server is in Haskell, the only reason the length is limited is to avoid excessive time and space use in the parser, so it is better to count source characters. This also avoids being too restrictive with non-European languages.
2015-04-16restored Cantonese as app Chi speech output: nothing else seems to workaarne
2015-04-15extended pgf-shell functionalities: batch translation with many trees, and ↵aarne
intervening context-dependent tree manipulation
2015-04-14Translating linearization functions to Haskell: move Haskell AST and pretty ↵hallgren
printer to GF.Haskell For further separation of pretty printing concerns from conversion concerns, the Haskell AST and pretty printer has been moved to its own module, GF.Haskell, also allowing it to be reused in other places where Haskell code is generated.
2015-04-13updated app help file ; added backslash to ? in Thai keyboard xml to make it ↵aarne
compile
2015-04-09Wide coverage translation demo: show an informative error message for ↵hallgren
sentences that exceed the length limit
2015-04-07GF.Compile.ConcreteToHaskell: some documentationhallgren
2015-03-31GF.CompileInParallel: get rid of the cryptic 'thread blocked indefinitely in ↵hallgren
an MVar operation' message after compilation errors Instead show a message saying how many modules were affected by the compilation errors.
2015-03-24Wide Coverage Translation Demo: zoomable panable collapsible syntax treeshallgren
This is an experimental solution using JavaScript code from https://github.com/christos-c/tree-viewer, d3js.org and jquery.com.
2015-03-24PGF Service: add an option to return syntax trees in JSON formathallgren
The parse/translate/c-parse/c-translate commands now recognize the option jsontree=true to augment the returned JSON structure with a field called "jsontree" next to the field "tree", or "jsontrees" next to "trees", containing the the returned syntax tree in JSON format (the same format returned by the abstrjson command, similar to the format returned in the "brackets" field).
2015-03-22Wide Coverage Translation Demo: add a way to obtain inflection tableshallgren
Too see inflection tables, click on a translated sentense, then click on a blue function name in the textual representation of the abstract syntax tree.
2015-03-19Wide Coverage Translation Demo: draw abstract trees and parse treeshallgren
You can now click on a tree to toggle between the abstract syntax tree and the parse tree. Also, the implementation now uses the new C run-time requests, e.g. App14.pgf?command=c-abstrtree&tree=... so no need to install AppEng.pgf on the server any more.
2015-03-19PGF service: add commands c-abstrtree and c-parsetreehallgren
These are the C runtime variants of the absttree and parsetree commands. They work in the same way, but support fewer rendering options.
2015-03-19haskell-bind: add bindings to graphviz rendering functions for ↵hallgren
abstract&parse trees
2015-03-19fix the compilation of gu/mem.c on Windows. For now memory mapped pools on ↵krasimir
Windows are just not supported.
2015-03-18Wide Coverage Translation Demo: draw syntax treeshallgren
The trees are drawn by using the Haskell run-time request AppEng.pgf?command=abstrtree&tree=... Thus AppEng.pgf has to be installed on the server and in sync with App14.pgf. This is to avoid loading the huge App14.pgf in the Haskell run-time system, and is enough since we only need the abstract syntax.
2015-03-13GF.CompileInParallel: fix a Win32 problemhallgren
Recognize \ in addition to / when extracting path components.
2015-03-11Wide Coverage Translation Demo: improved performancehallgren
For improved performance, request only one translation from the server initially. When the user clicks on a translated sentense, request 9 more translations.
2015-03-11GF.Server: request logging: increase length limit from 100 500 chars per fieldhallgren
2015-03-11DictionarySwe: kick_V2, mouse_Naarne
2015-03-06remove the meta_item variable from the parse statekrasimir