Skip to content

Commit

Permalink
[mw] EPO/OPS: Update list of full text authorities
Browse files Browse the repository at this point in the history
Those countries have been added:
BG, CZ, DK, EE, GR, IT, LT, ME, RS, SE, SK

Thanks a stack!
  • Loading branch information
amotl committed Apr 18, 2022
1 parent d45e6b3 commit ccc50d9
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 18 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Development
- [qa] Add tests for EPO OPS data source
- [ui] Fix depa.tech data source logo
- [ui] Improve loading behaviour for vendor data source logos
- [mw] EPO/OPS: Update list of full text authorities. Thanks, @epo and @aghster!


2019-11-01 0.169.3
Expand Down
12 changes: 7 additions & 5 deletions docker/patzilla.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ stylesheet_uri = /static/vendor/patzilla/patzilla.css
api_consumer_key = {ops_api_consumer_key}
api_consumer_secret = {ops_api_consumer_secret}

# 3.1.2. Fulltext inquiry and retrieval including description or claims
# Note, Currently full texts (description and/or claims) are only available for the following
# authorities: EP, WO, AT, BE, CA, CH, CY, ES, FR, GB, HR, IE, LU, MC, MD, NO, PL, PT, RO.
# -- https://forums.epo.org/ops-extends-data-coverage-for-character-coded-full-text-xml-to-19-country-collections-7833
# Q: What is the coverage for full-text descriptions and claims in OPS?
# A: OPS currently supplies descriptions and claims for documents published by the following authorities:
# EP, WO, AT, BE, BG, CA, CH, CY, CZ, DK, EE, ES, FR, GB, GR, HR, IE, IT, LT, LU, MC, MD, ME, NO, PL, PT, RO, RS, SE, SK
# - https://www.epo.org/searching-for-patents/data/web-services/ops/faq.html#faq-74
# - https://www.epo.org/searching-for-patents/technical/full-text-additions.html
# - https://forums.epo.org/ops-extends-data-coverage-for-character-coded-full-text-xml-to-19-country-collections-7833
fulltext_enabled = true
fulltext_countries = EP, WO, AT, BE, CA, CH, CY, ES, FR, GB, HR, IE, LU, MC, MD, NO, PL, PT, RO
fulltext_countries = EP, WO, AT, BE, BG, CA, CH, CY, CZ, DK, EE, ES, FR, GB, GR, HR, IE, IT, LT, LU, MC, MD, ME, NO, PL, PT, RO, RS, SE, SK


[datasource:depatisconnect]
Expand Down
12 changes: 7 additions & 5 deletions patzilla/config/development.ini.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ stylesheet_uri = /static/patzilla.css
api_consumer_key = {ops_api_consumer_key}
api_consumer_secret = {ops_api_consumer_secret}

# 3.1.2. Fulltext inquiry and retrieval including description or claims
# Note, Currently full texts (description and/or claims) are only available for the following
# authorities: EP, WO, AT, BE, CA, CH, CY, ES, FR, GB, HR, IE, LU, MC, MD, NO, PL, PT, RO.
# -- https://forums.epo.org/ops-extends-data-coverage-for-character-coded-full-text-xml-to-19-country-collections-7833
# Q: What is the coverage for full-text descriptions and claims in OPS?
# A: OPS currently supplies descriptions and claims for documents published by the following authorities:
# EP, WO, AT, BE, BG, CA, CH, CY, CZ, DK, EE, ES, FR, GB, GR, HR, IE, IT, LT, LU, MC, MD, ME, NO, PL, PT, RO, RS, SE, SK
# - https://www.epo.org/searching-for-patents/data/web-services/ops/faq.html#faq-74
# - https://www.epo.org/searching-for-patents/technical/full-text-additions.html
# - https://forums.epo.org/ops-extends-data-coverage-for-character-coded-full-text-xml-to-19-country-collections-7833
fulltext_enabled = true
fulltext_countries = EP, WO, AT, BE, CA, CH, CY, ES, FR, GB, HR, IE, LU, MC, MD, NO, PL, PT, RO
fulltext_countries = EP, WO, AT, BE, BG, CA, CH, CY, CZ, DK, EE, ES, FR, GB, GR, HR, IE, IT, LT, LU, MC, MD, ME, NO, PL, PT, RO, RS, SE, SK


[datasource:depatisconnect]
Expand Down
12 changes: 7 additions & 5 deletions patzilla/config/production.ini.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ stylesheet_uri = /static/patzilla.css
api_consumer_key = {ops_api_consumer_key}
api_consumer_secret = {ops_api_consumer_secret}

# 3.1.2. Fulltext inquiry and retrieval including description or claims
# Note, Currently full texts (description and/or claims) are only available for the following
# authorities: EP, WO, AT, BE, CA, CH, CY, ES, FR, GB, HR, IE, LU, MC, MD, NO, PL, PT, RO.
# -- https://forums.epo.org/ops-extends-data-coverage-for-character-coded-full-text-xml-to-19-country-collections-7833
# Q: What is the coverage for full-text descriptions and claims in OPS?
# A: OPS currently supplies descriptions and claims for documents published by the following authorities:
# EP, WO, AT, BE, BG, CA, CH, CY, CZ, DK, EE, ES, FR, GB, GR, HR, IE, IT, LT, LU, MC, MD, ME, NO, PL, PT, RO, RS, SE, SK
# - https://www.epo.org/searching-for-patents/data/web-services/ops/faq.html#faq-74
# - https://www.epo.org/searching-for-patents/technical/full-text-additions.html
# - https://forums.epo.org/ops-extends-data-coverage-for-character-coded-full-text-xml-to-19-country-collections-7833
fulltext_enabled = true
fulltext_countries = EP, WO, AT, BE, CA, CH, CY, ES, FR, GB, HR, IE, LU, MC, MD, NO, PL, PT, RO
fulltext_countries = EP, WO, AT, BE, BG, CA, CH, CY, CZ, DK, EE, ES, FR, GB, GR, HR, IE, IT, LT, LU, MC, MD, ME, NO, PL, PT, RO, RS, SE, SK


[datasource:depatisconnect]
Expand Down
7 changes: 4 additions & 3 deletions patzilla/navigator/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,9 @@ def to_zip(self, request=None, options=None):
# Media files
# -----------

# OPS does not offer full texts for all authorities.
# FIXME: This should go to some configuration setting.
fulltext_countries_excluded_ops = ['BE', 'CN', 'DD', 'DE', 'DK', 'FR', 'GR', 'HU', 'JP', 'LU', 'KR', 'RU', 'PT', 'SE', 'TR', 'SK', 'US']
fulltext_countries_excluded_ops = ['BE', 'CN', 'DD', 'DE', 'FR', 'HU', 'JP', 'LU', 'KR', 'RU', 'PT', 'TR', 'US']

# Add full PDF documents
if options.media.pdf:
Expand Down Expand Up @@ -281,7 +282,7 @@ def to_zip(self, request=None, options=None):
self.clear_request_errors(request)

# Add XML "description" full text data
# OPS does not have full texts for DE, US, ...
# OPS does not have full texts for US, ...
if options.media.description:
status[document]['description'] = False
if patent.country not in fulltext_countries_excluded_ops:
Expand All @@ -304,7 +305,7 @@ def to_zip(self, request=None, options=None):
self.clear_request_errors(request)

# Add XML "claims" full text data
# OPS does not have full texts for DE, US, ...
# OPS does not have full texts for US, ...
if options.media.claims:
status[document]['claims'] = False
if patent.country not in fulltext_countries_excluded_ops:
Expand Down

0 comments on commit ccc50d9

Please sign in to comment.