Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
99 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
from django.core.management.base import BaseCommand | ||
|
||
|
||
from 臺灣言語服務.Kaldi介面 import 無辨識過的重訓練一擺 | ||
from 臺灣言語服務.Kaldi語料辨識 import Kaldi語料辨識 | ||
|
||
|
||
class Command(BaseCommand): | ||
help = '無辨識過的音檔重訓練一擺' | ||
|
||
def handle(self, *args, **參數): | ||
無辨識過的重訓練一擺() | ||
def handle(self, *_args, **_參數): | ||
for Kaldi辨識 in Kaldi語料辨識.objects.filter(辨識好猶未=False): | ||
Kaldi辨識.辨識() |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters