Remove scrapingh & fix broken links
This commit is contained in:
parent
489b9d19e2
commit
7a71510cca
9 changed files with 31 additions and 146 deletions
|
|
@ -34,7 +34,7 @@ def get_sentences(
|
|||
Args:
|
||||
text: Text to be segmented into sentences.
|
||||
ignore_partial: Filter out sentences that are not capitalised/don't end with a
|
||||
punctuation.
|
||||
punctuation.
|
||||
true_case: Crude method: lowercase the first word of each sentence.
|
||||
remove_punctuation: Remove all kinds of punctuation.
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ def english_name_of_language(language_code: Optional[str]) -> str:
|
|||
|
||||
Args:
|
||||
language_code: Language code, for example, returned by
|
||||
[great_ai.utilities.predict_language][].
|
||||
[great_ai.utilities.language.predict_language.predict_language][].
|
||||
|
||||
Returns:
|
||||
English name of language.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ def is_english(language_code: Optional[str]) -> bool:
|
|||
|
||||
Args:
|
||||
language_code: Language code, for example, returned by
|
||||
`[great_ai.utilities.predict_language][].
|
||||
`[great_ai.utilities.language.predict_language.predict_language][].
|
||||
|
||||
Returns:
|
||||
Boolean indicating whether it's English.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue