Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
grew
python
Commits
3cb8db13
Commit
3cb8db13
authored
4 years ago
by
Bruno Guillaume
Browse files
Options
Downloads
Patches
Plain Diff
complete test
parent
302942d5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/search_corpus.py
+1
-1
1 addition, 1 deletion
test/search_corpus.py
test/set_gender.py
+1
-1
1 addition, 1 deletion
test/set_gender.py
with
2 additions
and
2 deletions
test/search_corpus.py
+
1
−
1
View file @
3cb8db13
...
...
@@ -3,7 +3,7 @@
import
grew
# Run the grew tool in background
grew
.
init
(
)
grew
.
init
(
True
)
# local usage --> run grewpy_dev
# Load the corpus file (of course, you will have to update the filename to your system)
c
=
grew
.
corpus
(
"
/users/guillaum/gitlab/deep-sequoia/trunk/sequoia.deep_and_surf.conll
"
)
...
...
This diff is collapsed.
Click to expand it.
test/set_gender.py
+
1
−
1
View file @
3cb8db13
import
grew
grew
.
init
(
True
)
grew
.
init
(
True
)
# local usage --> run grewpy_dev
g
=
grew
.
graph
(
'''
graph {
W1 [form=
"
le
"
, lemma=
"
le
"
, cat=DET];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment