This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
gst-plugins-rs
Watch
1
Star
1
Fork
You've already forked gst-plugins-rs
0
mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced
2024-11-22 19:41:00 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
169f7b762e
gst-plugins-rs
/
text
/
regex
/
build.rs
4 lines
52 B
Rust
Raw
Normal View
History
Unescape
Escape
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-18 23:45:34 +00:00
fn
main
(
)
{
fix-getters-calls 0.3.0 pass
2021-04-20 12:58:11 +00:00
gst_plugin_version_helper
::
info
(
)
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-18 23:45:34 +00:00
}
Reference in a new issue
Copy permalink