Skip to main content

Tool of speech recognition.

Project description

rapid_paraformer

PyPI SemVer2.0

Use

  1. Install
    1. Install the rapid_paraformer
      pip install rapid_paraformer
      
    2. Download the resources.zip (Google Drive | Baidu NetDisk)
      resources
      ├── [ 700]  config.yaml
      └── [4.0K]  models
          ├── [ 11K]  am.mvn
          ├── [824M]  asr_paraformerv2.onnx
          └── [ 50K]  token_list.pkl
      
  2. Use
    from rapid_paraformer import RapidParaformer
    
    config_path = "resources/config.yaml"
    
    paraformer = RapidParaformer(config_path)
    
    wav_path = [
        "test_wavs/0478_00017.wav",
        "test_wavs/asr_example_zh.wav",
    ]
    
    result = paraformer(wav_path)
    print(result)
    

See details for RapidASR.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rapid_paraformer-2.0.4-py3-none-any.whl (20.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page