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

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)
Different tagging tools have different strings for labeling the
various common entity types.  To avoid ambiguity, we define a
canonical list here, which we will surely have to expand over time
as new taggers recognize new types of entities.

LOC: physical location

MISC: uncategorized named entities, e.g. Civil War for Stanford CoreNLP

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

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

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-0.3.30/src/streamcorpus/test_entity_type.py   streamcorpus(Download)
 
from streamcorpus import EntityType, Token, get_entity_type
 
def test_entity_type():
    tok_per = Token(entity_type=EntityType.PER)

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