diff --git a/libwccl/CMakeLists.txt b/libwccl/CMakeLists.txt index 3d13e4c98f652304073483e6f166209a351872a4..7c77e0a346869b6b5e5d462582f78d203473939a 100644 --- a/libwccl/CMakeLists.txt +++ b/libwccl/CMakeLists.txt @@ -4,7 +4,7 @@ PROJECT(wccl) include_directories( ${CMAKE_CURRENT_BINARY_DIR}/include/ ) -find_package(Corpus2 1.0.11 REQUIRED) +find_package(Corpus2 1.0.12 REQUIRED) set(LIBS ${LIBS} ${Corpus2_LIBRARIES}) find_package(PwrUtils 1.0.1 REQUIRED) diff --git a/libwccl/ops/functions/tset/getwordclass.h b/libwccl/ops/functions/tset/getwordclass.h index 522b2d39e806439d2ac37d5c3a96abe3ffefdabd..a350562488346c01914643183dd7da1a92153e88 100644 --- a/libwccl/ops/functions/tset/getwordclass.h +++ b/libwccl/ops/functions/tset/getwordclass.h @@ -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) { } diff --git a/libwccl/parser/grammar.g b/libwccl/parser/grammar.g index 5eac8ae9d29225382c8f4255d0a44995caf3425c..5d6e6db82796dda93b800cee6efa802d3f04d0ff 100644 --- a/libwccl/parser/grammar.g +++ b/libwccl/parser/grammar.g @@ -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));