bumped version and added language_code support to READMEs
This commit is contained in:
@@ -24,11 +24,12 @@ formats.
|
|||||||
|
|
||||||
$ tpro --help
|
$ tpro --help
|
||||||
|
|
||||||
Usage: tpro [OPTIONS] JSON_PATH_OR_DATA [amazon|gentle|speechmatics|google]
|
Usage: tpro [OPTIONS] TRANSCRIPT_DATA_PATH OUTPUT_PATH
|
||||||
[universal_transcript|viral_overlay]
|
[amazon|gentle|speechmatics|google] [universal|vo]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-s, --save TEXT save to file
|
-p, --print-output pretty print the transcript, breaks pipeability
|
||||||
|
--language-code TEXT specify language, defaults to en-US.
|
||||||
--help Show this message and exit.
|
--help Show this message and exit.
|
||||||
|
|
||||||
# STT Services
|
# STT Services
|
||||||
@@ -50,7 +51,7 @@ formats.
|
|||||||
|
|
||||||
## Planned
|
## Planned
|
||||||
|
|
||||||
|
- Draft.js JSON
|
||||||
- Word (`.doc`, `.docx`)
|
- Word (`.doc`, `.docx`)
|
||||||
- text files
|
- text files
|
||||||
- SRT (subtitles)
|
- SRT (subtitles)
|
||||||
- Draft.js JSON
|
|
||||||
|
|||||||
@@ -22,18 +22,19 @@ formats.
|
|||||||
|
|
||||||
$ tpro --help
|
$ tpro --help
|
||||||
|
|
||||||
Usage: tpro [OPTIONS] JSON_PATH_OR_DATA [amazon|gentle|speechmatics|google]
|
Usage: tpro [OPTIONS] TRANSCRIPT_DATA_PATH OUTPUT_PATH
|
||||||
[universal_transcript|viral_overlay]
|
[amazon|gentle|speechmatics|google] [universal|vo]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-s, --save TEXT save to file
|
-p, --print-output pretty print the transcript, breaks pipeability
|
||||||
|
--language-code TEXT specify language, defaults to en-US.
|
||||||
--help Show this message and exit.
|
--help Show this message and exit.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
$ tpro '{
|
$ cat transcript.json
|
||||||
|
|
||||||
"job": {
|
{ "job": {
|
||||||
"lang": "en",
|
"lang": "en",
|
||||||
"user_id": 2152310,
|
"user_id": 2152310,
|
||||||
"name": "recording.mp4",
|
"name": "recording.mp4",
|
||||||
@@ -64,7 +65,9 @@ formats.
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
}' speechmatics universal_transcript
|
}
|
||||||
|
|
||||||
|
$ tpro transcript.json converted_transcript.json speechmatics universal_transcript
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -87,7 +90,7 @@ formats.
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
$
|
☝☝☝ There\'s your transcript, which was saved to converted_transcript.json.
|
||||||
|
|
||||||
# STT Services
|
# STT Services
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user