Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DAN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Automatic Text Recognition
DAN
Merge requests
!274
Something went wrong on our end
Add Language Model Decoder
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add Language Model Decoder
lm-decoder
into
main
Overview
37
Commits
34
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
Solene Tarride
requested to merge
lm-decoder
into
main
1 year ago
Overview
37
Commits
34
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
Closes
#142 (closed)
Taking over from
!222 (closed)
0
0
Merge request reports
Viewing commit
a8639307
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a8639307
Update tests for data extraction
· a8639307
Solene Tarride
authored
1 year ago
dan/datasets/extract/extract.py
+
1
−
1
Options
@@ -242,7 +242,7 @@ class ArkindexExtractor:
"""
return
"
"
.
join
(
[
self
.
mapping
.
encode
[
token
]
if
token
in
self
.
mapping
else
token
self
.
mapping
.
encode
[
token
]
if
token
in
self
.
mapping
.
encode
else
token
for
token
in
list
(
text
.
strip
())
]
)
Loading