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
3ca644f8
Commit
3ca644f8
authored
14 years ago
by
ilor
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of nlp.pwr.wroc.pl:wccl
parents
15b4f0d6
a870dcf0
Branches
Branches containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libwccl/ops/functions/strset/getlemmas.h
+1
-1
1 addition, 1 deletion
libwccl/ops/functions/strset/getlemmas.h
libwccl/ops/functions/tset/getsymbols.h
+4
-1
4 additions, 1 deletion
libwccl/ops/functions/tset/getsymbols.h
libwccl/parser/Parser.cpp
+1
-1
1 addition, 1 deletion
libwccl/parser/Parser.cpp
with
6 additions
and
3 deletions
libwccl/ops/functions/strset/getlemmas.h
+
1
−
1
View file @
3ca644f8
...
...
@@ -31,7 +31,7 @@ public:
/**
* @returns String representation of the function in the form of:
* "base(pos_expr_string)"
* "base(pos_expr_
raw_
string)"
* @note This version does not require tagset, but may be inclomplete
* and/or contain internal info.
*/
...
...
This diff is collapsed.
Click to expand it.
libwccl/ops/functions/tset/getsymbols.h
+
4
−
1
View file @
3ca644f8
...
...
@@ -7,6 +7,9 @@
namespace
Wccl
{
/**
* Operator that gets tagset symbols from a token at given position.
*/
class
GetSymbols
:
public
Function
<
TSet
>
{
public:
typedef
boost
::
shared_ptr
<
Function
<
Position
>
>
PosFunctionPtr
;
...
...
@@ -25,7 +28,7 @@ public:
/**
* @returns String representation of the function in the form of:
* "attribute_name[pos_expr_string]"
* "
raw_
attribute_name[pos_expr_
raw_
string]"
* @note This version does not require tagset, but will be inclomplete
* and/or contain internal info.
*/
...
...
This diff is collapsed.
Click to expand it.
libwccl/parser/Parser.cpp
+
1
−
1
View file @
3ca644f8
...
...
@@ -176,7 +176,7 @@ boost::shared_ptr<ANTLRParserResultBase> Parser::parseAnyOperator(
ANTLRLexer
lexer
(
ss
);
ANTLRParser
parser
(
lexer
);
try
{
result
=
parser
.
parse_
position
_operator
(
tagset_
);
result
=
parser
.
parse_
symset
_operator
(
tagset_
);
}
catch
(
antlr
::
ANTLRException
&
e
)
{
errors
<<
"(as tset) "
<<
e
.
getMessage
()
<<
"
\n
"
;
// ignore, try another type
...
...
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