@@ -69,7 +69,7 @@ Split texts into sentences.
69
69
70
70
Args:
71
71
text (Union[str, List[str], Tuple[str]]): single text or list/tuple of texts
72
- backend (str): morpheme analyzer backend. 'mecab', 'pecab', 'punct' are supported
72
+ backend (str): morpheme analyzer backend. 'mecab', 'pecab', 'punct', 'fast' are supported
73
73
num_workers (Union[int, str]): the number of multiprocessing workers
74
74
strip (bool): strip all sentences or not
75
75
return_morphemes (bool): whether to return morphemes or not
@@ -1306,7 +1306,7 @@ This splits texts into sentences.
1306
1306
1307
1307
Args:
1308
1308
- text (` Union[str, List[str], Tuple[str]] ` ): single text or list/tuple of texts
1309
- - backend (` str ` ): morpheme analyzer backend. 'mecab', 'pecab', 'punct' are supported
1309
+ - backend (` str ` ): morpheme analyzer backend. 'mecab', 'pecab', 'punct', 'fast' are supported
1310
1310
- num_workers (` Union[int, str] ` ): the number of multiprocessing workers
1311
1311
- strip (` bool ` ): strip all sentences or not
1312
1312
- return_morphemes (` bool ` ): whether to return morphemes or not
@@ -1332,7 +1332,7 @@ This corrects the spacing of the text.
1332
1332
1333
1333
Args:
1334
1334
- text (` Union[str, List[str], Tuple[str]] ` ): single text or list/tuple of texts
1335
- - backend (` str ` ): morpheme analyzer backend. 'mecab', 'pecab', 'punct' are supported
1335
+ - backend (` str ` ): morpheme analyzer backend. 'mecab', 'pecab' are supported
1336
1336
- num_workers (` Union[int, str] ` ): the number of multiprocessing workers
1337
1337
- reset_whitespaces (` bool ` ): reset whitespaces or not
1338
1338
- return_morphemes (` bool ` ): whether to return morphemes or not
@@ -1359,7 +1359,7 @@ This summarizes the given text, using TextRank algorithm.
1359
1359
1360
1360
Args:
1361
1361
- text (` Union[str, List[str], Tuple[str]] ` ): single text or list/tuple of texts
1362
- - backend (` str ` ): morpheme analyzer backend. 'mecab', 'pecab' are supported.
1362
+ - backend (` str ` ): morpheme analyzer backend. 'mecab', 'pecab', 'punct', 'fast' are supported.
1363
1363
- num_workers (` Union[int, str] ` ): the number of multiprocessing workers
1364
1364
- max_sentences (` int ` ): the max number of sentences in a summarization result.
1365
1365
- tolerance (` float ` ): a threshold for omitting edge weights.
0 commit comments