Skip to content

Commit dd6e99b

Browse files
committed
nit
1 parent 9d389bc commit dd6e99b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tokenizers/src/tokenizer/pre_tokenizer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub struct Split {
2020
/// The underlying `NormalizedString`. Each SubString is represented by a `NormalizedString`
2121
/// and in the end we might be carrying a lot of SubString representing various parts of the
2222
/// original input string.
23-
normalized: NormalizedString,
23+
pub normalized: NormalizedString,
2424
/// Optional Tokens associated to this Split
2525
tokens: Option<Vec<Token>>,
2626
}
@@ -52,7 +52,7 @@ impl From<(NormalizedString, Option<Vec<Token>>)> for Split {
5252
#[derive(Debug, Clone, PartialEq, Eq)]
5353
pub struct PreTokenizedString {
5454
pub original: String,
55-
splits: Vec<Split>,
55+
pub splits: Vec<Split>,
5656
}
5757

5858
impl PreTokenizedString {

0 commit comments

Comments
 (0)