MontrealCorpusTools / Montreal-Forced-Aligner

Command line utility for forced alignment using Kaldi
https://montrealcorpustools.github.io/Montreal-Forced-Aligner/
MIT License
1.26k stars 242 forks source link

How to use the dictionary only #776

Open Yonnie1331 opened 3 months ago

Yonnie1331 commented 3 months ago

Hello! I've installed mfa through conda by conda create -n aligner -c conda-forge montreal-forced-aligner and have download a dictionary by mfa model download dictionary

I wonder if there's a way to simply check how the dictionary will process a sentence into? Maybe a command like mfa.tokenize('sentence', dict='dict_name')