mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-06-10 01:19:27 +00:00
fix doc-string
This commit is contained in:
parent
e8187e7e20
commit
9563e38aac
|
@ -133,8 +133,6 @@ class Detector(BaseDetector):
|
|||
|
||||
def detect(self, text: str) -> "list[Language]":
|
||||
"""Decide which language is used to write the text.
|
||||
The method tries first to detect the language with high reliability. If
|
||||
that is not possible, the method switches to the best effort strategy.
|
||||
Args:
|
||||
text (string): A snippet of text, the longer it is the more reliable we
|
||||
can detect the language used to write the text.
|
||||
|
|
Loading…
Reference in a new issue