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
4
Issues
4
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
fc128a26
Commit
fc128a26
authored
Jan 09, 2018
by
Bruno Guillaume
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix domain loading
parent
dced74c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/grew_grs.ml
src/grew_grs.ml
+7
-1
No files found.
src/grew_grs.ml
View file @
fc128a26
...
...
@@ -209,9 +209,15 @@ module Old_grs = struct
)
t
.
strategies
let
domain_build
ast_domain
=
let
conll_fields
=
match
ast_domain
.
Ast
.
conll_fields
with
|
Some
[
c2
;
c3
;
c4
;
c5
]
->
Some
(
c2
,
c3
,
c4
,
c5
)
|
Some
_
->
Error
.
build
"conll_fields declaration does not contains exactly 4 values"
|
_
->
None
in
Domain
.
build
(
Label_domain
.
build
ast_domain
.
Ast
.
label_domain
)
(
Feature_domain
.
build
ast_domain
.
Ast
.
feature_domain
)
(
Feature_domain
.
build
?
conll_fields
ast_domain
.
Ast
.
feature_domain
)
let
build
filename
=
let
ast
=
Loader
.
grs
filename
in
...
...
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