diff --git a/instant-segment-py/src/lib.rs b/instant-segment-py/src/lib.rs
index 4a00b39..50f431c 100644
--- a/instant-segment-py/src/lib.rs
+++ b/instant-segment-py/src/lib.rs
@@ -95,11 +95,11 @@ impl Segmenter {
///
/// Returns the relative probability for the given sentence in the the corpus represented by
/// this `Segmenter`. Will return `None` iff given an empty iterator argument.
- fn sentence_score(&self, words: &PyIterator) -> PyResult