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
MinerU
Commits
1dc7d603
"tools/imglab/vscode:/vscode.git/clone" did not exist on "a92b875f95b370567383979365ee45d048b2005e"
Commit
1dc7d603
authored
Jun 15, 2025
by
myhloli
Browse files
fix: add handling for copyright symbol in regex replacements
parent
61c1bb92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
mineru/model/mfr/unimernet/unimernet_hf/modeling_unimernet.py
...ru/model/mfr/unimernet/unimernet_hf/modeling_unimernet.py
+1
-0
No files found.
mineru/model/mfr/unimernet/unimernet_hf/modeling_unimernet.py
View file @
1dc7d603
...
...
@@ -349,6 +349,7 @@ REPLACEMENTS_PATTERNS = {
re
.
compile
(
r
'\\vline = '
):
r
'\\models '
,
re
.
compile
(
r
'\\vDash '
):
r
'\\models '
,
re
.
compile
(
r
'\\sq \\sqcup '
):
r
'\\square '
,
re
.
compile
(
r
'\\copyright'
):
r
'©'
,
}
QQUAD_PATTERN
=
re
.
compile
(
r
'\\qquad(?!\s)'
)
...
...
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