Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
f81db68e
Commit
f81db68e
authored
May 10, 2022
by
jon-tow
Browse files
Fix undeclared identifier error
parent
8d5b116c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/clean_training_data/janitor_util.cpp
scripts/clean_training_data/janitor_util.cpp
+1
-1
No files found.
scripts/clean_training_data/janitor_util.cpp
View file @
f81db68e
...
@@ -176,7 +176,7 @@ clean_ngram_with_indices(std::string const &input, std::string const &ignore,
...
@@ -176,7 +176,7 @@ clean_ngram_with_indices(std::string const &input, std::string const &ignore,
}
}
// Skip ignored characters
// Skip ignored characters
}
else
if
(
ignore
.
find
(
*
iter
)
!=
std
::
string
::
npos
)
{
}
else
if
(
ignore
.
find
(
ch
)
!=
std
::
string
::
npos
)
{
continue
;
continue
;
// If it is a non-ignored character, add it to the ngram and update the
// If it is a non-ignored character, add it to the ngram and update the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment