MCPcopy Create free account

hub / github.com/Aunsiels/pyformlang / types & classes

Types & classes98 in github.com/Aunsiels/pyformlang

↓ 274 callersClassTerminal
A terminal in a CFG
pyformlang/cfg/terminal.py:6
↓ 239 callersClassVariable
An variable in a CFG Parameters ----------- value : any The value of the variable
pyformlang/cfg/variable.py:7
↓ 179 callersClassSymbol
A symbol in a finite automaton Parameters ---------- value : any The value of the symbol Examples ---------- >>> fr
pyformlang/finite_automaton/symbol.py:9
↓ 169 callersClassProduction
A production or rule of a CFG Parameters ---------- head : :class:`~pyformlang.cfg.Variable` The head of the production body
pyformlang/cfg/production.py:10
↓ 155 callersClassState
A state in a finite automaton Parameters ---------- value : any The value of the state Examples ---------- >>> from
pyformlang/finite_automaton/state.py:9
↓ 119 callersClassFeatureStructure
The feature structure containing constraints Parameters ---------- value : Any, optional The value of the feature, if defined
pyformlang/fcfg/feature_structure.py:17
↓ 86 callersClassRegex
Represents a regular expression. Pyformlang implements the operators of textbooks, which deviate slightly \ from the operators in Pytho
pyformlang/regular_expression/regex.py:16
↓ 59 callersClassConsumptionRule
Contains a representation of a consumption rule, i.e. a rule of the \ form: C[ r sigma] -> B[sigma] Parameters ----------
pyformlang/indexed_grammar/consumption_rule.py:11
↓ 57 callersClassCFG
A class representing a context free grammar Parameters ---------- variables : set of :class:`~pyformlang.cfg.Variable`, optional
pyformlang/cfg/cfg.py:41
↓ 47 callersClassDuplicationRule
Represents a duplication rule, i.e. a rule of the form: A[sigma] -> B[sigma] C[sigma] Parameters ---------- left_term : any
pyformlang/indexed_grammar/duplication_rule.py:10
↓ 46 callersClassEpsilon
An epsilon terminal
pyformlang/cfg/epsilon.py:6
↓ 44 callersClassEndRule
Represents an end rule, i.e. a rule of the form: A[sigma] -> a Parameters ----------- left : any The non-terminal on the
pyformlang/indexed_grammar/end_rule.py:10
↓ 41 callersClassEpsilon
An epsilon transition Examples -------- >>> epsilon = Epsilon()
pyformlang/finite_automaton/epsilon.py:8
↓ 37 callersClassProductionRule
Represents a production rule, i.e. a rule of the form: A[sigma] -> B[r sigma] Parameters ---------- left : any The non-te
pyformlang/indexed_grammar/production_rule.py:10
↓ 34 callersClassPythonRegex
Represents a regular expression as used in Python. It adds the following features to the basic regex: * Set of characters with [] * Inv
pyformlang/regular_expression/python_regex.py:58
↓ 33 callersClassEpsilonNFA
Represents an epsilon NFA Parameters ---------- states : set of :class:`~pyformlang.finite_automaton.State`, optional A finite
pyformlang/finite_automaton/epsilon_nfa.py:20
↓ 27 callersClassDeterministicFiniteAutomaton
Represents a deterministic finite automaton This class represents a deterministic finite automaton. Parameters ---------- states :
pyformlang/finite_automaton/deterministic_finite_automaton.py:51
↓ 25 callersClassEpsilon
An epsilon symbol
pyformlang/pda/epsilon.py:6
↓ 24 callersClassIndexedGrammar
Describes an indexed grammar. Parameters ---------- rules : :class:`~pyformlang.indexed_grammar.Rules` The rules of the grammar,
pyformlang/indexed_grammar/indexed_grammar.py:14
↓ 24 callersClassRules
Store a set of rules and manipulate them Parameters ---------- rules : iterable of :class:`~pyformlang.indexed_grammar.ReducedRule`
pyformlang/indexed_grammar/rules.py:13
↓ 24 callersClassStackSymbol
A StackSymbol in a pushdown automaton Parameters ---------- value : any The value of the state
pyformlang/pda/stack_symbol.py:4
↓ 24 callersClassSymbol
A Symbol in a pushdown automaton Parameters ---------- value : any The value of the state
pyformlang/pda/symbol.py:4
↓ 23 callersClassState
A State in a pushdown automaton Parameters ---------- value : any The value of the state
pyformlang/pda/state.py:4
↓ 21 callersClassPDA
Representation of a pushdown automaton Parameters ---------- states : set of :class:`~pyformlang.pda.State`, optional A finite s
pyformlang/pda/pda.py:35
↓ 19 callersClassFeatureProduction
A feature production or rule of a FCFG Parameters ---------- head : :class:`~pyformlang.cfg.Variable` The head of the production
pyformlang/fcfg/feature_production.py:9
↓ 14 callersClassFST
Representation of a Finite State Transducer
pyformlang/fst/fst.py:12
↓ 13 callersClassLLOneParser
A LL(1) parser Parameters ---------- cfg : :class:`~pyformlang.cfg.CFG` A context-free Grammar
pyformlang/cfg/llone_parser.py:12
↓ 12 callersClassNondeterministicFiniteAutomaton
Represents a nondeterministic finite automaton This class represents a nondeterministic finite automaton, where epsilon \ transition are for
pyformlang/finite_automaton/nondeterministic_finite_automaton.py:14
↓ 9 callersClassParseTree
A parse tree
pyformlang/cfg/parse_tree.py:9
↓ 9 callersClassTransitionFunction
A transition function in a finite automaton. This is a deterministic transition function. Attributes ---------- _transitions : dict
pyformlang/finite_automaton/transition_function.py:18
↓ 7 callersClassBox
Represents a box for recursive automaton This class represents a box for recursive automaton Parameters ---------- enfa : :class:`~
pyformlang/rsa/box.py:11
↓ 7 callersClassNondeterministicTransitionFunction
A nondeterministic transition function in a finite automaton. The difference with a deterministic transition is that the return value is a s
pyformlang/finite_automaton/nondeterministic_transition_function.py:11
↓ 6 callersClassState
For internal usage
pyformlang/fcfg/state.py:10
↓ 4 callersClassCYKNode
A node in the CYK table
pyformlang/cfg/cyk_table.py:112
↓ 4 callersClassMisformedRegexError
Error for misformed regex
pyformlang/regular_expression/regex_objects.py:215
↓ 4 callersClassRecursiveAutomaton
Represents a recursive automaton This class represents a recursive automaton. Parameters ---------- start_box : :class:`~pyformlang
pyformlang/rsa/recursive_automaton.py:15
↓ 2 callersClassCYKTable
A CYK table Parameters ---------- cfg : A context-free grammar word : iterable of Terminals The word from which we const
pyformlang/cfg/cyk_table.py:8
↓ 2 callersClassConcatenation
Represents a concatenation
pyformlang/regular_expression/regex_objects.py:130
↓ 2 callersClassDoublyLinkedNode
Represents doubly linked list of nodes from a doubly linked list
pyformlang/finite_automaton/doubly_linked_node.py:4
↓ 2 callersClassFCFG
A class representing a feature context-free grammar Parameters ---------- variables : set of :class:`~pyformlang.cfg.Variable`, optional
pyformlang/fcfg/fcfg.py:14
↓ 2 callersClassFSTStateRemaining
Class for remaining the states in FST
pyformlang/fst/fst.py:550
↓ 2 callersClassPDAObjectCreator
Creates Objects for a PDA
pyformlang/cfg/pda_object_creator.py:7
↓ 2 callersClassPDAObjectCreator
A Object in a PDA
pyformlang/pda/utils.py:9
↓ 2 callersClassParsingException
When there is a problem during parsing.
pyformlang/fcfg/feature_structure.py:281
↓ 2 callersClassRecursiveDecentParser
A recursive Top-Down parser Parameters ---------- cfg : :class:`~pyformlang.cfg.CFG` A context-free Gram
pyformlang/cfg/recursive_decent_parser.py:21
↓ 2 callersClassSetQueue
A queue with non duplicate elements
pyformlang/cfg/set_queue.py:4
↓ 2 callersClassStateProcessed
For internal usage
pyformlang/fcfg/state.py:40
↓ 2 callersClassSymbol
Represents a symbol Parameters ---------- value : str The value of the symbol
pyformlang/regular_expression/regex_objects.py:107
↓ 2 callersClassTransitionFunction
A transition function in a pushdown automaton
pyformlang/pda/transition_function.py:10
↓ 1 callersClassCFGVariableConverter
A CFG Variable Converter
pyformlang/pda/cfg_variable_converter.py:6
↓ 1 callersClassContentAlreadyExistsException
Exception raised when we want to add a content that already exists
pyformlang/fcfg/feature_structure.py:5
↓ 1 callersClassDoublyLinkedList
A doubly linked list
pyformlang/finite_automaton/doubly_linked_list.py:6
↓ 1 callersClassDuplicateTransitionError
Signals a duplicated transition Parameters ---------- s_from : :class:`~pyformlang.finite_automaton.State` The source state
pyformlang/finite_automaton/transition_function.py:209
↓ 1 callersClassEmpty
Represents an empty symbol
pyformlang/regular_expression/regex_objects.py:204
↓ 1 callersClassEpsilon
Represents an epsilon symbol
pyformlang/regular_expression/regex_objects.py:188
↓ 1 callersClassFeatureStructuresNotCompatibleException
Raised when trying to unify uncompatible structures
pyformlang/fcfg/feature_structure.py:13
↓ 1 callersClassHopcroftProcessingList
A representation for Hopcroft minimization algorithm For internal usage
pyformlang/finite_automaton/hopcroft_processing_list.py:8
↓ 1 callersClassInvalidEpsilonTransition
Exception raised when an epsilon transition is created in deterministic automaton
pyformlang/finite_automaton/transition_function.py:13
↓ 1 callersClassKleeneStar
Represents an epsilon symbol
pyformlang/regular_expression/regex_objects.py:163
↓ 1 callersClassNotParsableException
When the grammar cannot be parsed (parser not powerful enough)
pyformlang/cfg/cfg.py:30
↓ 1 callersClassPartition
Class to manage partitions used in Hopcroft minimization algorithm
pyformlang/finite_automaton/partition.py:8
↓ 1 callersClassPathDoesNotExistsException
Raised when looking for a path that does not exist
pyformlang/fcfg/feature_structure.py:9
↓ 1 callersClassPreviousTransitions
For internal usage
pyformlang/finite_automaton/deterministic_finite_automaton.py:21
↓ 1 callersClassRegexReader
A class to parse regular expressions
pyformlang/regular_expression/regex_reader.py:16
↓ 1 callersClassRegexable
An abstract class to represent something which are be transformed into a regex
pyformlang/finite_automaton/regexable.py:6
↓ 1 callersClassRuleOrdering
A class to order rules in an indexed grammar Parameters ---------- rules : iterable of :class:`~pyformlang.indexed_grammar.ReducedRule`
pyformlang/indexed_grammar/rule_ordering.py:16
↓ 1 callersClassUnion
Represents a union
pyformlang/regular_expression/regex_objects.py:146
↓ 1 callersClass_PDAStateConverter
pyformlang/pda/pda.py:671
ClassCFGObject
An object in a CFG Parameters ----------- value : any The value of the object
pyformlang/cfg/cfg_object.py:6
ClassDerivationDoesNotExist
Exception raised when the word cannot be derived
pyformlang/cfg/cyk_table.py:134
ClassFiniteAutomaton
Represents a general finite automaton Attributes ---------- _states : set of :class:`~pyformlang.finite_automaton.State`, optional
pyformlang/finite_automaton/finite_automaton.py:18
ClassFiniteAutomatonObject
Represents an object in a finite state automaton Parameters ---------- value: any The value of the object
pyformlang/finite_automaton/finite_automaton_object.py:8
ClassNode
Represents a node in the tree representation of a regex Parameters ---------- value : str The value of the node
pyformlang/regular_expression/regex_objects.py:7
ClassOperator
Represents an operator Parameters ---------- value : str The value of the operator
pyformlang/regular_expression/regex_objects.py:85
ClassReducedRule
Representation of all possible reduced forms. They can be of four types : * Consumption * Production * End * Dupli
pyformlang/indexed_grammar/reduced_rule.py:7
ClassTestCFG
Tests the context free grammar
pyformlang/cfg/tests/test_cfg.py:14
ClassTestDeterministicFiniteAutomaton
Tests for deterministic finite automata
pyformlang/finite_automaton/tests/test_deterministic_finite_automaton.py:13
ClassTestEpsilon
Tests for epsilon transitions
pyformlang/finite_automaton/tests/test_epsilon.py:8
ClassTestEpsilonNFA
Tests epsilon NFA
pyformlang/finite_automaton/tests/test_epsilon_nfa.py:13
ClassTestFCFG
Test a FCFG
pyformlang/fcfg/tests/test_fcfg.py:13
ClassTestFST
Tests FST
pyformlang/fst/tests/test_fst.py:31
ClassTestFeatureStructure
Testing of the feature structure
pyformlang/fcfg/tests/test_feature_structure.py:12
ClassTestIndexedGrammar
Tests the indexed grammar
pyformlang/indexed_grammar/tests/test_indexed_grammar.py:13
ClassTestIndexedGrammar
Tests things related to rules
pyformlang/indexed_grammar/tests/test_rules.py:13
ClassTestLLOneParser
Tests the LL(1) Parser
pyformlang/cfg/tests/test_llone_parser.py:15
ClassTestNondeterministicFiniteAutomaton
Tests for nondeterministic finite automata
pyformlang/finite_automaton/tests/test_nondeterministic_finite_automaton.py:13
ClassTestNondeterministicTransitionFunction
Tests the nondeterministic transitions functions
pyformlang/finite_automaton/tests/test_nondeterministic_transition_function.py:8
ClassTestPDA
Tests the pushdown automata
pyformlang/pda/tests/test_pda.py:11
ClassTestProduction
Tests the production
pyformlang/cfg/tests/test_production.py:6
ClassTestPythonRegex
Tests for python regex
pyformlang/regular_expression/tests/test_python_regex.py:9
ClassTestRSA
Test class for RSA
pyformlang/rsa/tests/test_rsa.py:9
ClassTestRecursiveDecentParser
pyformlang/cfg/tests/test_recursive_decent_parser.py:21
ClassTestRegex
Tests for regex
pyformlang/regular_expression/tests/test_regex.py:9
ClassTestState
Test the states
pyformlang/finite_automaton/tests/test_state.py:7
ClassTestSymbol
Tests for the symbols
pyformlang/finite_automaton/tests/test_symbol.py:7
ClassTestTerminal
Tests the terminal
pyformlang/cfg/tests/test_terminal.py:5
ClassTestTransitionFunction
Tests the transitions functions
pyformlang/finite_automaton/tests/test_transition_function.py:9
ClassTestVariable
Tests the variable
pyformlang/cfg/tests/test_variable.py:5