Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
keyboard
LatinIME
Merge requests
!6
Add autocorrect threshold to model-metadata branch
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add autocorrect threshold to model-metadata branch
lm-2-finetuning-whisperggml
into
model-metadata
Overview
0
Commits
10
Pipelines
0
Changes
13
Merged
Aleksandras Kostarevas
requested to merge
lm-2-finetuning-whisperggml
into
model-metadata
1 year ago
Overview
0
Commits
10
Pipelines
0
Changes
13
Expand
0
0
Merge request reports
Compare
model-metadata
model-metadata (base)
and
latest version
latest version
d797622b
10 commits,
1 year ago
13 files
+
299
−
26
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
Search (e.g. *.vue) (Ctrl+P)
common/src/org/futo/inputmethod/latin/common/StringUtils.java
+
4
−
0
Options
@@ -448,6 +448,10 @@ public final class StringUtils {
int
codePoint
=
0
;
while
(
i
>
0
)
{
codePoint
=
Character
.
codePointBefore
(
text
,
i
);
if
(
Constants
.
CODE_COMMERCIAL_AT
==
codePoint
)
{
// If it's an email address, it's essentially a URL, we don't want to correct those
return
true
;
}
if
(
codePoint
<
Constants
.
CODE_PERIOD
||
codePoint
>
'z'
)
{
// Handwavy heuristic to see if that's a URL character. Anything between period
// and z. This includes all lower- and upper-case ascii letters, period,
Loading