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
51680974
Commit
51680974
authored
13 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Patches
Plain Diff
use corpus2::Tag::all_pos_mask instead of low-level routines
parent
b1472aff
Branches
Branches containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libwccl/CMakeLists.txt
+1
-1
1 addition, 1 deletion
libwccl/CMakeLists.txt
libwccl/ops/functions/tset/getwordclass.h
+1
-1
1 addition, 1 deletion
libwccl/ops/functions/tset/getwordclass.h
libwccl/parser/grammar.g
+1
-1
1 addition, 1 deletion
libwccl/parser/grammar.g
with
3 additions
and
3 deletions
libwccl/CMakeLists.txt
+
1
−
1
View file @
51680974
...
...
@@ -4,7 +4,7 @@ PROJECT(wccl)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
/include/
)
find_package
(
Corpus2 1.0.1
1
REQUIRED
)
find_package
(
Corpus2 1.0.1
2
REQUIRED
)
set
(
LIBS
${
LIBS
}
${
Corpus2_LIBRARIES
}
)
find_package
(
PwrUtils 1.0.1 REQUIRED
)
...
...
This diff is collapsed.
Click to expand it.
libwccl/ops/functions/tset/getwordclass.h
+
1
−
1
View file @
51680974
...
...
@@ -14,7 +14,7 @@ public:
typedef
boost
::
shared_ptr
<
Function
<
Position
>
>
PosFunctionPtr
;
GetWordClass
(
const
PosFunctionPtr
&
pos_expr
)
:
GetSymbols
(
Corpus2
::
Tag
(
Corpus2
::
filled
_mask
)
,
pos_expr
)
:
GetSymbols
(
Corpus2
::
Tag
::
all_pos
_mask
,
pos_expr
)
{
}
...
...
This diff is collapsed.
Click to expand it.
libwccl/parser/grammar.g
+
1
−
1
View file @
51680974
...
...
@@ -859,7 +859,7 @@ symset_range
p2 = position_operator [scope]
RPAREN {
if (tag_class) {
ret.reset(new GetSymbolsInRange(Corpus2::Tag
(Corpus2::filled
_mask
)
, p1, p2));
ret.reset(new GetSymbolsInRange(Corpus2::Tag
::all_pos
_mask, p1, p2));
}
else {
ret.reset(new GetSymbolsInRange(tset->get_value(), p1, p2));
...
...
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