Metadata-Version: 1.1
Name: sherlok
Version: 0.1.6
Summary: A Python client for Sherlok
Home-page: https://github.com/sherlok/sherlok-python
Author: Renaud Richardet
Author-email: renaud@apache.org
License: Apache License (2.0)
Description: A Python client for Sherlok
        ===========================
        
        `Sherlok <http://sherlok.io/>`_ is a flexible and powerful open source, distributed, real-time text-mining engine.
        
        
        
        .. code:: python
        
            pip install --upgrade sherlok
        
            from sherlok import Sherlok
        
            s = Sherlok('neuroner')
        
            # returns a list of tuples (begin, end, text, annotation_type, attributes{})
            print s.annotate('layer 4 neuron')
        
            [(0, 14, 'layer 4 neuron', u'Neuron', {}),
             (8, 14, 'neuron',  u'Neuron', {}),
             (8, 14, 'neuron',  u'NeuronTrigger', {}),
             (0, 7,  'layer 4', u'Layer', {u'ontologyId': u'HBP_LAYER:0000004'})]
        
        
            # filtering and finding the text back
            txt = 'parvalbumin-positive fast-spiking basket cells, somatostatin-positive regular-spiking bipolar and multipolar cells, and cholecystokinin-positive irregular-spiking bipolar and multipolar cells'
            morphology = s.annotate(txt, u'Morphology')
            for (start, end, text, _type, properties) in morphology:
                print text, properties[u'ontologyId']
        
            basket HBP_MORPHOLOGY:0000019
            bipolar HBP_MORPHOLOGY:0000006
            multipolar HBP_MORPHOLOGY:0000035
            bipolar HBP_MORPHOLOGY:0000006
            multipolar HBP_MORPHOLOGY:0000035
        
Keywords: distributed RESTful text mining
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Text Processing
Classifier: Topic :: Text Processing :: Filters
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Indexing
Classifier: Topic :: Text Processing :: Linguistic
