Skip to content

tn_normalize_sentence does not exist in Rust #16

@hongbo-miao

Description

@hongbo-miao

Currently

use text_processing_rs::tn_normalize_sentence;

fn main() {
    let normalized_text = tn_normalize_sentence("I have twenty one apples.");
    println!("{normalized_text}");
}

gives error

error[E0432]: unresolved import `text_processing_rs::tn_normalize_sentence`
 --> src/main.rs:6:5
  |
6 | use text_processing_rs::tn_normalize_sentence;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `tn_normalize_sentence` in the root
  |
help: a similar name exists in the module
  |
6 - use text_processing_rs::tn_normalize_sentence;
6 + use text_processing_rs::normalize_sentence;
  |

normalize_sentence exists, however tn_normalize_sentence seems not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions