Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libcaml-grew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
grew
libcaml-grew
Commits
4e050ac5
Commit
4e050ac5
authored
Jan 15, 2018
by
Bruno Guillaume
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Not_found when a node of amalgam is removed
parent
1cb933d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
src/grew_graph.ml
src/grew_graph.ml
+1
-11
No files found.
src/grew_graph.ml
View file @
4e050ac5
...
...
@@ -882,16 +882,6 @@ module G_graph = struct
)
acc
(
G_node
.
get_next
node
)
)
graph
.
map
Gid_map
.
empty
in
let
multiwords
=
List
.
map
(
fun
fusion_item
->
{
Conll
.
mw_line_num
=
None
;
first
=
int_of_float
(
get_num
fusion_item
.
first
);
last
=
int_of_float
(
get_num
fusion_item
.
last
);
fusion
=
fusion_item
.
word
;
mw_efs
=
fusion_item
.
efs
;
}
)
graph
.
fusion
in
let
lines
=
List_
.
opt_map
(
fun
(
gid
,
node
)
->
if
G_node
.
is_conll_root
node
...
...
@@ -929,7 +919,7 @@ module G_graph = struct
Conll
.
file
=
None
;
Conll
.
meta
=
graph
.
meta
;
lines
;
multiwords
;
multiwords
=
[]
;
(* multiwords are handled by _UD_* features *)
}
let
to_conll_string
?
domain
graph
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment