Skip to main content

Functions and datamodels for patent data.

Project description

Patent Models

Functions and datamodels for patent data.

``from patentmodels import PatentDoc, Description, Claimset, Claims, Classification``

Getting a bag of words from a patent description.
text = [
("Lorem ipsum dolor sit amet, consectetur "
"adipiscing elit. Integer nec odio. \n"),
("Praesent libero 100. Sed cursus 102 ante dapibus diam. "
"Sed nisi. \n"),
("Sed, dignissim lacinia, <nunc>. Curabitur tortor 2."
"Pellentesque nibh. \n"),
"Quisque volutpat 554 condimentum velit."
desc = Description(text)

['lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consecteturadipisc', 'elit',
'integ', 'nec', 'odio', 'praesent', 'libero', 'sed', 'cursu', 'ant', 'dapibu',
'nisi', 'sed', 'dignissim', 'lacinia', 'nunc', 'curabitur', 'tortor', 'nibh',
'quisqu', 'volutpat', 'condimentum', 'velit']

For a complete patent document:
claims = [
Claim("Claim {0} has an x.".format(num), num)
for num in range(1, 10)
claimset = Claimset(claims)
desc = Description(["one", "two", "three"])
fig = Figures()
classification = Classification("A")
pd = PatentDoc(

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for patentmodels, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size patentmodels-0.0.5-py2.py3-none-any.whl (15.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size patentmodels-0.0.5.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page