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

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
    d = {}
    for k, v in iterable:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_lingpipe.py   streamcorpus_pipeline(Download)
                for tok in sent.tokens:
                    if tok.entity_type is not None:
                        print tok, EntityType._VALUES_TO_NAMES[tok.entity_type]
 
    elif args.action == 'align':

src/s/t/streamcorpus-0.3.30/src/streamcorpus/test_streamcorpus.py   streamcorpus(Download)
def test_streamcorpus():
    from streamcorpus import EntityType
    print streamcorpus.EntityType._VALUES_TO_NAMES
 
def test_streamcorpus_flags():

src/s/t/streamcorpus-dev-0.3.23.dev30/src/streamcorpus/test_streamcorpus.py   streamcorpus-dev(Download)
def test_streamcorpus():
    import streamcorpus
    from streamcorpus import EntityType
    print streamcorpus.EntityType._VALUES_TO_NAMES