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
1bd30b0e
Commit
1bd30b0e
authored
13 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
(swig) Updated wrapper for Wccl::AnnotationMatch
parent
b3fc3f07
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swig/libcclannotationmatch.i
+6
-6
6 additions, 6 deletions
swig/libcclannotationmatch.i
with
6 additions
and
6 deletions
swig/libcclannotationmatch.i
+
6
−
6
View file @
1bd30b0e
...
...
@@ -6,32 +6,32 @@
#include <libwccl/values/annotationmatch.h>
%}
%
include
"
std_string.i
"
%
include
"
libcclposition.i
"
%
include
"
libcclmatchdata.i
"
%
include
"
libcorpus/libcorpusannotatedsentence.i
"
%
include
"
std_string.i
"
%
nodefaultctor
Wccl
::
AnnotationMatch
;
namespace
Wccl
{
class AnnotationMatch : public MatchData {
public:
explicit AnnotationMatch(Position position, const std::string channel);
explicit AnnotationMatch(int pos, const std::string channel);
/* --------------------------------------------------------------------- */
bool empty() const;
/* --------------------------------------------------------------------- */
Position
first_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
Position
last_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
int
first_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
int
last_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
/* --------------------------------------------------------------------- */
std::string to_raw_string() const;
};
}
using
namespace
st
d
;
using
namespace
boo
st
;
using
namespace
Wccl
;
using
namespace
std
;
#
endif
/* SWIG_LIBWCCL_ANNOTATIONMATCH_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