usage: vcsn COMMAND [OPTIONS...] [ARGS...]
General Options:
-h, --help display this help message and exit successfully
-c, --commands display the supported commands and exit successfully
Available COMMANDs:
accessible add ambiguous-word are-equal are-equivalent
are-isomorphic cat cerny coaccessible codeterminize cominimize
compare complement complete component compose concatenate condense
configuration conjugate conjunction constant-term context-of copy
costandard cotrie de-bruijn delay-automaton derivation derived-term
determinize difference divkbaseb eliminate-state evaluate expand
expression-one expression-zero factor focus has-bounded-lag
has-lightening-cycle has-twins-property identities-of inductive
infiltrate insplit is-accessible is-ambiguous is-coaccessible
is-codeterministic is-complete is-costandard is-cycle-ambiguous
is-deterministic is-empty is-eps-acyclic is-functional is-letterized
is-normalized is-out-sorted is-partial-identity is-proper
is-realtime is-standard is-synchronized is-synchronized-by
is-synchronizing is-trim is-useless is-valid join ladybird ldivide
less-than letterize levenshtein lgcd lift lightest
lightest-automaton lweight minimize multiply name normalize
num-components num-tapes pair partial-identity prefix project proper
push-weights quotkbaseb random-automaton
random-automaton-deterministic random-expression random-weight
rdivide realtime reduce rweight scc shortest shuffle sort split
standard star star-height star-normal-form strip subword suffix
synchronize synchronizing-word thompson to-automaton to-expansion
to-expression transpose transposition trie trim tuple type u
universal weight-one weight-series weight-zero zpc
Input/Output:
-C CONTEXT the context to use
'lal, b', 'law, q', 'lan(abc), zmin', etc.
-A input is an automaton
-B input is a boolean
-D input is an identity
-F input is a float
-L input is a label (or a word)
-N input is a number
-P input is a polynomial
-S input is a string
-W input is a weight
-e STRING input is STRING
-f FILE input is FILE
-I FORMAT input format (daut, dot, efsm, fado, text)
-O FORMAT output format
(daut, dot, efsm, grail, info, list, null, text, tikz, utf8)
-o FILE save output into FILE
-q discard any output
Input/Output Formats (for Automata, Expressions, Labels, Polynomials, Weights):
daut A Simplified Dot syntax for Automata
dot A GraphViz's Dot language
efsm A Extended FSM format for OpenFST: use efstcompile
fado A FAdo's format
grail A Grail's format
info AE facts about the result (size, etc.)
latex ELPW display as a LaTeX formula
list P display one monomial per line
null AELPW no output at all (e.g., for benchmarks)
text ELPW usual concrete syntax in ASCII
tikz A LaTeX source for TikZ
utf8 ELPW usual concrete syntax in UTF-8
Examples:
$ vcsn thompson -Ee '[ab]*a[ab]{3}' |
vcsn proper |
vcsn determinize |
vcsn evaluate -L 'abba'
$ vcsn thompson -Ee '[ab]*a[ab]{3}' |
vcsn proper -f - |
vcsn determinize -f - |
vcsn evaluate -f - -L 'abba'
$ vcsn derived-term -C 'lat<lan, lan>, q' -Ee 'a*|b*' |
vcsn shortest 10