Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(22)  |  Call(8)  |  Derive(4)  |  Import(10)

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/language/base/number_base.py   SublimeSpeech(Download)
 
 
from dragonfly.grammar.elements import (Alternative, Repetition, Sequence)
 
 
        item = self._element_type(None, 0, 100)
        if zero:
            series = Repetition(item, 1, self._ser_len)
        else:
            first = self._element_type(None, 1, 100)
            repetition = Repetition(item, 0, self._ser_len - 1)

src/d/r/dragonfly-0.6.5/dragonfly/language/base/number_base.py   dragonfly(Download)
 
 
from dragonfly.grammar.elements import (Alternative, Repetition, Sequence)
 
 
        item = self._element_type(None, 0, 100)
        if zero:
            series = Repetition(item, 1, self._ser_len)
        else:
            first = self._element_type(None, 1, 100)
            repetition = Repetition(item, 0, self._ser_len - 1)

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/grammar/number_base.py   SublimeSpeech(Download)
 
 
from dragonfly.grammar.elements import (Alternative, Repetition, Sequence)
 
 
        item = self._element_type(None, 0, 100)
        if zero:
            series = Repetition(item, 1, self._ser_len)
        else:
            first = self._element_type(None, 1, 100)
            repetition = Repetition(item, 0, self._ser_len - 1)

src/d/r/dragonfly-0.6.5/dragonfly/grammar/number_base.py   dragonfly(Download)
 
 
from dragonfly.grammar.elements import (Alternative, Repetition, Sequence)
 
 
        item = self._element_type(None, 0, 100)
        if zero:
            series = Repetition(item, 1, self._ser_len)
        else:
            first = self._element_type(None, 1, 100)
            repetition = Repetition(item, 0, self._ser_len - 1)

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/all.py   SublimeSpeech(Download)
from dragonfly.grammar.rule_compound      import CompoundRule
from dragonfly.grammar.rule_mapping       import MappingRule
from dragonfly.grammar.elements           import ElementBase, Sequence, Alternative, \
                                                 Optional, Repetition, Literal, RuleRef, \
                                                 ListRef, DictListRef, Dictation, Empty, \

src/d/r/dragonfly-0.6.5/dragonfly/all.py   dragonfly(Download)
from dragonfly.grammar.rule_compound      import CompoundRule
from dragonfly.grammar.rule_mapping       import MappingRule
from dragonfly.grammar.elements           import ElementBase, Sequence, Alternative, \
                                                 Optional, Repetition, Literal, RuleRef, \
                                                 ListRef, DictListRef, Dictation, Empty, \

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/language/base/digits_base.py   SublimeSpeech(Download)
 
 
from dragonfly.grammar.elements import (Alternative, Repetition, Compound)
 
 
#---------------------------------------------------------------------------
# Base class for digit-series element classes.
 
class DigitsBase(Repetition):

src/d/r/dragonfly-0.6.5/dragonfly/language/base/digits_base.py   dragonfly(Download)
 
 
from dragonfly.grammar.elements import (Alternative, Repetition, Compound)
 
 
#---------------------------------------------------------------------------
# Base class for digit-series element classes.
 
class DigitsBase(Repetition):

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/grammar/digits_base.py   SublimeSpeech(Download)
 
 
from dragonfly.grammar.elements import (Alternative, Repetition, Compound)
 
 
#---------------------------------------------------------------------------
# Base class for digit-series element classes.
 
class DigitsBase(Repetition):

src/d/r/dragonfly-0.6.5/dragonfly/grammar/digits_base.py   dragonfly(Download)
 
 
from dragonfly.grammar.elements import (Alternative, Repetition, Compound)
 
 
#---------------------------------------------------------------------------
# Base class for digit-series element classes.
 
class DigitsBase(Repetition):