Skip to content

Commit 6ab7fe6

Browse files
committed
Rename batch to list
1 parent 4f80fd1 commit 6ab7fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl Identifier {
136136
.collect()
137137
}
138138

139-
/// Parallelized version of `identify`, which takes a batch of strings
139+
/// Parallelized version of `identify`, which takes a list of strings
140140
/// and runs the identification in parallel.
141141
#[pyo3(name = "par_identify", signature = (texts, ignore_confidence=false))]
142142
fn py_par_identify(&mut self, texts: Vec<String>, ignore_confidence: bool) -> Vec<String> {
@@ -148,7 +148,7 @@ impl Identifier {
148148
preds_out
149149
}
150150

151-
/// Parallelized version of `identify_score`, which takes a batch of strings
151+
/// Parallelized version of `identify_score`, which takes a list of strings
152152
/// and runs the identification in parallel.
153153
#[pyo3(name = "par_identify_with_score", signature = (texts, ignore_confidence=false))]
154154
fn py_par_identify_with_score(

0 commit comments

Comments
 (0)