Promote WhisperToken to its own module

This commit is contained in:
Niko 2025-09-29 12:40:24 -07:00
parent 65ec4d34ec
commit 37cc545ddd
No known key found for this signature in database
3 changed files with 166 additions and 151 deletions

View file

@ -5,9 +5,11 @@ use crate::{FullParams, WhisperError, WhisperInnerContext, WhisperTokenId};
mod iterator;
mod segment;
mod token;
pub use iterator::WhisperStateSegmentIterator;
pub use segment::{WhisperSegment, WhisperToken};
pub use segment::WhisperSegment;
pub use token::WhisperToken;
/// Rustified pointer to a Whisper state.
#[derive(Debug)]