MCPcopy Create free account

hub / github.com/Aunsiels/pyformlang / functions

Functions945 in github.com/Aunsiels/pyformlang

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
Methodappend
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
Methodbody
Get the body objects
pyformlang/cfg/production.py:37
Methodboxes
The set of boxes
pyformlang/rsa/recursive_automaton.py:80
Methodconsumption_rules
Gets the consumption rules Returns ---------- consumption_rules : dict of any to iterable of \ :class:`~pyformlan
pyformlang/indexed_grammar/rules.py:101
Methodcontent
Gets the content of the current node
pyformlang/fcfg/feature_structure.py:59
Methodcopy
Copies the current DFA Returns ---------- enfa : :class:`~pyformlang.finite_automaton\ .DeterministicFiniteAutomato
pyformlang/finite_automaton/deterministic_finite_automaton.py:250
Methoddelete
Delete the current node
pyformlang/finite_automaton/doubly_linked_node.py:17
Methoddfa
Box's dfa
pyformlang/rsa/box.py:61
Methodf_parameter
The f parameter Returns ---------- f : any The f parameter
pyformlang/indexed_grammar/reduced_rule.py:58
Methodf_parameter
(self)
pyformlang/indexed_grammar/production_rule.py:29
Methodf_parameter
(self)
pyformlang/indexed_grammar/end_rule.py:97
Methodf_parameter
(self)
pyformlang/indexed_grammar/duplication_rule.py:33
Methodfeatures
The merged features of the production rules
pyformlang/fcfg/feature_production.py:32
Methodfinal_states
The final states
pyformlang/rsa/box.py:76
Methodfinal_states
The final states of the PDA Returns ------- final_states : iterable of :class:`~pyformlang.pda.State` The
pyformlang/pda/pda.py:158
Methodfinal_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
Methodfinal_states
The final states
pyformlang/finite_automaton/finite_automaton.py:193
Methodfrom_string
Construct a regex from a string. For internal usage. Equivalent to the constructor of Regex. Parameters ----------
pyformlang/regular_expression/regex.py:496
Functionfst0
()
pyformlang/fst/tests/test_fst.py:14
Functionfst1
()
pyformlang/fst/tests/test_fst.py:23
Methodget_cfg_rules
Gets the rules for a context-free grammar to represent the \ operator
pyformlang/regular_expression/regex_objects.py:101
Methodget_cfg_rules
Gets the rules for a context-free grammar to represent the \ operator
pyformlang/regular_expression/regex_objects.py:119
Methodget_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:137
Methodget_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:153
Methodget_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:170
Methodget_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:195
Methodget_cfg_rules
(self, current_symbol, sons)
pyformlang/regular_expression/regex_objects.py:211
Methodget_number_transitions
Gets the number of transitions Returns ---------- n_transitions : int The number of transitions
pyformlang/pda/transition_function.py:19
Methodget_str_repr
Get the string representation
pyformlang/regular_expression/regex_objects.py:97
Methodget_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:116
Methodget_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:134
Methodget_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:150
Methodget_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:167
Methodget_str_repr
(self, sons_repr)
pyformlang/regular_expression/regex_objects.py:192
Methodhead
Get the head variable
pyformlang/cfg/production.py:32
Methodinput_symbols
The input symbols of the PDA Returns ------- input_symbols : iterable of :class:`~pyformlang.pda.Symbol`
pyformlang/pda/pda.py:170
Methodinput_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
Methodis_deterministic
Checks whether an automaton is deterministic Returns ---------- is_deterministic : bool Whether the automaton is
pyformlang/finite_automaton/deterministic_finite_automaton.py:211
Methodis_deterministic
Whether the transition function is deterministic Returns ---------- is_deterministic : bool Whether the function
pyformlang/finite_automaton/nondeterministic_transition_function.py:150
Methodis_deterministic
Checks if the automaton is deterministic
pyformlang/finite_automaton/finite_automaton.py:682
Methodis_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
Methodis_equivalent_to
Check whether two automata are equivalent Parameters ---------- other : :class:`~pyformlang.deterministic_finite_automaton\
pyformlang/finite_automaton/deterministic_finite_automaton.py:398
Methodis_normal_form
Tells is the production is in Chomsky Normal Form Returns ------- is_normal_form : bool If the productio
pyformlang/cfg/production.py:52
Methodkleene_star
Makes the kleene star of the current regex. Returns ---------- regex : :class:`~pyformlang.regular_expression.Regex`
pyformlang/regular_expression/regex.py:472
Methodleft_term
The left term Returns ---------- left_term : any The left term of the rule
pyformlang/indexed_grammar/reduced_rule.py:70
Methodleft_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
Methodleft_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
Methodleft_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
Methodleft_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
Methodlength
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
Methodnon_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
Methodnon_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
Methodnon_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
Methodnon_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
Methodnon_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
Methodnonterminal
Box's nonterminal
pyformlang/rsa/box.py:66
Methodnonterminals
The set of nonterminals
pyformlang/rsa/recursive_automaton.py:74
Methodoptim
Gets the optimization number Returns ---------- non_consumption_rules : int The optimization number
pyformlang/indexed_grammar/rules.py:66
Methodoutput_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
Functionparser
()
pyformlang/cfg/tests/test_recursive_decent_parser.py:11
Methodpointer
Gets the pointer of the current node
pyformlang/fcfg/feature_structure.py:64
Methodproduction
The production Returns ---------- right_terms : any The production
pyformlang/indexed_grammar/reduced_rule.py:106
Methodproduction
(self)
pyformlang/indexed_grammar/consumption_rule.py:61
Methodproduction
Gets the terminal used in the production Returns ---------- production : any The production used in this rule
pyformlang/indexed_grammar/production_rule.py:48
Methodproduction
(self)
pyformlang/indexed_grammar/end_rule.py:23
← previousnext →501–600 of 945, ranked by callers