Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
maca
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
maca
Commits
c899b9ca
Commit
c899b9ca
authored
Jan 3, 2022
by
Wiktor Walentynowicz
Browse files
Options
Downloads
Plain Diff
Merge branch 'colons-in-lemmas' into 'master'
Colons in lemmas See merge request
!12
parents
4769efeb
3ea56557
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!12
Colons in lemmas
Pipeline
#4216
passed
Jan 3, 2022
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libmaca/morph/morfeusz2analyser.cpp
+13
-1
13 additions, 1 deletion
libmaca/morph/morfeusz2analyser.cpp
with
13 additions
and
1 deletion
libmaca/morph/morfeusz2analyser.cpp
+
13
−
1
View file @
c899b9ca
...
...
@@ -238,8 +238,20 @@ Corpus2::Token* Morfeusz2Analyser::make_token(const Toki::Token& t,
void
Morfeusz2Analyser
::
morfeusz_into_token
(
Corpus2
::
Token
*
tt
,
const
details
::
Morfeusz2Edge
&
m
)
const
{
tt
->
set_orth
(
m
.
orth
);
UnicodeString
lemma
=
m
.
lemma
;
if
(
m
.
tag_string
!=
"interp"
)
{
UnicodeString
colon
(
":"
);
int
index_of_colon
=
lemma
.
indexOf
(
colon
);
if
(
index_of_colon
>
-
1
)
{
lemma
.
remove
(
index_of_colon
,
lemma
.
length
()
-
1
);
}
}
if
(
!
m
.
tag_string
.
empty
())
{
conv_
->
tagset_from
().
lexemes_into_token
(
*
tt
,
m
.
lemma
,
conv_
->
tagset_from
().
lexemes_into_token
(
*
tt
,
lemma
,
m
.
tag_string
);
}
else
{
Corpus2
::
Lexeme
ign_lex
(
m
.
orth
,
ign_tag_
);
...
...
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