Source

namedentities / README.txt

Full commit
Jonathan Eunice 6a41f20 






Jonathan Eunice 9b93595 

Jonathan Eunice 6a41f20 
Jonathan Eunice bb5f2fa 


Jonathan Eunice 6a41f20 




Jonathan Eunice e824279 
Jonathan Eunice 6a41f20 





Jonathan Eunice e824279 
Jonathan Eunice 6a41f20 


Jonathan Eunice bb5f2fa 
Jonathan Eunice 6a41f20 
Jonathan Eunice 9b93595 
Jonathan Eunice 6a41f20 

Jonathan Eunice 9b93595 


Jonathan Eunice 6a41f20 
Jonathan Eunice 9b93595 





Installation
============

::

    pip install namedentities
        
(You may need to prefix this with "sudo " to authorize installation.)

**NOTA BENE** Code runs successfully under Python 3, but packaging
seemingly doesn't work as yet.

Usage
=====

Python 2::
  
    from namedentities import named_entities
    
    u = u'both em\u2014and–dashes…'
    print named_entities(u)
    
Python 3::

    from namedentities import named_entities
    
    u = 'both em\u2014and–dashes…'
    print(named_entities(u))

    
History
=======

 * 1.0.8 No longer attempts to encode ``<``, ``>``, or 
   ``&`` (or thier numerical equivalents) to avoid
   interfering with HTML escaping.

 * This is basically a packaging of Ian Beck's work
   (described in http://beckism.com/2009/03/named_entities_python/)

   Thank you, Ian!