Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Aunsiels/pyformlang
/ functions
Functions
945 in github.com/Aunsiels/pyformlang
⨍
Functions
945
◇
Types & classes
98
Method
__iter__
(self)
pyformlang/pda/transition_function.py:73
Method
__iter__
(self)
pyformlang/finite_automaton/nondeterministic_transition_function.py:188
Method
__iter__
(self)
pyformlang/finite_automaton/transition_function.py:185
Method
__iter__
(self)
pyformlang/finite_automaton/doubly_linked_list.py:41
Method
__iter__
(self)
pyformlang/finite_automaton/finite_automaton.py:693
Method
__len__
(self)
pyformlang/finite_automaton/nondeterministic_transition_function.py:123
Method
__len__
(self)
pyformlang/finite_automaton/transition_function.py:182
Method
__len__
(self)
pyformlang/finite_automaton/doubly_linked_list.py:38
Method
__len__
Number of transitions
pyformlang/finite_automaton/finite_automaton.py:689
Method
__neg__
Get the complement of the current Epsilon NFA Returns ---------- enfa : :class:`~pyformlang.finite_automaton.EpsilonNFA`
pyformlang/finite_automaton/epsilon_nfa.py:553
Method
__next__
(self)
pyformlang/pda/transition_function.py:79
Method
__next__
(self)
pyformlang/finite_automaton/doubly_linked_list.py:45
Method
__or__
Makes the union of two CFGs Parameters ---------- other : :class:`~pyformlang.cfg.CFG` The other CFG to unite wi
pyformlang/cfg/cfg.py:565
Method
__or__
Makes the union with another regex. Parameters ---------- other : :class:`~pyformlang.regular_expression.Regex`
pyformlang/regular_expression/regex.py:366
Method
__or__
Makes the union of two fst Parameters ---------- other_fst : :class:`~pyformlang.fst.FST` The other FST
pyformlang/fst/fst.py:335
Method
__repr__
(self)
pyformlang/fcfg/feature_production.py:36
Method
__repr__
(self)
pyformlang/fcfg/feature_structure.py:233
Method
__repr__
(self)
pyformlang/indexed_grammar/consumption_rule.py:100
Method
__repr__
Gets the string representation of the rule
pyformlang/indexed_grammar/production_rule.py:102
Method
__repr__
Gets the string representation of the rule
pyformlang/indexed_grammar/end_rule.py:88
Method
__repr__
Gives a string representation of the rule, ignoring the sigmas
pyformlang/indexed_grammar/duplication_rule.py:94
Method
__repr__
(self)
pyformlang/cfg/parse_tree.py:16
Method
__repr__
(self)
pyformlang/cfg/terminal.py:12
Method
__repr__
(self)
pyformlang/cfg/variable.py:29
Method
__repr__
(self)
pyformlang/cfg/production.py:41
Method
__repr__
(self)
pyformlang/regular_expression/regex_objects.py:94
Method
__repr__
(self)
pyformlang/regular_expression/regex_objects.py:126
Method
__repr__
(self)
pyformlang/regular_expression/regex.py:327
Method
__repr__
(self)
pyformlang/pda/state.py:40
Method
__repr__
(self)
pyformlang/pda/stack_symbol.py:38
Method
__repr__
(self)
pyformlang/pda/symbol.py:36
Method
__repr__
(self)
pyformlang/finite_automaton/finite_automaton_object.py:21
Method
__str__
(self)
pyformlang/cfg/variable.py:26
Method
__sub__
Compute the difference with another Epsilon NFA Equivalent to: >> automaton0 - automaton1 Parameters ----------
pyformlang/finite_automaton/epsilon_nfa.py:683
Method
_read_line
(cls, line, productions, terminals, variables)
pyformlang/fcfg/fcfg.py:145
Method
append
Append a new node with the given value Parameters ---------- value : any The value if the new node
pyformlang/finite_automaton/doubly_linked_node.py:21
Method
body
Get the body objects
pyformlang/cfg/production.py:37
Method
boxes
The set of boxes
pyformlang/rsa/recursive_automaton.py:80
Method
consumption_rules
Gets the consumption rules Returns ---------- consumption_rules : dict of any to iterable of \ :class:`~pyformlan
pyformlang/indexed_grammar/rules.py:101
Method
content
Gets the content of the current node
pyformlang/fcfg/feature_structure.py:59
Method
copy
Copies the current DFA Returns ---------- enfa : :class:`~pyformlang.finite_automaton\ .DeterministicFiniteAutomato
pyformlang/finite_automaton/deterministic_finite_automaton.py:250
Method
delete
Delete the current node
pyformlang/finite_automaton/doubly_linked_node.py:17
Method
dfa
Box's dfa
pyformlang/rsa/box.py:61
Method
f_parameter
The f parameter Returns ---------- f : any The f parameter
pyformlang/indexed_grammar/reduced_rule.py:58
Method
f_parameter
(self)
pyformlang/indexed_grammar/production_rule.py:29
Method
f_parameter
(self)
pyformlang/indexed_grammar/end_rule.py:97
Method
f_parameter
(self)
pyformlang/indexed_grammar/duplication_rule.py:33
Method
features
The merged features of the production rules
pyformlang/fcfg/feature_production.py:32
Method
final_states
The final states
pyformlang/rsa/box.py:76
Method
final_states
The final states of the PDA Returns ------- final_states : iterable of :class:`~pyformlang.pda.State` The
pyformlang/pda/pda.py:158
Method
final_states
Get the final states of the FST Returns ---------- final_states : set of any The final states of the FST
pyformlang/fst/fst.py:70
Method
final_states
The final states
pyformlang/finite_automaton/finite_automaton.py:193
Method
from_string
Construct a regex from a string. For internal usage. Equivalent to the constructor of Regex. Parameters ----------
pyformlang/regular_expression/regex.py:496
Function
fst0
()
pyformlang/fst/tests/test_fst.py:14
Function
fst1
()
pyformlang/fst/tests/test_fst.py:23
Method
get_cfg_rules
Gets the rules for a context-free grammar to represent the \ operator
pyformlang/regular_expression/regex_objects.py:101
Method
get_cfg_rules
Gets the rules for a context-free grammar to represent the \ operator
pyformlang/regular_expression/regex_objects.py:119
Method
get_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:137
Method
get_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:153
Method
get_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:170
Method
get_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:195
Method
get_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:211
Method
get_number_transitions
Gets the number of transitions Returns ---------- n_transitions : int The number of transitions
pyformlang/pda/transition_function.py:19
Method
get_str_repr
Get the string representation
pyformlang/regular_expression/regex_objects.py:97
Method
get_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:116
Method
get_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:134
Method
get_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:150
Method
get_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:167
Method
get_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:192
Method
head
Get the head variable
pyformlang/cfg/production.py:32
Method
input_symbols
The input symbols of the PDA Returns ------- input_symbols : iterable of :class:`~pyformlang.pda.Symbol`
pyformlang/pda/pda.py:170
Method
input_symbols
Get the input symbols of the FST Returns ---------- input_symbols : set of any The input symbols of the FST
pyformlang/fst/fst.py:37
Method
is_deterministic
Checks whether an automaton is deterministic Returns ---------- is_deterministic : bool Whether the automaton is
pyformlang/finite_automaton/deterministic_finite_automaton.py:211
Method
is_deterministic
Whether the transition function is deterministic Returns ---------- is_deterministic : bool Whether the function
pyformlang/finite_automaton/nondeterministic_transition_function.py:150
Method
is_deterministic
Checks if the automaton is deterministic
pyformlang/finite_automaton/finite_automaton.py:682
Method
is_end_rule
Whether the rule is an end rule or not Returns ---------- is_end : bool Whether the rule is an end rule or not
pyformlang/indexed_grammar/reduced_rule.py:46
Method
is_equivalent_to
Check whether two automata are equivalent Parameters ---------- other : :class:`~pyformlang.deterministic_finite_automaton\
pyformlang/finite_automaton/deterministic_finite_automaton.py:398
Method
is_normal_form
Tells is the production is in Chomsky Normal Form Returns ------- is_normal_form : bool If the productio
pyformlang/cfg/production.py:52
Method
kleene_star
Makes the kleene star of the current regex. Returns ---------- regex : :class:`~pyformlang.regular_expression.Regex`
pyformlang/regular_expression/regex.py:472
Method
left_term
The left term Returns ---------- left_term : any The left term of the rule
pyformlang/indexed_grammar/reduced_rule.py:70
Method
left_term
Gets the symbol on the left of the rule left : any The left symbol of the rule
pyformlang/indexed_grammar/consumption_rule.py:74
Method
left_term
Gets the non-terminal on the left side of the rule Returns ---------- left_term : any The left term of this rule
pyformlang/indexed_grammar/production_rule.py:59
Method
left_term
Gets the non-terminal on the left of the rule Returns --------- left_term : any The left non-terminal of the rule
pyformlang/indexed_grammar/end_rule.py:56
Method
left_term
Gives the non-terminal on the left of the rule Returns --------- left_term : any The left term of the rule
pyformlang/indexed_grammar/duplication_rule.py:62
Method
length
Get the total number of rules Returns --------- number_rules : couple of int A couple with first the number of no
pyformlang/indexed_grammar/rules.py:89
Method
non_terminals
Gets the non-terminals used in the rule non_terminals : iterable of any The non_terminals used in the rule
pyformlang/indexed_grammar/consumption_rule.py:83
Method
non_terminals
Gets the non-terminals used in the rule Returns ---------- non_terminals : any The non terminals used in this rul
pyformlang/indexed_grammar/production_rule.py:81
Method
non_terminals
Gets the non-terminals used Returns ---------- non_terminals : iterable of any The non terminals used in this rul
pyformlang/indexed_grammar/end_rule.py:67
Method
non_terminals
Gives the set of non-terminals used in this rule Returns --------- non_terminals : iterable of any The non termin
pyformlang/indexed_grammar/duplication_rule.py:73
Method
non_terminals
Gets all the non-terminals used by all the rules Returns ---------- non_terminals : iterable of any The non termi
pyformlang/indexed_grammar/rules.py:131
Method
nonterminal
Box's nonterminal
pyformlang/rsa/box.py:66
Method
nonterminals
The set of nonterminals
pyformlang/rsa/recursive_automaton.py:74
Method
optim
Gets the optimization number Returns ---------- non_consumption_rules : int The optimization number
pyformlang/indexed_grammar/rules.py:66
Method
output_symbols
Get the output symbols of the FST Returns ---------- output_symbols : set of any The output symbols of the FST
pyformlang/fst/fst.py:48
Function
parser
()
pyformlang/cfg/tests/test_recursive_decent_parser.py:11
Method
pointer
Gets the pointer of the current node
pyformlang/fcfg/feature_structure.py:64
Method
production
The production Returns ---------- right_terms : any The production
pyformlang/indexed_grammar/reduced_rule.py:106
Method
production
(self)
pyformlang/indexed_grammar/consumption_rule.py:61
Method
production
Gets the terminal used in the production Returns ---------- production : any The production used in this rule
pyformlang/indexed_grammar/production_rule.py:48
Method
production
(self)
pyformlang/indexed_grammar/end_rule.py:23
← previous
next →
501–600 of 945, ranked by callers