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
production
(self)
pyformlang/indexed_grammar/duplication_rule.py:25
Method
productions
Gives the productions Returns ---------- productions : set of :class:`~pyformlang.cfg.Production` The production
pyformlang/cfg/cfg.py:457
Method
remove_start_state
remove an initial state Parameters ----------- state : :class:`~pyformlang.finite_automaton.State` The new initi
pyformlang/finite_automaton/deterministic_finite_automaton.py:146
Method
right
Gets the symbole on the right of the rule right : any The right symbol
pyformlang/indexed_grammar/consumption_rule.py:65
Method
right_term
The unique right term Returns ---------- right_term : iterable of any The unique right term of the rule
pyformlang/indexed_grammar/reduced_rule.py:94
Method
right_term
(self)
pyformlang/indexed_grammar/consumption_rule.py:27
Method
right_term
Gets the non-terminal on the right side of the rule Returns ---------- right_term : any The right term used in th
pyformlang/indexed_grammar/production_rule.py:70
Method
right_term
Gets the terminal on the right of the rule Returns ---------- right_term : any The right terminal of the rule
pyformlang/indexed_grammar/end_rule.py:45
Method
right_term
(self)
pyformlang/indexed_grammar/duplication_rule.py:29
Method
right_terms
The right terms Returns ---------- right_terms : iterable of any The right terms of the rule
pyformlang/indexed_grammar/reduced_rule.py:82
Method
right_terms
(self)
pyformlang/indexed_grammar/consumption_rule.py:31
Method
right_terms
(self)
pyformlang/indexed_grammar/production_rule.py:25
Method
right_terms
(self)
pyformlang/indexed_grammar/end_rule.py:27
Method
right_terms
Gives the non-terminals on the right of the rule Returns --------- right_terms : iterable of any The right terms
pyformlang/indexed_grammar/duplication_rule.py:51
Method
rules
Gets the non consumption rules Returns ---------- non_consumption_rules : iterable of \ :class:`~pyformlang.indexed_
pyformlang/indexed_grammar/rules.py:77
Method
stack_symbols
The stack symbols of the PDA Returns ------- stack_symbols : iterable of :class:`~pyformlang.pda.StackSymbol`
pyformlang/pda/pda.py:182
Method
start_box
The start box
pyformlang/rsa/recursive_automaton.py:92
Method
start_nonterminal
The start nonterminal
pyformlang/rsa/recursive_automaton.py:86
Method
start_state
Get start state
pyformlang/pda/pda.py:142
Method
start_state
The start state
pyformlang/finite_automaton/deterministic_finite_automaton.py:432
Method
start_states
The start states
pyformlang/rsa/box.py:71
Method
start_states
Get the start states of the FST Returns ---------- start_states : set of any The start states of the FST
pyformlang/fst/fst.py:59
Method
start_states
The start states
pyformlang/finite_automaton/finite_automaton.py:371
Method
start_symbol
Gives the start symbol Returns ---------- start_variable : :class:`~pyformlang.cfg.Variable` The start symbol of
pyformlang/cfg/cfg.py:468
Method
states
Get the states fo the PDA Returns ------- states : iterable of :class:`~pyformlang.pda.State` The states
pyformlang/pda/pda.py:147
Method
states
Get the states of the FST Returns ---------- states : set of any The states
pyformlang/fst/fst.py:26
Method
states
Gives the states Returns ---------- states : set of :class:`~pyformlang.finite_automaton.State` The states
pyformlang/finite_automaton/finite_automaton.py:157
Method
symbols
The symbols
pyformlang/finite_automaton/finite_automaton.py:188
Method
terminals
Gets the terminals used in the rule terminals : set of any The terminals used in the rule
pyformlang/indexed_grammar/consumption_rule.py:92
Method
terminals
Gets the terminals used in the rule Returns ---------- terminals : any The terminals used in this rule
pyformlang/indexed_grammar/production_rule.py:92
Method
terminals
Get all the terminals in the grammar Returns ---------- terminals : iterable of any The terminals used in the rul
pyformlang/indexed_grammar/indexed_grammar.py:50
Method
terminals
Gets the terminals used Returns ---------- terminals : set of any The terminals used in this rule
pyformlang/indexed_grammar/end_rule.py:78
Method
terminals
Gets the terminals used in the rule Returns ---------- terminals : set of any The terminals used in this rule
pyformlang/indexed_grammar/duplication_rule.py:84
Method
terminals
Gets all the terminals used by all the rules Returns ---------- terminals : iterable of any The terminals used in
pyformlang/indexed_grammar/rules.py:114
Method
terminals
Gives the terminals Returns ---------- terminals : set of :class:`~pyformlang.cfg.Terminal` The terminals of the
pyformlang/cfg/cfg.py:446
Method
test_accept
Test the acceptance
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:42
Method
test_accepts
(self)
pyformlang/regular_expression/tests/test_regex.py:170
Method
test_accepts
Tests the acceptance of nfa
pyformlang/finite_automaton/tests/test_nondeterministic_finite_automaton.py:46
Method
test_accepts
Tests the acceptance of dfa
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:76
Method
test_add_remove_start_final
Tests the addition and removal of initial state and final states
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:59
Method
test_add_transition
Tests the addition of transitions
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:46
Method
test_add_transitions
Tests the addition of transitions
pyformlang/finite_automaton/tests/test_nondeterministic_transition_function.py:18
Method
test_add_transitions
Tests the addition of transitions
pyformlang/finite_automaton/tests/test_transition_function.py:20
Method
test_after_union
(self)
pyformlang/regular_expression/tests/test_regex.py:228
Method
test_backslash
(self)
pyformlang/regular_expression/tests/test_regex.py:292
Method
test_backslash
(self)
pyformlang/regular_expression/tests/test_python_regex.py:204
Method
test_backslash2
(self)
pyformlang/regular_expression/tests/test_python_regex.py:248
Method
test_backslash_b
(self)
pyformlang/regular_expression/tests/test_regex.py:287
Method
test_backspace
(self)
pyformlang/regular_expression/tests/test_python_regex.py:262
Method
test_big_minimize
(self)
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:147
Method
test_big_minimize_reduce
(self)
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:159
Method
test_brackets
(self)
pyformlang/regular_expression/tests/test_python_regex.py:211
Method
test_brackets_backslash_middle
(self)
pyformlang/regular_expression/tests/test_python_regex.py:238
Method
test_brackets_end_range_escaped
(self)
pyformlang/regular_expression/tests/test_python_regex.py:231
Method
test_brackets_escape
(self)
pyformlang/regular_expression/tests/test_python_regex.py:218
Method
test_call
(self)
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:585
Method
test_call
Tests the call of a transition function
pyformlang/finite_automaton/tests/test_nondeterministic_transition_function.py:78
Method
test_call
Tests the call of a transition function
pyformlang/finite_automaton/tests/test_transition_function.py:75
Method
test_can_create
Tests the creation of symbols
pyformlang/finite_automaton/tests/test_symbol.py:11
Method
test_can_create
Test the creation of dfa
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:19
Method
test_can_create
Tests the creation of states
pyformlang/finite_automaton/tests/test_state.py:11
Method
test_change_starting_variable
(self)
pyformlang/cfg/tests/test_cfg.py:813
Method
test_closure
Tests the closure of a cfg
pyformlang/cfg/tests/test_cfg.py:289
Method
test_cnf
Tests the conversion to CNF form
pyformlang/cfg/tests/test_cfg.py:190
Method
test_complement
Tests the complement operation
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:287
Method
test_complement
Tests the complement operation
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:128
Method
test_concatenate
Tests the concatenation
pyformlang/fst/tests/test_fst.py:143
Method
test_concatenate
Tests the concatenation of two epsilon NFA
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:258
Method
test_concatenate2
Tests the concatenation
pyformlang/fst/tests/test_fst.py:153
Method
test_concatenation
Tests the concatenation of two cfg
pyformlang/cfg/tests/test_cfg.py:268
Method
test_concatenation_variable_names
(self)
pyformlang/cfg/tests/test_cfg.py:283
Method
test_consumption_rules
Tests the consumption rules
pyformlang/indexed_grammar/tests/test_rules.py:18
Method
test_contains
Test containment
pyformlang/fcfg/tests/test_fcfg.py:16
Method
test_contains2
Test containment
pyformlang/fcfg/tests/test_fcfg.py:159
Method
test_conversions
Tests multiple conversions
pyformlang/cfg/tests/test_cfg.py:431
Method
test_copy
Test to subsume
pyformlang/fcfg/tests/test_feature_structure.py:161
Method
test_copy
Tests the copy of enda
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:46
Method
test_copy
Test the copy of a DFA
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:117
Method
test_creation
Test of creation
pyformlang/fcfg/tests/test_feature_structure.py:15
Method
test_creation
Test the creation of an RSA
pyformlang/rsa/tests/test_rsa.py:11
Method
test_creation
(self)
pyformlang/cfg/tests/test_terminal.py:9
Method
test_creation
(self)
pyformlang/cfg/tests/test_production.py:10
Method
test_creation
Tests creatin of CFG
pyformlang/cfg/tests/test_cfg.py:19
Method
test_creation
(self, parser)
pyformlang/cfg/tests/test_recursive_decent_parser.py:23
Method
test_creation
(self)
pyformlang/cfg/tests/test_variable.py:9
Method
test_creation
Try to create regex
pyformlang/regular_expression/tests/test_regex.py:14
Method
test_creation
Test of creation
pyformlang/pda/tests/test_pda.py:14
Method
test_creation
Test Translate
pyformlang/fst/tests/test_fst.py:33
Method
test_creation
Test the creation of nfa
pyformlang/finite_automaton/tests/test_nondeterministic_finite_automaton.py:20
Method
test_creation
Tests the creation of nondeterministic transition functions
pyformlang/finite_automaton/tests/test_nondeterministic_transition_function.py:12
Method
test_creation
Tests the creation of transition functions
pyformlang/finite_automaton/tests/test_transition_function.py:13
Method
test_cyclic
(self)
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:473
Method
test_cyclic
(self)
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:256
Method
test_cyclic_word_generation
(self)
pyformlang/finite_automaton/tests/test_nondeterministic_finite_automaton.py:136
Method
test_cyclic_word_generation
(self)
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:635
Method
test_cyclic_word_generation
(self)
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:291
Method
test_derivation_does_not_exist
(self)
pyformlang/cfg/tests/test_cfg.py:741
Method
test_derivation_empty
(self)
pyformlang/cfg/tests/test_cfg.py:750
Method
test_deterministic
Tests the deterministic transformation
pyformlang/finite_automaton/tests/test_nondeterministic_finite_automaton.py:94
Method
test_deterministic
Tests the transformation to a dfa
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:73
← previous
next →
601–700 of 945, ranked by callers