MCPcopy
hub / github.com/nltk/nltk / start

Method start

nltk/grammar.py:553–559  ·  view source on GitHub ↗

Return the start symbol of the grammar :rtype: Nonterminal

(self)

Source from the content-addressed store, hash-verified

551 return cls(start, productions)
552
553 def start(self):
554 """
555 Return the start symbol of the grammar
556
557 :rtype: Nonterminal
558 """
559 return self._start
560
561 # tricky to balance readability and efficiency here!
562 # can't use set operations as they don't preserve ordering

Callers 14

find_deprecated_defsFunction · 0.45
_read_partialMethod · 0.45
read_logic_valueMethod · 0.45
_record_parseMethod · 0.45
parseMethod · 0.45
chomsky_normal_formMethod · 0.45
remove_unitary_rulesMethod · 0.45
binarizeMethod · 0.45
eliminate_startMethod · 0.45
remove_mixed_rulesMethod · 0.45
cfg_demoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected