Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus2
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
corpus2
Commits
9bbb8f94
Commit
9bbb8f94
authored
13 years ago
by
ilor
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of nlp.pwr.wroc.pl:corpus2
parents
1a997c0a
c45bf7e4
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
poliqarp/pqclient.cpp
+3
-1
3 additions, 1 deletion
poliqarp/pqclient.cpp
swig/tagset.i
+5
-0
5 additions, 0 deletions
swig/tagset.i
with
8 additions
and
1 deletion
poliqarp/pqclient.cpp
+
3
−
1
View file @
9bbb8f94
...
@@ -147,7 +147,9 @@ Token* PoliqarpClient::get_token(size_t pos)
...
@@ -147,7 +147,9 @@ Token* PoliqarpClient::get_token(size_t pos)
poliqarp_get_interpretation
(
&
set
,
&
interp
,
i
);
poliqarp_get_interpretation
(
&
set
,
&
interp
,
i
);
poliqarp_get_interpretation_info
(
&
interp
,
&
iinfo
);
poliqarp_get_interpretation_info
(
&
interp
,
&
iinfo
);
Tag
tag
=
tagset_
.
parse_simple_tag
(
iinfo
.
tag
);
Tag
tag
=
tagset_
.
parse_simple_tag
(
iinfo
.
tag
);
res
->
add_lexeme
(
Lexeme
(
UnicodeString
::
fromUTF8
(
iinfo
.
base
),
tag
));
Lexeme
lex
=
Lexeme
(
UnicodeString
::
fromUTF8
(
iinfo
.
base
),
tag
);
lex
.
set_disamb
(
interp
.
disamb
);
res
->
add_lexeme
(
lex
);
}
}
return
res
.
release
();
return
res
.
release
();
}
}
...
...
This diff is collapsed.
Click to expand it.
swig/tagset.i
+
5
−
0
View file @
9bbb8f94
...
@@ -107,6 +107,11 @@ namespace Corpus2 {
...
@@ -107,6 +107,11 @@ namespace Corpus2 {
std::string id_string() const;
std::string id_string() const;
std::string id_string(const Tag& tag) const;
std::string id_string(const Tag& tag) const;
const std::string& get_value_name(int index) const;
const std::string& get_attribute_name(int index) const;
const std::string& get_pos_name(int index) const;
}
;
}
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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