gst-plugins-rs/ci
Mathieu Duponchelle 77bf0c945e text: new element for text processing: regex
The element expects an array of "commands", as GstStructures,
in the form:

operation, pattern=<pattern>, ...

The only operation implemented for now is replace-all, eg:

replace-all, pattern=foo, replacement=bar

Other operations can be implemented if useful in the future,
eg. "match" could post a message to the bus when the pattern
is encountered.

The main use case for this is automatic speech recognition,
as implemented by eg awstranscribe as users may want to replace
swear words with tamer language.

Commands are applied in order.

The interface is usable through the CLI with the usual escaping
strategies, though trying to pass in actual regular expressions
through it is a bit tricky, as this introduces yet another
level of escaping.
2021-02-19 15:58:14 +01:00
..
check-plugins-installed.py ci: factor out iterate_plugins() 2021-01-04 12:26:45 +01:00
env.sh ci: use fdo template 2020-04-27 12:19:08 +02:00
generate-static-test.py ci: test linking on all static plugins 2021-01-04 12:26:45 +01:00
install-dav1d.sh ci: Update to dav1d 0.8.0 2020-12-31 17:28:04 +02:00
install-rust-ext.sh ci: install cargo-c to proper location 2021-01-04 16:04:52 +01:00
utils.py text: new element for text processing: regex 2021-02-19 15:58:14 +01:00