Python - IndexableString in Encoding

This commit is contained in:
Anthony MOI
2020-01-08 00:06:57 -05:00
parent fb250fd7fc
commit 88711d5717
4 changed files with 104 additions and 91 deletions

View File

@@ -2,7 +2,6 @@ mod decoders;
mod encoding;
mod error;
mod models;
mod normalized_string;
mod normalizers;
mod pre_tokenizers;
mod processors;
@@ -81,7 +80,6 @@ fn normalizers(_py: Python, m: &PyModule) -> PyResult<()> {
fn tokenizers(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_class::<tokenizer::Tokenizer>()?;
m.add_class::<encoding::Encoding>()?;
m.add_class::<normalized_string::NormalizedString>()?;
m.add_wrapped(wrap_pymodule!(models))?;
m.add_wrapped(wrap_pymodule!(pre_tokenizers))?;
m.add_wrapped(wrap_pymodule!(decoders))?;