Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Jun 19, 2024
1 parent 9d389bc commit dd6e99b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokenizers/src/tokenizer/pre_tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct Split {
/// The underlying `NormalizedString`. Each SubString is represented by a `NormalizedString`
/// and in the end we might be carrying a lot of SubString representing various parts of the
/// original input string.
normalized: NormalizedString,
pub normalized: NormalizedString,
/// Optional Tokens associated to this Split
tokens: Option<Vec<Token>>,
}
Expand Down Expand Up @@ -52,7 +52,7 @@ impl From<(NormalizedString, Option<Vec<Token>>)> for Split {
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct PreTokenizedString {
pub original: String,
splits: Vec<Split>,
pub splits: Vec<Split>,
}

impl PreTokenizedString {
Expand Down

0 comments on commit dd6e99b

Please sign in to comment.