it may be the case that len(prefix)>n_window if just one segment exists in the current window
example fixed:
segmenter.segment_long("so you were thinking about drinking six drinks on your birthday is that still an accurate number yeah about that i'd say", n_window=4)
it may be the case that len(prefix)>n_window if just one segment exists in the current window example fixed: segmenter.segment_long("so you were thinking about drinking six drinks on your birthday is that still an accurate number yeah about that i'd say", n_window=4)