Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
0a3f5bb2
Commit
0a3f5bb2
authored
Apr 29, 2011
by
Adam Wardynski
Browse files
Options
Downloads
Patches
Plain Diff
Add Lexicons to ParsingScope.
parent
710ff253
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libwccl/parser/parsingscope.h
+12
-1
12 additions, 1 deletion
libwccl/parser/parsingscope.h
with
12 additions
and
1 deletion
libwccl/parser/parsingscope.h
+
12
−
1
View file @
0a3f5bb2
...
...
@@ -2,6 +2,7 @@
#define LIBWCCL_PARSER_PARSINGSCOPE_H
#include
<libwccl/variables.h>
#include
<libwccl/lexicon/lexicons.h>
namespace
Wccl
{
...
...
@@ -10,7 +11,8 @@ class ParsingScope
public:
ParsingScope
(
const
Corpus2
::
Tagset
&
tagset
)
:
tagset_
(
tagset
),
variables_
()
variables_
(),
lexicons_
(
new
Lexicons
())
{
}
...
...
@@ -22,9 +24,18 @@ public:
return
variables_
;
}
boost
::
shared_ptr
<
Lexicons
>
lexicons_ptr
()
{
return
lexicons_
;
}
Lexicons
&
lexicons
()
{
return
*
lexicons_
;
}
private
:
const
Corpus2
::
Tagset
&
tagset_
;
Variables
variables_
;
boost
::
shared_ptr
<
Lexicons
>
lexicons_
;
};
}
/* end ns Wccl */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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