Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cor-asv-fst
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ocr-d
cor-asv-fst
Commits
1d20a16b
Commit
1d20a16b
authored
6 years ago
by
Maciej Sumalvico
Browse files
Options
Downloads
Patches
Plain Diff
minor: changed the hard-coded lexicon filename
parent
997196f6
Branches
master
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
process_test_data.py
+1
-1
1 addition, 1 deletion
process_test_data.py
with
1 addition
and
1 deletion
process_test_data.py
+
1
−
1
View file @
1d20a16b
...
...
@@ -41,7 +41,7 @@ def prepare_model(punctuation_method, **kwargs):
transducers
=
{
# 'flag_encoder' : result['flag_encoder'],
'
lexicon
'
:
helper
.
load_transducer
(
'
fst/lexicon
_transducer_dta
.hfst
'
)
'
lexicon
'
:
helper
.
load_transducer
(
'
fst/lexicon.hfst
'
)
}
if
punctuation_method
==
'
bracket
'
:
transducers
[
'
error
'
]
=
helper
.
load_transducer
(
...
...
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