Remove scrapingh & fix broken links

This commit is contained in:
Andras Schmelczer 2022-07-13 13:07:23 +02:00
parent 489b9d19e2
commit 7a71510cca
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
9 changed files with 31 additions and 146 deletions

View file

@ -190,7 +190,7 @@ class GreatAI(Generic[T, V]):
) -> List[Trace[V]]:
"""Map the wrapped function over a list of input_values (`batch`).
A wrapper over [parallel_map][great_ai.utilities.parallel_map]
A wrapper over [parallel_map][great_ai.utilities.parallel_map.parallel_map.parallel_map]
providing type-safety and a progressbar through tqdm.
Args:

View file

@ -66,7 +66,7 @@ def add_ground_truth(
train_split_ratio: The probability-weight of giving each trace the `train` tag.
test_split_ratio: The probability-weight of giving each trace the `test` tag.
validation_split_ratio: The probability-weight of giving each trace the
`validation` tag.
`validation` tag.
"""
inputs = list(inputs)

View file

@ -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.

View file

@ -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.

View file

@ -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.