CHANGES.md 11.1 KB
Newer Older
Bruno Guillaume's avatar
Bruno Guillaume committed
1
# 1.8.0 (2021/12/15)
Bruno Guillaume's avatar
typo    
Bruno Guillaume committed
2
3
  * Add command `prepend_feats` (See: https://grew.fr/doc/commands/#copy-several-features-from-one-node-to-another)
  * Add Python style string slicing (See: https://grew.fr/doc/commands/#add-or-update-a-node-feature)
Bruno Guillaume's avatar
Bruno Guillaume committed
4
5
  * Add several functions for other tools (ArboratorGrew, Grew-web…)

Bruno Guillaume's avatar
Bruno Guillaume committed
6
7
8
# 1.7.0 (2021/09/20)
  * Add syntax with regexp in node declaration

Bruno Guillaume's avatar
Bruno Guillaume committed
9
10
11
## 1.6.3 (2021/08/03)
  * Fix bug with lexicon folder finding

Bruno Guillaume's avatar
Bruno Guillaume committed
12
13
14
15
16
## 1.6.2 (2021/07/16)
  * add few functions
  * deal with `$` extension of Naija
  * stricter application of UPDATE_EDGE_FEAT

Bruno Guillaume's avatar
Bruno Guillaume committed
17
## 1.6.1 (2021/05/22)
Bruno Guillaume's avatar
Bruno Guillaume committed
18
  * add new commands `unorder` and `insert` (⚠️ in old GRS which used `unorder` or `insert` as identifier, a renaming is needed)
Bruno Guillaume's avatar
Bruno Guillaume committed
19

Bruno Guillaume's avatar
Bruno Guillaume committed
20
21
22
23
24
25
# 1.6.0 (2021/05/05)
  * new function Corpus.graph_of_sent_id
  * ⚠️ new type for Corpus.is_conll
  * get rid of of CoNLL implementation
  * ⚠️ stop backward compatibility `pos`, `cat` and `phon`

Bruno Guillaume's avatar
Bruno Guillaume committed
26
27
28
29
## 1.5.1 (2021/04/23)
  * Fix bug in the graph history tracking
  * Fix bug in default behaviour with unsafe command (https://gitlab.inria.fr/grew/libcaml-grew/-/issues/26)

Bruno Guillaume's avatar
Bruno Guillaume committed
30
31
32
# 1.5.0 (2021/03/16)
  * Change JSON encoding of graphs

Bruno Guillaume's avatar
Bruno Guillaume committed
33
34
35
## 1.4.3 (2021/02/26)
  * more general UPDATE_EDGE_FEAT handling (see https://grew.fr/gallery/update_edge_feature)

Bruno Guillaume's avatar
Bruno Guillaume committed
36
37
38
39
40
41
42
## 1.4.2 (2021/02/24)
  * Remove obsolete domain handling:
    * keywords “features” and “labels” obsolete
  * add whether handling for Grew-match
  * new fct: Graph.get_feature_values, Graph.get_history, Graph.get_relation and Graph.get_features
  * remove old Conll code

Bruno Guillaume's avatar
Bruno Guillaume committed
43
44
45
## 1.4.1 (2021/01/19)
  * add config in to_json_python (bug in grewpy)

Bruno Guillaume's avatar
Bruno Guillaume committed
46
47
# 1.4.0 (2020/10/02)
  * :warning: change pattern syntax (see https://grew.fr/doc/upgrade)
Bruno Guillaume's avatar
Bruno Guillaume committed
48
49
50
  * add new constraints in pattern syntax
  * new implementation of Conll handling

Bruno Guillaume's avatar
Bruno Guillaume committed
51
52
53
## 1.3.6.1 (2020/07/03)
  * remove cppo usage

Bruno Guillaume's avatar
Bruno Guillaume committed
54
55
56
## 1.3.6 (2020/05/05)
  * Fix bug in del_node implementation

Bruno Guillaume's avatar
Bruno Guillaume committed
57
58
59
## 1.3.5 (2020/03/12)
  * Avoid exception [Not_conll] in G_edge.to_dep & G_edge.to_dot

Bruno Guillaume's avatar
Bruno Guillaume committed
60
61
62
63
64
## 1.3.4 (2020/01/18)
  * add command append_feats (see https://gitlab.inria.fr/grew/grew/issues/12)
  * any sequence of "pattern" / "without" / "global" is admitted
  * add global constraints in meta information

Bruno Guillaume's avatar
Bruno Guillaume committed
65
66
67
68
## 1.3.3 (2019/10/22)
  * Various new functions from grew-match and grew_server
  * fix bug on checking duplicate definition in packages

Bruno Guillaume's avatar
Bruno Guillaume committed
69
70
71
72
## 1.3.2 (2019/08/27)
  * implement edge_del_feat
  * Fix various bugs

Bruno Guillaume's avatar
Bruno Guillaume committed
73
74
75
76
77
## 1.3.1 (2019/07/04)
  * add constraints with features in edges
  * add shift commands with features in edges
  * add UPDATE_EDGE_FEAT handling

Bruno Guillaume's avatar
Bruno Guillaume committed
78
# 1.3.0 (2019/06/24)
79
  * Add support of "@alpha" extension in edges
Bruno Guillaume's avatar
Bruno Guillaume committed
80
81
82
83
  * Add a default “empty.grs”
  * Review ordering of node
  * Add Multigraph management (for grew_server)

Bruno Guillaume's avatar
Bruno Guillaume committed
84
85
86
## 1.2.1 (2019/04/24)
  * Fix error in global pattern

Bruno Guillaume's avatar
Bruno Guillaume committed
87
88
89
90
91
92
93
94
# 1.2.0 (2019/03/26)
  * 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 to Graph.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

## 1.1.5 (2019/03/26)
Bruno Guillaume's avatar
Bruno Guillaume committed
95
96
  * move to opam2

Bruno Guillaume's avatar
Bruno Guillaume committed
97
## 1.1.4 (2019/03/06)
Bruno Guillaume's avatar
Bruno Guillaume committed
98
99
  * Fix bug introduced in previous version

Bruno Guillaume's avatar
Bruno Guillaume committed
100
## 1.1.3 (2019/03/04)
Bruno Guillaume's avatar
Bruno Guillaume committed
101
102
  * Fix bug in strategies implementation

Bruno Guillaume's avatar
Bruno Guillaume committed
103
## 1.1.2 (2019/02/10)
Bruno Guillaume's avatar
Bruno Guillaume committed
104
105
106
  * change json type
  * add cmxs target

Bruno Guillaume's avatar
Bruno Guillaume committed
107
## 1.1.1 (2018/11/23)
Bruno Guillaume's avatar
Bruno Guillaume committed
108
109
  * style for projection edges

Bruno Guillaume's avatar
Bruno Guillaume committed
110
111
112
113
# 1.1.0 (2018/11/22)
  * More general label_ident in parser (String are available everywhere)
  * Update to new MWE types from libcaml-conll

Bruno Guillaume's avatar
Bruno Guillaume committed
114
115
116
## 1.0.2 (2018/09/16)
  * Fix problem with nodes names in “grew grep”

Bruno Guillaume's avatar
Bruno Guillaume committed
117
## 1.0.1 (2018/09/10)
Bruno Guillaume's avatar
Bruno Guillaume committed
118
  * Fix error in MWE node construction
Bruno Guillaume's avatar
Bruno Guillaume committed
119

Bruno Guillaume's avatar
Bruno Guillaume committed
120
121
122
123
124
125
# 1.0.0 (2018/09/10)
  * /!\ Change lexical rules syntax and lexicon representation
  * Handling of Parseme's column 11
  * Large code cleaning
  * Fix https://gitlab.inria.fr/grew/grew/issues/4

Bruno Guillaume's avatar
Bruno Guillaume committed
126
127
128
# 0.49.0 (2018/07/05)
  * Add new syntax in pattern node "f=u/g=v" (mainly for MWEPOS handling in relations consistency checks)

Bruno Guillaume's avatar
Bruno Guillaume committed
129
# 0.48.0 (2018/06/19)
130
  * remove `conll_fields` mechanism (names of conll fields 2, 4 and 5 are `form`, `upos`, `xpos`)
Bruno Guillaume's avatar
Bruno Guillaume committed
131

132
133
134
## 0.47.2 (2018/05/04)
  * Deal with increasing Grs

135
## 0.47.1 (2018/03/16)
136
  * Fix bug in grs loading with relative path
137

Bruno Guillaume's avatar
Bruno Guillaume committed
138
# 0.47.0 (2018/03/13)
Bruno Guillaume's avatar
Bruno Guillaume committed
139
  * Add conll_fields in domain definition
Bruno Guillaume's avatar
Bruno Guillaume committed
140
  * graphs are managing the own domain (change types in library)
Bruno Guillaume's avatar
Bruno Guillaume committed
141
  * /!\ change type of function Graph.to_dep
Bruno Guillaume's avatar
Bruno Guillaume committed
142
143
  * add -safe_commands mode
  * more json
Bruno Guillaume's avatar
Bruno Guillaume committed
144

145
## 0.46.4 (2018/03/09)
Bruno Guillaume's avatar
Bruno Guillaume committed
146
  * Fix Not_found exception in conversion UD to Sequoia (fusion words)
147

Bruno Guillaume's avatar
Bruno Guillaume committed
148
149
150
151
152
## 0.46.3 (2018/01/03)
  * Fix #21580: out_edges not shifted by the shift command
  * Fix #21581: detection of duplicate identifiers inside packages
  * change `of_brown` function: `sent_id` goes in metadata

Bruno Guillaume's avatar
Bruno Guillaume committed
153
## 0.46.2 (2017/12/17)
Bruno Guillaume's avatar
Bruno Guillaume committed
154
  * Non strict rewrite by default (for demo)
Bruno Guillaume's avatar
Bruno Guillaume committed
155

Bruno Guillaume's avatar
Bruno Guillaume committed
156
157
158
## 0.46.1 (2017/12/17)
  * Fix semantics of Onf

Bruno Guillaume's avatar
Bruno Guillaume committed
159
160
161
162
163
# 0.46.0 (2017/12/14)
  * Remove Dep2pict dependency
  * Remove old code
  * Prepare new version of command history management

Bruno Guillaume's avatar
Bruno Guillaume committed
164
165
166
167
168
# 0.45.0 (2017/10/10)
  * Keep features defined in column 10 of conll (like SpaceAfter=No)
  * /!\ implicit nodes are allowed only in edge definitions
  * /!\ new grs syntax is required (old syntax can be used with -old_grs command line argument)

Bruno Guillaume's avatar
Bruno Guillaume committed
169
170
171
## 0.44.1 (2017/09/06)
  * Fix bug “undefined domain”

172
# 0.44.0 (2017/09/05)
Bruno Guillaume's avatar
Bruno Guillaume committed
173
  * /!\ new grs syntax (with package and strategies), see [https://grew.fr/grs](https://grew.fr/grs)
174
175
176
177
178
179
180
181
182
183
  * /!\ remove function `Rewrite.write_annot`
  * adapt to libcaml-conll 0.14.0

# 0.43.0 (2017/05/23)
  * /!\ syntax change: `confluent` --> `deterministic`
  * /!\ syntax change: `match` --> `pattern`
  * /!\ change shift semantics: edges with source and target nodes in the pattern are not concerned by the shifts
  * Fix [#2](https://gitlab.inria.fr/grew/libcaml-grew/issues/2) (Add a new syntax for `add_edge` command)

## 0.42.3 (2017/04/25)
184
185
  * Add dependence on yojson

186
## 0.42.2 (2017/04/25)
187
188
  * Fix ordering of dependencies in conll output

189
## 0.42.1 (2017/04/19)
190
191
  * Fix json export (missing commmands)

192
# 0.42.0 (2017/04/18)
Bruno Guillaume's avatar
Bruno Guillaume committed
193
194
  * Add json export

195
## 0.41.1 (2017/03/14)
Bruno Guillaume's avatar
Bruno Guillaume committed
196
197
  * adapt to new libraries versions

198
## 0.41 (2017/03/06)
Bruno Guillaume's avatar
Bruno Guillaume committed
199
200
  * adapt to libcaml-conll 0.12.0 (UD empty nodes)

201
202
## 0.40.1 (2017/01/17)
  * Fix a bug introduced in [01f7b589](https://gitlab.inria.fr/grew/libcaml-grew/commit/01f7b589e2024d7a86fbf8c52dc48d73b6e318d2) for handling the feature names ordering
203

204
205
# 0.40.0 (2016/11/10)
  * Change strategies syntax: `pick(S)`, `try(S)` and `S!``
206
207
  * Simplification of exported exceptions: only two exception are raised by libgrew: Error and Bug

208
209
# 0.39.0 (2016/11/02)
  * Add function `Rewrite.simple_rewrite` for applying strategies
210

211
## 0.38.3 (2016/10/21)
212
213
  * add dependency to libcaml-conll

214
## 0.38.2 (2016/10/21)
215
216
  * handling of extra features in column 10 of conlls

217
218
## 0.38.1 (2016/09/20)
  * Fix syntax error with pattern `match { X -> * }``
219

220
# 0.38.0 (2016/09/20)
221
222
223
  * add code for interaction with python
  * add function get_version

224
225
# 0.37.0 (2016/09/02)
  * add support for constituency trees
226
227
  * add definition of strategies (not completly implemented…)

228
## 0.36.2 (2016/08/30)
229
230
  * Remove dependencies amongst xml-light and camlp4

231
232
## 0.36.1 (2016/08/29)
  * Fix bug [#15](http://talc2.loria.fr:8888/bruno/grew/issues/15)
233

234
## 0.36 (2016/08/18)
235
236
  * Make domains optional

237
## 0.35 (2016/07/14)
238
239
  * add the debug_loop flag (when a loop is suspected graph is considered as a normal form, such that it is possible to see it in the GUI)
  * new functions in libgrew.mli for Grewpy:
240
241
    * `Graph.of_gr`
    * `Rewrite.get_graphs`
242
243
  * improve error reporting

244
## 0.34.4 (2016/05/19)
245
246
  Bug fix again… introduced in previous version

247
## 0.34.3 (2016/05/18)
bguillaum's avatar
bguillaum committed
248
249
  Bug fix introduced in previous version

250
## 0.34.2 (2016/05/18)
251
252
  Bug fix in node ordering in case of del_node

253
## 0.34.1 (2016/05/14)
254
255
  Bug fix in default values for depth bounds

256
## 0.34 (2016/05/10)
bguillaum's avatar
bguillaum committed
257
258
  NB: changes prefixed with "==>" belows breaks existing code!
  NB: changes prefixed with "-->" belows makes existing code deprecated
259
  * ==> new syntax:
bguillaum's avatar
bguillaum committed
260
261
       X<<Y for X is before Y in the linear order
       X<Y fot X is immediatly before Y in the linear order (diff from semantics introduced in 0.32)
262
  * ==> new_syntax for regular expression on label edges:
bguillaum's avatar
bguillaum committed
263
264
      NEW: X -[re"__your_regular_expression_here__"]-> Y
      OLD: X -[aux:*]-> Y is not supported anymore
265
  * ==> new_syntax for regular expression on featues:
bguillaum's avatar
bguillaum committed
266
267
      NEW: X.feat = re"__your_regular_expression_here__" (no whitespace between re and double quote)
      OLD: X.feat == "__your_regular_expression_here__" introduced in 0.32 is not supported anymore
268
269
  * --> remove lex_rule keyword: use "rule" instead
  * --> add_neighbour is now deprecated and new syntax is introduced for nodes creation:
bguillaum's avatar
bguillaum committed
270
271
      add_node X        Create a new node named X wihtout position constraint
      add_node X :> Y   Create a new node named X immediatly after Y
bguillaum's avatar
bguillaum committed
272
      add_node X :< Y   Create a new node named X immediatly before Y
bguillaum's avatar
bguillaum committed
273
274
275
276
277
278
279
280
281
282
  * improve search for a sequence:
      1) search for the sequence with the requested name
      2) search for the module with the requested name
      3) select the first sequence defined in the GRS file
  * domain can be declared in a external file
  * add functions Rewrite.set_max_depth_non_det and Rewrite.set_max_depth_det to the library
  * improve error handling
  * change precedence implementation
  * remove useless code

283
## 0.33.1 (2016/03/14)
bguillaum's avatar
bguillaum committed
284
285
  * fix Conll error locations

286
## 0.33 (2016/03/11)
bguillaum's avatar
bguillaum committed
287
288
289
  * Fix implicit nodes handling with matching item with regexp: N.lemma == "a.*er"
  * move conll handling code into an external library libcaml-conll

290
## 0.32 (2016/02/01)
bguillaum's avatar
bguillaum committed
291
292
293
294
295
296
297
  * extend syntax:
    - syntactic sugar: "A < B" is interpreted as "A.position < B.position"
    - complete pattern with implicit nodes
    - add new constraint with regexp
  * move to ocamlbuild
  * add "node_matching" function for the new "grep" mode

298
## 0.31 (2015/11/15)
bguillaum's avatar
bguillaum committed
299
300
301
  * take ranges into account in conlls (UD)
  * Code reorganisation

302
## 0.30 (2015/09/25)
bguillaum's avatar
bguillaum committed
303
304
  * Internal changes (adapt to new version of libcaml-dep2pict)

305
## 0.29 (2015/08/28)
bguillaum's avatar
bguillaum committed
306
307
308
  * renumbering of conll output
  * ignore UDT lines with "i-j" number in UDT Conll

309
## 0.28 (2015/08/12)
bguillaum's avatar
bguillaum committed
310
311
  * Add inequality constraints between numerical features and constants

312
## 0.27
bguillaum's avatar
bguillaum committed
313
314
  * add syntax for inequality on features

315
## 0.26 (2015/04/23)
bguillaum's avatar
bguillaum committed
316
317
318
  * The shift command can be parametrized by edge constraints
  * Negative edge constraint are available in out-edge (N -[^mod]-> *) and in-edge (* -[^mod]-> N) constraints

319
## 0.25 (2015/04/08)
bguillaum's avatar
bguillaum committed
320
321
322
  * add support for the [-full] mode
  * handling of "*" in pattern edge labels

323
## 0.24 (2014/11/24)
bguillaum's avatar
bguillaum committed
324
325
326
327
328
329
330
331
332
333
334
335
336
337
  * Changes in the interface:
    - the "loc" type is abstract and exported (changes the libgrew interface)
  * New features:
    - use a float in a command "node.feat = 123.456"
    - improve checking for consistency between rules and feature domain at GRS loading time
    - add the possibility to use parameters in the without part
  * Bug fixes:
    - take the feature "position" into account when the user chose features to display
    - accept colors like "#abc"
  * Misc
    - add files for Geshi
    - code reorganization
    - add activate mechanism (untested)

338
339
## 0.23 (2014-06-05) and earlier
  Please refer to git history