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
wangsen
paddle_dbnet
Commits
df050788
"PyTorch/git@developer.sourcefind.cn:dcuai/dlexamples.git" did not exist on "c0f05c1073d62a459de430e506bdd36b99f238b5"
Commit
df050788
authored
Jul 08, 2020
by
tink2123
Browse files
sync to python35
parent
f8a3c3f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/utils/character.py
ppocr/utils/character.py
+1
-1
No files found.
ppocr/utils/character.py
View file @
df050788
...
...
@@ -98,7 +98,7 @@ class CharacterOps(object):
if
is_remove_duplicate
:
if
idx
>
0
and
text_index
[
idx
-
1
]
==
text_index
[
idx
]:
continue
char_list
.
append
(
self
.
character
[
text_index
[
idx
]])
char_list
.
append
(
self
.
character
[
int
(
text_index
[
idx
]
)
])
text
=
''
.
join
(
char_list
)
return
text
...
...
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