Skip to content

Commit

Permalink
deploy: 97ba180
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Nov 11, 2024
1 parent b487aea commit fd0e86a
Show file tree
Hide file tree
Showing 38 changed files with 186 additions and 175 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: f7d200915b7b550f5c004e266578c90b
config: c9793e7fc053cd508e3e3513b008f815
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions _modules/cached_property.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cached_property &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>cached_property &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=27fed22d" />
<script src="../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../_static/documentation_options.js?v=408c3590"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/django/db/models/fields/related_descriptors.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>django.db.models.fields.related_descriptors &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>django.db.models.fields.related_descriptors &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/django/db/models/query_utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>django.db.models.query_utils &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>django.db.models.query_utils &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/django/forms/widgets.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>django.forms.widgets &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>django.forms.widgets &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/eulxml/xmlmap/fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>eulxml.xmlmap.fields &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>eulxml.xmlmap.fields &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>Overview: module code &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=27fed22d" />
<script src="../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../_static/documentation_options.js?v=408c3590"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/ppa/archive/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.admin &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.admin &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/ppa/archive/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.forms &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.forms &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
Expand Down
10 changes: 7 additions & 3 deletions _modules/ppa/archive/gale.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.gale &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.gale &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
Expand Down Expand Up @@ -290,6 +290,8 @@ <h1>Source code for ppa.archive.gale</h1><div class="highlight"><pre>
<span class="n">local_ocr_text</span> <span class="o">=</span> <span class="n">get_local_ocr</span><span class="p">(</span><span class="n">item_id</span><span class="p">)</span>
<span class="k">except</span> <span class="ne">FileNotFoundError</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Local OCR not found for </span><span class="si">{</span><span class="n">item_id</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="k">except</span> <span class="n">json</span><span class="o">.</span><span class="n">decoder</span><span class="o">.</span><span class="n">JSONDecodeError</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;JSON decode error on local OCR file for </span><span class="si">{</span><span class="n">item_id</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>

<span class="c1"># iterate through the pages in the response</span>
<span class="k">for</span> <span class="n">page</span> <span class="ow">in</span> <span class="n">gale_record</span><span class="p">[</span><span class="s2">&quot;pageResponse&quot;</span><span class="p">][</span><span class="s2">&quot;pages&quot;</span><span class="p">]:</span>
Expand All @@ -308,7 +310,9 @@ <h1>Source code for ppa.archive.gale</h1><div class="highlight"><pre>
<span class="n">tags</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;local_ocr&quot;</span><span class="p">]</span>
<span class="c1"># If page is not present in the data, use Gale OCR as fallback</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;No local OCR for </span><span class="si">{</span><span class="n">item_id</span><span class="si">}</span><span class="s2"> </span><span class="si">{</span><span class="n">page_number</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="c1"># don&#39;t warn for every page when no OCR text is found</span>
<span class="k">if</span> <span class="n">local_ocr_text</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;No local OCR for </span><span class="si">{</span><span class="n">item_id</span><span class="si">}</span><span class="s2"> </span><span class="si">{</span><span class="n">page_number</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="c1"># try getting the ocr from the gale api result</span>
<span class="c1"># (may be empty, since some pages have no text)</span>
<span class="n">ocr_text</span> <span class="o">=</span> <span class="n">page</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s2">&quot;ocrText&quot;</span><span class="p">)</span>
Expand Down
4 changes: 2 additions & 2 deletions _modules/ppa/archive/hathi.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.hathi &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.hathi &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/ppa/archive/management/commands/eebo_import.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.management.commands.eebo_import &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.management.commands.eebo_import &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/ppa/archive/management/commands/gale_import.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.management.commands.gale_import &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.management.commands.gale_import &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../../genindex.html" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.management.commands.generate_textcorpus &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.management.commands.generate_textcorpus &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/ppa/archive/management/commands/hathi_excerpt.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.management.commands.hathi_excerpt &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.management.commands.hathi_excerpt &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/ppa/archive/management/commands/hathi_import.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.management.commands.hathi_import &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.management.commands.hathi_import &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _modules/ppa/archive/management/commands/hathi_rsync.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ppa.archive.management.commands.hathi_rsync &#8212; Princeton Prosody Archive 3.14.0 documentation</title>
<title>ppa.archive.management.commands.hathi_rsync &#8212; Princeton Prosody Archive 3.14.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/basic.css?v=686e5160" />
<link rel="stylesheet" type="text/css" href="../../../../../_static/alabaster.css?v=27fed22d" />
<script src="../../../../../_static/documentation_options.js?v=e4f4b189"></script>
<script src="../../../../../_static/documentation_options.js?v=408c3590"></script>
<script src="../../../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../../genindex.html" />
Expand Down
Loading

0 comments on commit fd0e86a

Please sign in to comment.