Arianna Masciolini
5170668ff2
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core into hleiss/master
2025-08-02 19:02:30 +02:00
Inari Listenmaa
b914a25de3
define return in terms of pure, >> as *>, mappend as <>
...
In preparation for deprecation, see https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid and https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
2025-08-02 16:39:31 +02:00
Hans Leiss
643617ccc4
Bug fix for gf-shell command 'pt -compute' in Expr.hs by
...
tryMatch p (VConst _ _) env = match sig f eqs as0
2025-02-18 12:41:14 +01:00
aarneranta
bc56b54dd1
random generation of literals now has ten different values for each built in type; maybe a better solution for most cases than just one value
2025-01-07 11:20:23 +01:00
aarneranta
7e707508a7
showExpr and linearize now refresh the printed variables if needed
2024-03-01 09:17:08 +01:00
Aarne Ranta
c2182274df
visualize_dependencies (vd) now creates latex in landscape mode to show long trees better
2023-12-14 11:56:11 +01:00
o1lo01ol1o
2c98075a0b
support ghc9.4
2023-11-15 12:04:41 -06:00
Krasimir Angelov
8190d9fe49
export BindType(..)
2023-03-01 09:57:48 +01:00
Andreas Källberg
03df25bb7a
Add support for ghc-9.2.4
2022-10-04 17:01:23 +02:00
Inari Listenmaa
ec70e4a83e
Merge pull request #136 from mengwong/ghc9
...
compiles with GHC 9.0.2
2022-05-06 03:26:00 +02:00
Andreas Källberg
b0b2a06f3b
Improve comment
2022-05-03 13:10:29 +08:00
Andreas Källberg
221597bd79
When profiling, don't add cost centres in Data.Binary.Get
...
This change speeds up profiling by an order of magnitude.
Without it, the >>= function for Get dominates runtime completely during profiling.
2022-05-03 13:08:35 +08:00
Inari Listenmaa
862aeb5d9b
Update base <4.15 to <4.16 for tests + pgf*.cabal
2022-03-05 13:42:11 +08:00
John J. Camilleri
cdbe73eb47
Remove two missing-methods warnings
2021-07-08 12:10:41 +02:00
John J. Camilleri
0954b4cbab
More cabal file cleanup. Remove some more tabs from Haskell source.
2021-07-07 13:04:09 +02:00
John J. Camilleri
f2e52d6f2c
Replace tabs for whitespace in source code
2021-07-07 09:40:41 +02:00
John J. Camilleri
84b4b6fab9
Some more cabal file cleanup. Add stack files for pgf, pgf2.
2021-07-06 14:11:30 +02:00
2jacobtan
e1a40640cd
specify version bounds in pgf.cabal and pgf2.cabal
2021-07-06 05:42:34 +08:00
Inari Listenmaa
6efbd23c5c
Merge pull request #84 from ffrixslee/issue-46
...
Issue 46 (various deprecations during compilation of GF)
2021-06-29 23:48:00 +02:00
John J. Camilleri
3a27fa0d39
Add another =
2021-06-24 09:34:27 +02:00
John J. Camilleri
1ba5449d21
Update pgf.cabal, and minors to other cabal files
2021-06-24 09:31:37 +02:00
Liyana
4364b1d9fb
Replaced Control.Monad.Error with Control.Monad.Except
2020-11-10 17:11:41 +08:00
Liyana
dc6dd988bc
Replaced inlinePerformIO with accursedUnutterablePerformIO
2020-11-10 17:01:47 +08:00
krangelov
f3a8658cc1
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2020-10-02 19:55:24 +02:00
krangelov
bfb94d1e48
fix parsing with HOAS
2020-10-02 19:34:52 +02:00
Andreas Källberg
251845f83e
First attempt at fixing incompabilities with newer cabal
2020-08-05 18:48:24 +02:00
aarneranta
8a052edca2
an attempt to solve record extension overloading bug, commented out for the moment
2020-07-06 18:01:59 +02:00
aarneranta
65c810f085
accepting gf-ud style abslabels in gf-core ; cnclabels TODO
2020-05-05 15:46:48 +02:00
krangelov
733fdac755
restore the sequence ordering after -optimize-pgf
2020-03-15 19:57:47 +01:00
aarneranta
6f2b1a83b7
fixed a vd bug that sometimes erased the root label
2019-11-13 11:40:37 +01:00
aarneranta
d3b501d35f
fixed the problem with generating several roots in ud2gf. Now only the 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-11-12 17:46:55 +01:00
Aarne Ranta
b3387e80e4
hiding morphological tags from Latex printing of dependency trees
2019-03-20 22:19:32 +01:00
Thomas Hallgren
fc5c2b5a22
PGF.Haskell.fromStr: fix double spaces caused by empty tokens
2019-01-23 02:45:23 +01:00
Prasanth Kolachina
0accd97691
add CoNLLU as output format for gf2ud: merging issue ( #24 )
2019-01-07 13:24:49 +01:00
Prasanth Kolachina
f8bd35543c
Merge pull request #24 from odanoburu/gf2ud-comments
...
(gf2ud) add comments to CoNLL-U output
2019-01-07 13:18:45 +01:00
Krasimir Angelov
260c0d07e0
revert to printing the unique id in ppBracketedString
2018-12-20 10:54:04 +01:00
Krasimir Angelov
26dabeab9b
save the original concrete category in BracketedString
2018-12-20 10:52:45 +01:00
odanoburu
f7c2fb8a7d
(gf2ud) add comments to CoNLL-U output
...
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-19 12:13:31 -02:00
Aarne Ranta
54204d2d95
added the possibility to annotate features of syncat words, e.g. @"is" PresSg3
2018-12-18 18:44:02 +01:00
Aarne Ranta
9834b89a30
refactored cnc configfile parsing a bit
2018-12-18 18:30:40 +01:00
Aarne Ranta
77c0a8e100
Merge branch 'master' into master
2018-12-18 19:05:42 +02:00
Prasanth Kolachina
86233e9c28
morph. feat generation by AR
2018-12-18 16:53:35 +01:00
Aarne Ranta
40e7544a2b
added morphological tags to UD tree output. Tags are give in CncConfiguration, e.g. @N Sg Pl. Default tag is Cat-offset, as defined for each Cat in pgf
2018-12-18 15:59:48 +01:00
Prasanth Kolachina
61c1510620
allow comments in dependency configs and fix conll output
2018-12-17 12:02:13 +01:00
Aarne Ranta
831252eb81
dealing with ',' as syncategorematic token
2018-12-01 09:32:22 +01:00
Peter Ljunglöf
4d34c7f66b
Fix deprecations from containers >= 0.4.0.0
...
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-30 11:52:56 +01:00
Aarne Ranta
c6ec8cf302
fixed a bug in the cnclabel format
2018-11-28 19:56:47 +01:00
John J. Camilleri
397f18a298
remove custom-binary flag; update Cabal version restriction; bump version to 3.10
2018-11-28 13:36:11 +01:00
Frederik Hanghøj Iversen
6b2c2256d1
A version of readPGF where the user handles the IO.
2018-08-06 16:05:12 +02:00
John J. Camilleri
636a8142b4
Minimal update with new repo URLs & build instructions
2018-07-26 01:37:03 +02:00