Skip to content

Commit 2029e11

Browse files
1 parent 07d18ae commit 2029e11

File tree

109 files changed

+217
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+217
-217
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 0f9f2ae3adb0b7bbe8e8519024c84050
3+
config: f11559ea296ac45504e35eb6d4ae13e7
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_modules/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Overview: module code &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>Overview: module code &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../_static/js/theme.js"></script>

_modules/pythainlp/ancient/aksonhan.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>pythainlp.ancient.aksonhan &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>pythainlp.ancient.aksonhan &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../../../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/js/theme.js"></script>

_modules/pythainlp/ancient/currency.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>pythainlp.ancient.currency &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>pythainlp.ancient.currency &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../../../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/js/theme.js"></script>

_modules/pythainlp/coref/core.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>pythainlp.coref.core &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>pythainlp.coref.core &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../../../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/js/theme.js"></script>

_modules/pythainlp/corpus/common.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>pythainlp.corpus.common &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>pythainlp.corpus.common &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../../../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/js/theme.js"></script>

_modules/pythainlp/corpus/core.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>pythainlp.corpus.core &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>pythainlp.corpus.core &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../../../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/js/theme.js"></script>
@@ -716,6 +716,9 @@ <h1>Source code for pythainlp.corpus.core</h1><div class="highlight"><pre>
716716
<span class="sd"> # FileNotFoundError: [Errno 2] No such file or directory:</span>
717717
<span class="sd"> # &#39;/usr/local/lib/python3.6/dist-packages/pythainlp/corpus/ttc&#39;</span>
718718
<span class="sd"> &quot;&quot;&quot;</span>
719+
<span class="k">if</span> <span class="n">_CHECK_MODE</span> <span class="o">==</span> <span class="s2">&quot;1&quot;</span><span class="p">:</span>
720+
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;PyThaiNLP is read-only mode. It can&#39;t download.&quot;</span><span class="p">)</span>
721+
<span class="k">return</span> <span class="kc">False</span>
719722
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">corpus_db_path</span><span class="p">(),</span> <span class="s2">&quot;r&quot;</span><span class="p">,</span> <span class="n">encoding</span><span class="o">=</span><span class="s2">&quot;utf-8-sig&quot;</span><span class="p">)</span> <span class="k">as</span> <span class="n">f</span><span class="p">:</span>
720723
<span class="n">db</span> <span class="o">=</span> <span class="n">json</span><span class="o">.</span><span class="n">load</span><span class="p">(</span><span class="n">f</span><span class="p">)</span>
721724
<span class="n">data</span> <span class="o">=</span> <span class="p">[</span>
@@ -774,9 +777,6 @@ <h1>Source code for pythainlp.corpus.core</h1><div class="highlight"><pre>
774777
<span class="sd"> :return: path</span>
775778
<span class="sd"> :rtype: str</span>
776779
<span class="sd"> &quot;&quot;&quot;</span>
777-
<span class="k">if</span> <span class="n">_CHECK_MODE</span> <span class="o">==</span> <span class="s2">&quot;1&quot;</span><span class="p">:</span>
778-
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;PyThaiNLP is read-only mode. It can&#39;t download.&quot;</span><span class="p">)</span>
779-
<span class="k">return</span> <span class="kc">False</span>
780780
<span class="k">try</span><span class="p">:</span>
781781
<span class="kn">from</span><span class="w"> </span><span class="nn">huggingface_hub</span><span class="w"> </span><span class="kn">import</span> <span class="n">hf_hub_download</span><span class="p">,</span> <span class="n">snapshot_download</span>
782782
<span class="k">except</span> <span class="ne">ModuleNotFoundError</span><span class="p">:</span>

_modules/pythainlp/corpus/oscar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>pythainlp.corpus.oscar &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>pythainlp.corpus.oscar &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../../../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/js/theme.js"></script>

_modules/pythainlp/corpus/th_en_translit.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>pythainlp.corpus.th_en_translit &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>pythainlp.corpus.th_en_translit &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../../../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/js/theme.js"></script>

_modules/pythainlp/corpus/tnc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>pythainlp.corpus.tnc &mdash; PyThaiNLP f7df55d documentation</title>
8+
<title>pythainlp.corpus.tnc &mdash; PyThaiNLP 999e2a6 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/style.css?v=eea1f72d" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=e5bf50f9"></script>
16+
<script src="../../../_static/documentation_options.js?v=9627c85d"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/js/theme.js"></script>

0 commit comments

Comments
 (0)