⚗️ Try to skip detecting language to fix online bugs
This commit is contained in:
parent
8cd154f0de
commit
27994733dd
@ -1,11 +1,14 @@
|
||||
package services
|
||||
|
||||
import (
|
||||
"github.com/pemistahl/lingua-go"
|
||||
"strings"
|
||||
|
||||
"github.com/pemistahl/lingua-go"
|
||||
)
|
||||
|
||||
func DetectLanguage(content string) string {
|
||||
return "unknown"
|
||||
|
||||
detector := lingua.NewLanguageDetectorBuilder().
|
||||
FromLanguages(lingua.AllLanguages()...).
|
||||
Build()
|
||||
|
Loading…
Reference in New Issue
Block a user