Grew releases
-
The version numbers
x.y.z
are synchronised such thatx
andy
are identical for sub-projects. The third componentz
is linked to bug fixes and may vary across sub-projects.grewlib
→ the Grew library, used in all other sub-projectsgrew
→ the command line interface of Grew
-
The symbol “⚠️” indicates changes that may break backward compatibility. Check GRS upgrading.
-
More detailed information in files
CHANGES.md
for each sub-project: grewlib, grew.
Version 1.16.2 of grewlib
(July 31, 2024)
Version 1.16 (June 2, 2024)
- New syntax for relative position (absolute with
length
or relative withdelta
) between two nodes in requests and key clustering - Corpusbank handling (WIP)
Version 1.15 (January 2, 2024)
- compatible with Ocaml 5
- Fix bug in Graph.to_json
Version 1.14 (November 11, 2023)
- add disjunction in Node definition (see here)
- Optimise request representation
Version 1.13 (September 16, 2023)
- Change type of
cluster_key
Version 1.12 (March 24, 2023)
- ⚠️ library is renamed
grewlib
(old name waslibcaml-grew
) - use dune build system
Version 1.11.0 (January 22, 2023)
- ⚠️ Add syntax for positive filtering using the
with
keyword. See Request page (NB: this may break an existing GRS which uses the identifierwith
for a rule, a pacakge or a strategy). - Add handling of non-injective matching
Version 1.10.0 (November 23, 2022)
- Remove handling of Gr graph format. Please use json format
- Review input corpus handling (see Command Line Interface)
Version 1.9.0 (June 29, 2022)
- update Conll handling (synchronized with
libcaml-conll 1.13
) - minors bug fixes
Version 1.8.0 (December 15, 2021)
- Add command
prepend_feats
(doc) - Add Python style string slicing (doc)
- Add several functions for other tools (ArboratorGrew, Grew-web…)
Version 1.7.0 (September 20, 2021)
- Add syntax with regexp in node declaration
Version 1.6.1 (May 22, 2021)
- add new commands
unorder
andinsert
(⚠️ in old GRS which usedunorder
orinsert
as identifier, a renaming in needed) - add
-multi_json
argument (see Graph output formats)
Version 1.6 (May 5, 2021)
- ⚠️ stop backward compatibility with old feature names
pos
,cat
andphon
(see CoNNL-U) - add
-columns
argument (see CoNNL-U Plus) - fix invalid json output if there is more than one output graph
Version 1.5 (March 16, 2021)
- Change JSON encoding of graphs (see JSON format)
Version 1.4 (October 2, 2020)
- change pattern syntax (see GRS upgrading)
- add new syntax for constraints in pattern syntax (see patterns page)
- new implementation of Conll-U handling
- configs replace the deprecated notion of domains
⚠️ the tool grew_gui
is obsolete and not maintained. It relies on old libraries which are not available on recent version of OSes.
Version 1.3 (June 24, 2019)
- Add support of “@alpha” extension in edges
- Add a default “empty.grs”
- Read from
stdin
if there is no-i
, write tostdout
if there is no-o
Version 1.2 (March 26, 2019)
- Edge label can be viewed as feature structure “x:y” <=> “1=x, 2=y”
- Add
global
section in pattern (is_projective, is_cyclic, is_tree, is_forest) - Add
?get_url
parameter toGraph.to_dot
(AMR handling in Grew-match) - Add a notion of pivot node in pattern for Grew-match export
- Add
Libgrew.set_track_rules
function
Version 1.1 (November 23, 2018)
- More general definition of pattern edges (String are available everywhere)
- Update to new MWE types (with projection information)
Version 1.0 (September 10, 2018)
- ⚠️ Change lexical rules syntax and lexicon representation (See About new lexical rules syntax)
- Handling of Parseme’s column 11
- Large code cleaning
- Fix #4 & #5
Version 0.48 (June 19, 2018)
- remove
conll_fields
mechanism (names of conll fields 2, 4 and 5 areform
,upos
,xpos
). See here for more information.
Version 0.47 (March 13, 2018)
- Add
grewpy
executable for Python library -safe_commands
option
Version 0.46 (December 14, 2017)
- GTK interface is proposed as a separate package and so Grew without GUI is much more easy to install
- Command line arguments were revisited (see here)
More detailed information in files CHANGES.md
for each sub-project: libcaml-grew,
grew,
grew_gui
Version 0.45 (October 10, 2017)
- features structures given in column 10 of CoNLL are kept in the output
- ⚠️ new grs syntax (grs) is required; old syntax can be used with the command line argument
-old_grs
- ⚠️ in patterns, implicit node declaration is available only for nodes in edge (see below)
Implicit nodes in version 0.45
In pattern, you can refer only to nodes which are explicitely declared or declared in a edge declaration.
The following patterns used to be valid (with a implicit declaration of node M
), but there are not anymore
pattern { N[cat=NOUN]; M < N }
pattern { N[cat=NOUN]; M.cat = VERB }
pattern { N[cat=NOUN]; M -[obj]-> * }
They have to be replaced by, respectively:
pattern { N[cat=NOUN]; M[]; M < N }
pattern { N[cat=NOUN]; M[]; M.cat = VERB }
pattern { N[cat=NOUN]; M[]; M -[obj]-> * }
But it is still possible to write
pattern { N[cat=NOUN]; N -[obj]-> M }
Version 0.44 (September 05, 2017)
- ⚠️ new grs syntax (with package and strategies), see grs.
Version 0.43 (May 23, 2017)
Syntax changes
The syntax changes below make existing Grew code to be deprecated. The old syntax is still accepted but for a limited amount of time, please update your existing GRS system soon.
- ⚠️ the keyword
confluent
is replaced by the keyworddeterministic
(it was confusing to use the keyword “confluent
” with modules which are not confluent). - ⚠️ the keyword
match
is replaced by the keywordpattern
.
Command actions
- ⚠️ the shift command semantics: edges with source and target nodes in the pattern are not concerned by the shifts
- New syntax is available for the command
add_edge
(issue #2).
Removed old stuff
- ⚠️ old syntax for node addition is no longer supported:
add_node PRO: <-[obj.p]- PREP;
must be replaced by the sequence of two commands:
add_node PRO :> PREP;
add_edge PREP -[obj.p]-> PRO;