We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port tests from Ruby to Python.
d_tests = [{'original' => '# گيله پسمير الجديد 34', 'diacritized' => 'يَلِهُ سُمِيْرٌ الجَدِيدُ', 'reconciled' => '# گيَلِهُ پسُمِيْرٌ الجَدِيدُ 34' }, {'original' => 'abc', 'diacritized' => '', 'reconciled' => 'abc'}, {'original' => '‘Iz. Ibrāhīm as-Sa‘danī', 'diacritized' => '', 'reconciled' => '‘Iz. Ibrāhīm as-Sa‘danī'}, {'original' => '26 سبتمبر العقبة', 'diacritized' => 'سَبْتَمْبَرِ العَقَبَة', 'reconciled' => '26 سَبْتَمْبَرِ العَقَبَة'}] d_tests.each {|d| \ if not d['reconciled']==reconcile_strings(d['original'], d['diacritized']) raise Exception.new('reconcile string not matched') end } or: for s in '# گيله پسمير الجديد 34' 'abc' '‘Iz. Ibrāhīm as-Sa‘danī' '26 سبتمبر العقبة' do; ruby rababa.rb -t $s -m '../models-data/diacritization_model.onnx' done ``
The text was updated successfully, but these errors were encountered:
We should copy/paste the tests from Ruby here.
Sorry, something went wrong.
No branches or pull requests
Port tests from Ruby to Python.
The text was updated successfully, but these errors were encountered: