Transkript: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Regex) |
(→Regex) |
||
Zeile 4: | Zeile 4: | ||
=== Word to Wiki convert === | === Word to Wiki convert === | ||
==== Regex ==== | ==== Regex ==== | ||
'''Find:'''<br><nowiki> | |||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
0</nowiki><br><nowiki> | 0</nowiki><br><nowiki> | ||
'''Replace:''' | </nowiki>'''Replace:'''<br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
|-</nowiki><br><nowiki> | |-</nowiki><br><nowiki> | ||
| 0</nowiki><br><nowiki> | | 0</nowiki><br><nowiki> | ||
'''Find:''' | </nowiki>'''Find:'''<br><nowiki> | ||
Speaker</nowiki><br><nowiki> | Speaker</nowiki><br><nowiki> | ||
'''Replace:''' | </nowiki>'''Replace:'''<br><nowiki> | ||
||</nowiki><br><nowiki> | ||</nowiki><br><nowiki> | ||
'''Find:''' | </nowiki>'''Find:'''<br><nowiki> | ||
Transcript </nowiki><br><nowiki> | Transcript </nowiki><br><nowiki> | ||
'''Replace:''' | </nowiki>'''Replace:'''<br><nowiki> | ||
{| class="wikitable"</nowiki><br><nowiki> | {| class="wikitable"</nowiki><br><nowiki> | ||
|+ Transcript</nowiki><br><nowiki> | |+ Transcript</nowiki><br><nowiki> | ||
|-</nowiki><br><nowiki> | |-</nowiki><br><nowiki> | ||
! Timestamp !! Speaker !! Text</nowiki><br><nowiki> | ! Timestamp !! Speaker !! Text</nowiki><br><nowiki> | ||
'''Find:''' | </nowiki>'''Find:'''<br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
'''Replace:''' | </nowiki>'''Replace:'''<br><nowiki> | ||
||</nowiki><br><nowiki> | ||</nowiki><br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
'''Find:''' | </nowiki>'''Find:'''<br><nowiki> | ||
||</nowiki><br><nowiki> | ||</nowiki><br><nowiki> | ||
|-</nowiki><br><nowiki> | |-</nowiki><br><nowiki> | ||
'''Replace:''' | </nowiki>'''Replace:'''<br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
|-</nowiki><br><nowiki> | |-</nowiki><br><nowiki> | ||
'''Find:''' | </nowiki>'''Find:'''<br><nowiki> | ||
||</nowiki><br><nowiki> | ||</nowiki><br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
'''Replace:''' | </nowiki>'''Replace:'''<br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
|}</nowiki><br><nowiki> | |}</nowiki><br><nowiki> | ||
'''Find(enable regex):''' | </nowiki>'''Find(enable regex):'''<br><nowiki> | ||
(?<=\d\d) \|\|\n</nowiki><br><nowiki> | (?<=\d\d) \|\|\n</nowiki><br><nowiki> | ||
'''Replace:''' | </nowiki>'''Replace:'''<br><nowiki> | ||
|| ||</nowiki><br><nowiki> | || ||</nowiki><br><nowiki> | ||
</nowiki><br><nowiki> | </nowiki><br><nowiki> | ||
'''Find(enable regex):''' | </nowiki>'''Find(enable regex):'''<br><nowiki> | ||
^Audio file \|\|$</nowiki><br><nowiki> | ^Audio file \|\|$</nowiki><br><nowiki> | ||
.+</nowiki><br><nowiki> | .+</nowiki><br><nowiki> | ||
\|\}\|\|</nowiki><br><nowiki> | \|\}\|\|</nowiki><br><nowiki> | ||
\{\|</nowiki><br><nowiki> | \{\|</nowiki><br><nowiki> | ||
'''Replace:''' | </nowiki>'''Replace:'''<br><nowiki> | ||
{|</nowiki><br> | {|</nowiki><br><nowiki> | ||
<nowiki>#Done.</nowiki> | #Done.</nowiki> | ||
== Quellen == | == Quellen == |
Version vom 14. November 2022, 16:07 Uhr
Auto-Transcript
Word
300 minuten / Monat max.
Word to Wiki convert
Regex
Find:
0
Replace:
|-
| 0
Find:
Speaker
Replace:
||
Find:
Transcript
Replace:
{| class="wikitable"
|+ Transcript
|-
! Timestamp !! Speaker !! Text
Find:
Replace:
||
Find:
||
|-
Replace:
|-
Find:
||
Replace:
|}
Find(enable regex):
(?<=\d\d) \|\|\n
Replace:
|| ||
Find(enable regex):
^Audio file \|\|$
.+
\|\}\|\|
\{\|
Replace:
{|
#Done.
Quellen
- stackoverflow: better way to automate mouse&keyboard using pyautogui[1]
- Tool: pywinauto
- Sleep vs tight-loop: https://stackoverflow.com/questions/34361728/windows-desktop-gui-automation-using-python-sleep-vs-tight-loop
- Word-Alternativen
- AssemblyAI https://www.youtube.com/watch?v=rTWM5WuPhlQ
- pydub, ffmpeg and SpeechRecognition https://pythonbasics.org/transcribe-audio/
- ↑ stackoverflow: better way to automate mouse&keyboard using pyautogui https://stackoverflow.com/questions/42412157/better-way-to-automate-mousekeyboard-using-pyautogui