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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_upgrade_streamcorpus_v0_3_0.py   streamcorpus_pipeline(Download)
 
                        attr = streamcorpus.Attribute(
                            attribute_type = streamcorpus.AttributeType.PER_AGE,
                            evidence = token.token,
                            value = str(gender_value),

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_lingpipe.py   streamcorpus_pipeline(Download)
from nltk.tokenize import WhitespaceTokenizer
 
from streamcorpus import Token, Sentence, EntityType, Chunk, Offset, \
    OffsetType, Gender, MentionType, Attribute, AttributeType
from streamcorpus_pipeline.stages import Configured
                                    ## create an attribute
                                    attr = Attribute(
                                        attribute_type=AttributeType.PER_GENDER,
                                        value=str(_PRONOUNS[entity_type])
                                        )

src/s/t/streamcorpus_pipeline-0.5.23.dev1/streamcorpus_pipeline/_tokenizer.py   streamcorpus_pipeline(Download)
from sortedcollection import SortedCollection
import streamcorpus
from streamcorpus import Token, Sentence, EntityType, Chunk, Offset, OffsetType, Gender, MentionType, Attribute, AttributeType
from streamcorpus_pipeline.stages import IncrementalTransform
from streamcorpus_pipeline._taggers import TaggerBatchTransform