Skip to content

Commit

Permalink
change Armenian word for test
Browse files Browse the repository at this point in the history
  • Loading branch information
NarHakobyan committed Feb 17, 2025
1 parent 5f50203 commit 98a479c
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions charabia/src/normalizer/lowercase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ mod test {
..Default::default()
},
Token {
lemma: Owned("ֆիզիկոսը".to_string()),
lemma: Owned("ՀայասՏան".to_string()),
char_end: 8,
byte_end: 16,
script: Script::Armenian,
Expand Down Expand Up @@ -83,10 +83,20 @@ mod test {
..Default::default()
},
Token {
lemma: Owned("ֆիզիկոսը".to_string()),
lemma: Owned("հայաստան".to_string()),
char_end: 8,
byte_end: 16,
script: Script::Armenian,
char_map: Some(vec![
(2, 2),
(2, 2),
(2, 2),
(2, 2),
(2, 2),
(2, 2),
(2, 2),
(2, 2),
]),
..Default::default()
},
]
Expand Down Expand Up @@ -115,11 +125,21 @@ mod test {
..Default::default()
},
Token {
lemma: Owned("ֆիզիկոսը".to_string()),
lemma: Owned("հայաստան".to_string()),
char_end: 8,
byte_end: 16,
script: Script::Armenian,
kind: TokenKind::Word,
char_map: Some(vec![
(2, 2),
(2, 2),
(2, 2),
(2, 2),
(2, 2),
(2, 2),
(2, 2),
(2, 2),
]),
..Default::default()
},
]
Expand Down

0 comments on commit 98a479c

Please sign in to comment.