summaryrefslogtreecommitdiff
path: root/src/runtime/haskell
AgeCommit message (Collapse)Author
2020-10-02Merge branch 'master' of https://github.com/GrammaticalFramework/gf-corekrangelov
2020-10-02fix parsing with HOASkrangelov
2020-08-05First attempt at fixing incompabilities with newer cabalAndreas Källberg
2020-07-06an attempt to solve record extension overloading bug, commented out for the ↵aarneranta
moment
2020-05-05accepting gf-ud style abslabels in gf-core ; cnclabels TODOaarneranta
2020-03-15restore the sequence ordering after -optimize-pgfkrangelov
2019-11-13fixed a vd bug that sometimes erased the root labelaarneranta
2019-11-12fixed the problem with generating several roots in ud2gf. Now only the ↵aarneranta
leftmost word becomes ROOT, the others become dep - which can be eliminated by cnclabels. This works fine for e.g. English prepositional and particle verbs. But it does not work if the 'main' word is not the leftmost one
2019-03-20hiding morphological tags from Latex printing of dependency treesAarne Ranta
2019-01-23PGF.Haskell.fromStr: fix double spaces caused by empty tokensThomas Hallgren
2019-01-07add CoNLLU as output format for gf2ud: merging issue (#24)Prasanth Kolachina
2019-01-07Merge pull request #24 from odanoburu/gf2ud-commentsPrasanth Kolachina
(gf2ud) add comments to CoNLL-U output
2018-12-20revert to printing the unique id in ppBracketedStringKrasimir Angelov
2018-12-20save the original concrete category in BracketedStringKrasimir Angelov
2018-12-19(gf2ud) add comments to CoNLL-U outputodanoburu
when debbuging labels, I find it useful to have comments saying what's the original sentence (lazy, I know) and the original tree (depending on the treebank, the trees can be similar). I know this is not the goal exactly, but UDv2 treebanks (http://universaldependencies.org/format.html) should always have a 'text =' comment, and a 'sent_id =' comment (which would be easy to implement too, but not that useful).
2018-12-18added the possibility to annotate features of syncat words, e.g. @"is" PresSg3Aarne Ranta
2018-12-18refactored cnc configfile parsing a bitAarne Ranta
2018-12-18Merge branch 'master' into masterAarne Ranta
2018-12-18morph. feat generation by ARPrasanth Kolachina
2018-12-18added morphological tags to UD tree output. Tags are give in ↵Aarne Ranta
CncConfiguration, e.g. @N Sg Pl. Default tag is Cat-offset, as defined for each Cat in pgf
2018-12-17allow comments in dependency configs and fix conll outputPrasanth Kolachina
2018-12-01dealing with ',' as syncategorematic tokenAarne Ranta
2018-11-30Fix deprecations from containers >= 0.4.0.0Peter Ljunglöf
E.g. `foldWithKey` has been deprecated since 0.4.0.0 (November 2010)[1] and has been removed in 0.6.0.1 (2018)[2] [1]: https://github.com/haskell/containers/blob/master/changelog.md#0400--nov-2010 [2]: https://github.com/haskell/containers/blob/master/changelog.md#death-of-deprecated-functions (commit originally by @fredefox)
2018-11-28fixed a bug in the cnclabel formatAarne Ranta
2018-11-28remove custom-binary flag; update Cabal version restriction; bump version to ↵John J. Camilleri
3.10
2018-08-06A version of `readPGF` where the user handles the IO.Frederik Hanghøj Iversen
2018-07-26Minimal update with new repo URLs & build instructionsJohn J. Camilleri
2018-05-24add bracketLinearizeAll for variantsPrasanth Kolachina
2018-04-18Fixes for GHC 8.4.1 compatibilityThomas Hallgren
* In GHC 8.4.1, the operator <> has become a method of the Semigroup class and is exported from the Prelude. This is unfortunate, since <> is also exported from the standard library module Text.PrettyPrint, so in any module that defines a pretty printer, there is likely to be an ambiguity. This affects ~18 modules in GF. Solution: import Prelude hiding (<>) This works also in older versions of GHC, since GHC does't complain if you hide something that doesn't exists. * In GHC 8.4.1, Semigroup has become a superclass of Monoid. This means that anywhere you define an instance of the Monoid class you also have to define an instance in the Semigroup class. This affects Data.Binary.Builder in GF. Solution: conditionally define a Semigroup instance if compiling with base>=4.11 (ghc>=8.4.1)
2017-12-19bugfix for random generation with HOASKrasimir Angelov
2017-09-06A new function called "completions" is added in the Haskell runtime and used ↵Krasimir Angelov
in PGFService. This makes the extraction of completions more platform independent
2017-09-05GF.Command.TreeOperations is now independent from the runtime's internalsKrasimir Angelov
2017-09-05added exprSize and exprFunctions in the Haskell runtime too and use them in ↵Krasimir Angelov
TreeOperations
2017-09-04eliminate modules PGF.Lexing, PGF.LexingAGreek. Make PGF.Utilities an ↵Krasimir Angelov
internal module in the runtime. These are not really part of the core runtime.
2017-09-04added a separate cabal file for the Haskell runtimeKrasimir Angelov
2017-09-04move the custom Binary package back to src/runtime/haskellKrasimir Angelov
2017-09-01silence Tab warnings in the Haskell runtimeKrasimir Angelov
2017-08-29the embedded grammars now work with both the pure Haskell and the Haskell ↵Krasimir Angelov
binding API
2017-08-22a nicer pretty printing for the PGF formatKrasimir Angelov
2017-08-18????Krasimir Angelov
Merge branch 'master' of www.grammaticalframework.org:/usr/local/www/GF
2017-08-18the parser is not forced to respect the linref while parsing discontious phrasesKrasimir Angelov
2017-08-18Bump version requirements to base>=4.6, Cabal>=1.20Thomas Hallgren
Cabal>=1.20 allows control over parallelism when compiling grammars from Setup.hs and WebSetup.hs. base>=4.6 allows conditional compilation with CPP to be eliminated from a few modules. base-4.6 corresponds to GHC 7.6.3, which is what you get in Debian 8 (aka jessie, aka oldstable) from 2015.
2017-08-11A couple of fixes for GHC 8.2.1 compatibilityThomas Hallgren
2017-06-02handling combination of &+ and &|aarne
2017-06-02handling capitalization (&|) in unlexer -bindaarne
2017-04-06separated syncat multiwords in dep tree generation ; added function ↵aarne
wildcards to concrete annotatations (see for instance english/LangEng.labels)
2017-04-06vd command now reads local concrete configurations to deal with syncat ↵aarne
words; TODO: dissolve clustered multiwords bound with +
2017-04-05added generateOntology & generateOntologyDepthkrasimir
2016-06-15added a default value in dependency visualization for cases using maximum, ↵aarne
to cover the case where the list of arcs is empty
2016-06-09PGF service & minibar: only show dependency diagrams if the labels are knownhallgren
+ The PGF service now reads and caches dependency label configuration files. + The grammar info returned by command=grammar has a new boolean field 'hasDependencyLabels' to indicate if dependency labels were found for the grammar. Also, command=deptree will now fail if no labels are present. + The minibar only shows word dependency trees if labels are present. + Also changed the type of getDepLabels from [String] -> Labels to String -> Labels, since all uses were in the form "getDepLabels . lines".