Commits

spirit  committed 7f78516

Misused “i.e.”

  • Participants
  • Parent commits 0cd2c31

Comments (0)

Files changed (1)

File guess_language/__init__.py

 
 
 def guess_language(text: str):
-    """Return the language code, i.e. 'en'.
+    """Return the ISO 639-1 language code.
     """
     words = WORD_RE.findall(text[:MAX_LENGTH].replace("’", "'"))
     return identify(words, find_runs(words))
 
 
 def guess_language_info(text: str):
-    """Return LanguageInfo(tag, id, name), i.e. ('en', 26110, 'English').
+    """Return LanguageInfo(tag, id, name).
     """
     tag = guess_language(text)
 
 
 
 def guess_language_id(text: str):
-    """Return the language ID, i.e. 26110.
+    """Return the language ID.
     """
     return _get_id(guess_language(text))
 
 
 def guess_language_name(text: str):
-    """Return the language name, i.e. 'English'.
+    """Return the language name (in English).
     """
     return _get_name(guess_language(text))