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

All Samples(6)  |  Call(5)  |  Derive(0)  |  Import(1)

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_serifxml.py   streamcorpus_pipeline(Download)
            day = int(date_m.group('day'))
            stream_time = streamcorpus.make_stream_time(
                zulu_timestamp = '%d-%02d-%02dT00:00:01.000000Z' % (year, month, day))
        else:
            epoch_ticks = time.time() ### NOT IN THE SERIFXML FILE
            stream_time = streamcorpus.make_stream_time(epoch_ticks=epoch_ticks)

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_upgrade_streamcorpus.py   streamcorpus_pipeline(Download)
import logging
 
from streamcorpus import make_stream_item, make_stream_time, ContentItem, Tagging, Rating, Target, Annotator
from streamcorpus_pipeline.stages import Configured
 
                    tagger_id = 'stanford',
                    raw_tagging = s1.body.ner,
                    generation_time = make_stream_time('2012-06-01T00:00:00.0Z'),
                    tagger_config = 'annotators: {tokenize, cleanxml, ssplit, pos, lemma, ner}, properties: pos.maxlen=100',
                    tagger_version = 'Stanford CoreNLP ver 1.2.0',

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_run_lingpipe.py   streamcorpus_pipeline(Download)
        tagged_doc = list(lingpipe.files(raw_ner.toxml()))[0][1]
        tagging.raw_tagging = tagged_doc
        tagging.generation_time = streamcorpus.make_stream_time()
        stream_item.body.taggings[tagger_id] = tagging
 

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_taggers.py   streamcorpus_pipeline(Download)
 
            #tagging.raw_tagging = tagged_doc
            tagging.generation_time = streamcorpus.make_stream_time()
            stream_item.body.taggings[self.tagger_id] = tagging       # pylint: disable=E1101