Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
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
WCCL
Commits
a1b3d9e3
Commit
a1b3d9e3
authored
13 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
(swig) Added TagRule and TagRuleSequence to wccl library
parent
4da366b1
Branches
Branches containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
swig/libccltagrule.i
+2
-2
2 additions, 2 deletions
swig/libccltagrule.i
swig/libccltagrulesequence.i
+4
-4
4 additions, 4 deletions
swig/libccltagrulesequence.i
swig/wccl.i
+2
-2
2 additions, 2 deletions
swig/wccl.i
with
8 additions
and
8 deletions
swig/libccltagrule.i
+
2
−
2
View file @
a1b3d9e3
...
...
@@ -49,8 +49,8 @@ namespace Wccl {
TagRule clone_clean() const;
/* --------------------------------------------------------------------- */
boost::
shared_ptr<TagRule> clone_ptr() const;
boost::
shared_ptr<TagRule> clone_clean_ptr() const;
shared_ptr<TagRule> clone_ptr() const;
shared_ptr<TagRule> clone_clean_ptr() const;
/* --------------------------------------------------------------------- */
%rename(OperatorEqTagRule) *::operator=(const TagRule& other);
...
...
This diff is collapsed.
Click to expand it.
swig/libccltagrulesequence.i
+
4
−
4
View file @
a1b3d9e3
...
...
@@ -27,14 +27,14 @@ namespace Wccl {
/* --------------------------------------------------------------------- */
%rename(OpFunTagRuleSequence) operator()(
const
boost::
shared_ptr<Corpus2::Sentence>& sentence
const shared_ptr<Corpus2::Sentence>& sentence
);
Bool operator()(const
boost::
shared_ptr<Corpus2::Sentence>& sentence);
Bool operator()(const shared_ptr<Corpus2::Sentence>& sentence);
/* --------------------------------------------------------------------- */
Bool execute_once(const
boost::
shared_ptr<Corpus2::Sentence>& sentence);
int execute_until_done(const
boost::
shared_ptr<Corpus2::Sentence>& sentence, int max_iter = 1000);
Bool execute_once(const shared_ptr<Corpus2::Sentence>& sentence);
int execute_until_done(const shared_ptr<Corpus2::Sentence>& sentence, int max_iter = 1000);
std::string to_string(const Corpus2::Tagset& tagset) const;
};
...
...
This diff is collapsed.
Click to expand it.
swig/wccl.i
+
2
−
2
View file @
a1b3d9e3
...
...
@@ -22,8 +22,8 @@
%
include
"
libcclsentencecontext.i
"
%
include
"
libcclstrset.i
"
%
include
"
libccltagaction.i
"
//
%include "libccltagrule.i"
//
%include "libccltagrulesequence.i"
%
include
"
libccltagrule.i
"
%
include
"
libccltagrulesequence.i
"
%
include
"
libccltokenmatch.i
"
%
include
"
libccltset.i
"
%
include
"
libcclvalue.i
"
...
...
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