Remove scrapingh & fix broken links
This commit is contained in:
parent
489b9d19e2
commit
7a71510cca
9 changed files with 31 additions and 146 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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