dependabot[bot] opened a new pull request, #40873:
URL: https://github.com/apache/beam/pull/40873

   Bumps [nltk](https://github.com/nltk/nltk) from 3.10.3 to 3.10.4.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/nltk/nltk/releases";>nltk's 
releases</a>.</em></p>
   <blockquote>
   <h2>v3.10.4</h2>
   <p>Version 3.10.4 2026-10-20</p>
   <p>This release routes every file path, archive, download, URL fetch and 
external program through one sandbox that keeps reads and writes inside the 
trusted data directories, refuses path traversal, symlink escapes and 
decompression bombs, blocks requests to internal network addresses, and runs 
Java and other third-party tools only from trusted absolute locations with 
validated options and input. Pickled models now load through a restricted 
unpickler, XML and JSON parsing are hardened, and regular expressions, 
recursion and slow algorithms in the tokenizers, parsers, stemmers and corpus 
readers are bounded against denial-of-service input. Text that NLTK writes to 
the terminal, to CSV files, to the WordNet browser and to third-party tool 
input is sanitized against injection.</p>
   <p>Security changes you may notice</p>
   <p>Every refusal below raises with a message that starts with &quot;Security 
Violation&quot; and names the check, so a failure is easy to search for (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3877";>#3877</a>).</p>
   <ul>
   <li>Data directories (nltk.pathsec, nltk.data): corpora, models and every 
other resource are read and written only inside the directories listed in 
nltk.data.path. A path that leaves a data root, a symlink that points out of 
one, and a NUL byte or encoded traversal in a resource name are refused. A data 
root, or a directory on the way to a resource, that another account can write 
to is skipped with a warning naming the directory and the remedy. Keep private 
data in a private directory and add it to nltk.data.path; /tmp is not a data 
root. Model save and load methods (perceptron, maxent, named-entity chunker, 
Weka, crf, hunpos, Stanford) accept destinations inside a data root only (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3797";>#3797</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3753";>#3753</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3850";>#3850</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3761";>#3761</a>, <a 
href="https://r
 edirect.github.com/nltk/nltk/issues/3755">#3755</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3759";>#3759</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3760";>#3760</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3763";>#3763</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3806";>#3806</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3807";>#3807</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3808";>#3808</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3809";>#3809</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3813";>#3813</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3814";>#3814</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3815";>#3815</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3848";>#3848</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3851";>#3851</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3852";>#3852</a>, <a 
href="https://redi
 rect.github.com/nltk/nltk/issues/3853">#3853</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3863";>#3863</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3871";>#3871</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3888";>#3888</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3945";>#3945</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3961";>#3961</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3969";>#3969</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3981";>#3981</a>)</li>
   <li>Downloader: downloaded package archives stay private to the installing 
account (0600). An install another account must read is extracted: a download 
made as root or outside the installing account's home extracts on its own, and 
nltk.download(..., extract=True) / python -m nltk.downloader --extract (or 
--no-extract) decide explicitly. This also unpacks the packages the index 
leaves zipped (wordnet, omw-1.4 ...); the extracted files are readable by every 
account and are found before the archive. find() names an archive it cannot 
read and says how to extract it instead of reporting it &quot;not found&quot;. 
The downloader installs only into directories no other account can write to, 
treats an archive another account owns or can write to as stale and downloads 
it afresh, extracts only from an archive no other account could have changed 
since its checksum was verified, bounds the size of what it fetches, and 
refuses index entries and archive members that would write outside the pac
 kage directory (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3929";>#3929</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3804";>#3804</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3850";>#3850</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3778";>#3778</a>)</li>
   <li>Pickles: nltk.data.load(..., format=&quot;pickle&quot;) reconstructs 
plain data only; a pickle that names any class or function is refused. Model 
loaders that need classes use an explicit allowlist of audited globals, so a 
gadget such as os.system can never be reconstructed from a model file. chat80 
shelve values load the same way (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3794";>#3794</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3754";>#3754</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3757";>#3757</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3802";>#3802</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3817";>#3817</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3823";>#3823</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3824";>#3824</a>)</li>
   <li>XML, JSON and YAML: nltk.xmlsec refuses any document that declares an 
entity or references an external one (billion-laughs, external-entity and DTD 
attacks) and bounds the tree depth, and every corpus XML view, the downloader 
index, Toolbox and internals parse through it. JSON resources load with a depth 
and size bound; YAML (the markdown corpus front matter and nltk.data.load(..., 
format=&quot;yaml&quot;)) loads through a bounded safe loader. Oversized or too 
deeply nested input raises ValueError naming the limit (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3754";>#3754</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3805";>#3805</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3828";>#3828</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3933";>#3933</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3972";>#3972</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3974";>#3974</a>)</li>
   <li>Regular expressions (nltk.redos): every regular expression NLTK 
compiles, including one you pass to RegexpTokenizer, RegexpStemmer, 
RegexpParser, re_show, TokenSearcher.findall, tgrep, nltk.help tag-set lookups 
and the concordance and nemo GUIs, now goes through nltk.redos on the regex 
engine. A pattern longer than 100,000 characters, nested more than 100 deep, 
with more than 1,000 capturing groups or an excessive repetition product is 
refused with nltk.redos.error, a subclass of re.error; a match that runs longer 
than nltk.redos.DEFAULT_TIMEOUT (5 seconds) raises TimeoutError instead of 
hanging. Patterns keep re syntax; match objects are the regex engine's (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3825";>#3825</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3829";>#3829</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3830";>#3830</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3831";>#3831</a>, <a 
href="https://redirect.github.com/
 nltk/nltk/issues/3832">#3832</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3833";>#3833</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3834";>#3834</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3835";>#3835</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3836";>#3836</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3837";>#3837</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3838";>#3838</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3839";>#3839</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3840";>#3840</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3841";>#3841</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3842";>#3842</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3843";>#3843</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3844";>#3844</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3845";>#3845</a>, <a 
href="https://redirect.github.com/nlt
 k/nltk/issues/3846">#3846</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3796";>#3796</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3801";>#3801</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3906";>#3906</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3907";>#3907</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3908";>#3908</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3910";>#3910</a>)</li>
   <li>Regular expressions made linear: the leading-run and re-anchoring 
patterns that a timeout cannot catch were rewritten or bounded in the word, 
Treebank, blankline, TextTiling, toktok and syllable tokenizers, the readline 
of corpus streams, the CoNLL SRL, TIMIT, senseval, pl196x, NKJP, Alpino, YCOE, 
IEER, ACE, VerbNet, reviews and Lin readers, relextract, the valuation parser, 
the CCG lexicon parser, dependency grammars and chomsky_normal_form, each 
verified on the real corpus (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3947";>#3947</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3934";>#3934</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3932";>#3932</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3938";>#3938</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3935";>#3935</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3933";>#3933</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3869";>#3869</a>, <a href="h
 ttps://redirect.github.com/nltk/nltk/issues/3944">#3944</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3911";>#3911</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3909";>#3909</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3953";>#3953</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3895";>#3895</a>)</li>
   <li>Size, depth and time bounds: trees deeper than nltk.tree.MAX_TREE_DEPTH 
(500), WordNet and other relation walks deeper than 
nltk.util.MAX_RECURSION_DEPTH (500), tgrep deeper than 50, Toolbox deeper than 
500, dependency graphs deeper than 200, are refused with ValueError naming the 
limit rather than exhausting the stack, and the stemmers, distance metrics, 
skipgrams, parsers and grammar transforms run in linear or bounded time with 
identical output for legitimate input. chart_parse stops after 
nltk.parse.chart.DEFAULT_MAX_TIME (5 seconds of wall-clock, needed only for 
feature grammars; max_time=None disables it). Tree.<strong>repr</strong> no 
longer recurses, so a deep accepted tree prints (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3827";>#3827</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3885";>#3885</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3895";>#3895</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3767";>#3767</a>, <a hr
 ef="https://redirect.github.com/nltk/nltk/issues/3784";>#3784</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3917";>#3917</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3958";>#3958</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3960";>#3960</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3977";>#3977</a>)</li>
   <li>External tools and Java: a tool binary is resolved from an absolute path 
or a trusted search path only, never from the current directory; the binary, 
its directory and the model and data files handed to it must not be writable by 
another account (symlinked and multi-call executables such as a packaged 
Graphviz dot are supported). java() accepts a main class as the first argument 
only (no -jar, <a href="https://github.com/argfile";><code>@​argfile</code></a> 
or .java source file), validates its options against an allowlist, and loads 
jars only from a data root unless NLTK_ALLOW_UNSAFE_JARS=1 opts out with a 
warning. CoreNLP server options are allowlisted. Stanford, Malt, Senna, hunpos, 
Prover9, megam, TADM, Weka and crf wrappers validate their paths and the text 
they pipe to the tool against line and argument injection (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3772";>#3772</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3771";>#3771</a>, <a 
href="https
 ://redirect.github.com/nltk/nltk/issues/3975">#3975</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3743";>#3743</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3782";>#3782</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3788";>#3788</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3768";>#3768</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3798";>#3798</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3887";>#3887</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3858";>#3858</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3950";>#3950</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3951";>#3951</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3812";>#3812</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3816";>#3816</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3868";>#3868</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3894";>#3894</a>, <a 
href="https://
 redirect.github.com/nltk/nltk/issues/3941">#3941</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3850";>#3850</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3925";>#3925</a>)</li>
   <li>Network: the downloader, nltk.data.load of a URL and the CHILDES reader 
fetch through pathsec.urlopen, which refuses addresses that are not globally 
routable (loopback, private, link-local and multicast, including tunnelled and 
obfuscated forms), pins the validated address for the connection, allows 
file:// with a local authority only, and refuses a proxied fetch unless 
NLTK_ALLOW_PROXIED_URLOPEN=1 (or nltk.pathsec.ALLOW_PROXIED_FETCH = True) 
asserts the proxy is trusted. The CoreNLP client talks to its local server with 
requests and is not affected (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3847";>#3847</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3810";>#3810</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3750";>#3750</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3850";>#3850</a>)</li>
   <li>Terminal, CSV, DOT and HTML output: every print in the library goes 
through nltk.termsec.safe_print, which renders control characters, escape 
sequences and unbalanced bidi overrides from corpus text as visible \xNN 
escapes instead of letting them reach the terminal. The CSV files the twitter 
and sentiment helpers write neutralise formula-leading and control-sequence 
cells, AlignedSent DOT labels are escaped, the WordNet browser escapes corpus 
text, and nltk.data.load's verbose output no longer prints the full resource 
URL (PR <a href="https://redirect.github.com/nltk/nltk/issues/3914";>#3914</a>, 
<a href="https://redirect.github.com/nltk/nltk/issues/3915";>#3915</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3937";>#3937</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3946";>#3946</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3931";>#3931</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3930";>#3930</a>, <a 
href="https://redirect.github.
 com/nltk/nltk/issues/3856">#3856</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3902";>#3902</a>)</li>
   <li>Corpus stores and encodings: the PanLex Lite and chat80 sqlite stores 
open read-only on a pinned descriptor with their schema screened and a 
statement step budget, chat80 shelves are read by a key manifest, Toolbox SFM 
markers are sanitised, and a resource encoding that is not a text codec 
(bz2_codec and friends) is refused (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3961";>#3961</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3964";>#3964</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3959";>#3959</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3888";>#3888</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3800";>#3800</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3962";>#3962</a>)</li>
   <li>Package contents: the wheel no longer ships nltk.test.unit (the attack 
harnesses, advisory probes and their fixtures), so pip install nltk is about 
half the size and import nltk.test.unit works from a source checkout or the 
sdist only. The doctests under nltk.test still ship (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3954";>#3954</a>)</li>
   </ul>
   <p>Security test and CI infrastructure</p>
   <ul>
   <li>Attack and regression harnesses, advisory probes, the sandbox conftest 
fixtures, the pre-commit guards (no unsandboxed open, every regex through 
redos, every pickle through picklesec, every print through safe_print), 
load-invariant CPU-time timing rules, CI matrix and runner fixes, pinned 
third-party downloads, and the AUTHORS update (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3744";>#3744</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3749";>#3749</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3762";>#3762</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3764";>#3764</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3770";>#3770</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3776";>#3776</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3791";>#3791</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3795";>#3795</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3803";>#3803</a>, <a href="htt
 ps://redirect.github.com/nltk/nltk/issues/3818">#3818</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3820";>#3820</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3821";>#3821</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3822";>#3822</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3849";>#3849</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3855";>#3855</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3860";>#3860</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3861";>#3861</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3862";>#3862</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3864";>#3864</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3865";>#3865</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3866";>#3866</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3876";>#3876</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3884";>#3884</a>, <a 
href="https:
 //redirect.github.com/nltk/nltk/issues/3899">#3899</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3904";>#3904</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3905";>#3905</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3912";>#3912</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3917";>#3917</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3924";>#3924</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3926";>#3926</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3927";>#3927</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3939";>#3939</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3940";>#3940</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3943";>#3943</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3948";>#3948</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3949";>#3949</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3963";>#3963</a>, <a 
href="https://r
 edirect.github.com/nltk/nltk/issues/3968">#3968</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3971";>#3971</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3976";>#3976</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3982";>#3982</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3983";>#3983</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3984";>#3984</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3985";>#3985</a>)</li>
   </ul>
   <p>Other changes</p>
   <ul>
   <li>Added RTL language syntactic tree visualization support (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3472";>#3472</a>)</li>
   <li>Fix <a 
href="https://redirect.github.com/nltk/nltk/issues/3394";>#3394</a>: Ensure 
punkt_tab is downloaded when punkt is requested (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3505";>#3505</a>)</li>
   <li>Show README.md as the PyPI long description (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3746";>#3746</a>)</li>
   <li>Add stopwords.words(&quot;english-extended&quot;) (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3747";>#3747</a>)</li>
   <li>Krippendorff's alpha: treat placeholder labels as missing data (<a 
href="https://redirect.github.com/nltk/nltk/issues/2865";>#2865</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/2732";>#2732</a>) (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3752";>#3752</a>)</li>
   <li>Fix shared defaults in chat80 Concept (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3773";>#3773</a>)</li>
   <li>Fix Java wrappers decoding str output from java() (universal_newlines) 
(PR <a href="https://redirect.github.com/nltk/nltk/issues/3777";>#3777</a>)</li>
   <li>Prevent IndexError in Hungarian stemmer on empty string (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3785";>#3785</a>)</li>
   <li>Isolate MTE tag filters per view (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3792";>#3792</a>)</li>
   <li>Fix newline in ellipsis tokens in TweetTokenizer (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3819";>#3819</a>)</li>
   <li>Isolate default WordNet reference relations (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3872";>#3872</a>)</li>
   <li>Fix resolution paths that cancel distinct literals (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3878";>#3878</a>)</li>
   <li>Fix UTF-8 text preprocessing in NKJP corpus reader (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3879";>#3879</a>)</li>
   <li>Remove shadowed FeatStruct._walk stub and preserve its docstring (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3893";>#3893</a>)</li>
   <li>Count all increasing pairs in RIBES kendall_tau (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3900";>#3900</a>)</li>
   <li>Fix the TweetTokenizer ZWJ emoji pattern capturing adjacent whitespace 
(PR <a href="https://redirect.github.com/nltk/nltk/issues/3913";>#3913</a>)</li>
   <li>Surface the CoreNLP server's reason for a non-2xx answer (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3942";>#3942</a>)</li>
   <li>Omit unaligned (NULL target) pairs from Alignment strings, so IBM model 
output prints (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3967";>#3967</a>)</li>
   <li>Fix DependencyGraph cycle detection, which returned False on every 
parsed graph (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3978";>#3978</a>)</li>
   <li>Show, range and draw an alignment with an unaligned pair on every 
surface (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3987";>#3987</a>)</li>
   </ul>
   <p>Thanks to the following contributors to 3.10.4: Zhewen Tan, Yanhaoxi, 
Yazan Balawneh (Cystack.ps),</p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/nltk/nltk/blob/develop/ChangeLog";>nltk's 
changelog</a>.</em></p>
   <blockquote>
   <p>Version 3.10.4 2026-10-20</p>
   <p>This release routes every file path, archive, download, URL fetch and 
external program through one sandbox that keeps reads and writes inside the 
trusted data directories, refuses path traversal, symlink escapes and 
decompression bombs, blocks requests to internal network addresses, and runs 
Java and other third-party tools only from trusted absolute locations with 
validated options and input. Pickled models now load through a restricted 
unpickler, XML and JSON parsing are hardened, and regular expressions, 
recursion and slow algorithms in the tokenizers, parsers, stemmers and corpus 
readers are bounded against denial-of-service input. Text that NLTK writes to 
the terminal, to CSV files, to the WordNet browser and to third-party tool 
input is sanitized against injection.</p>
   <p>Security changes you may notice</p>
   <p>Every refusal below raises with a message that starts with &quot;Security 
Violation&quot; and names the check, so a failure is easy to search for (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3877";>#3877</a>).</p>
   <ul>
   <li>Data directories (nltk.pathsec, nltk.data): corpora, models and every 
other resource are read and written only inside the directories listed in 
nltk.data.path. A path that leaves a data root, a symlink that points out of 
one, and a NUL byte or encoded traversal in a resource name are refused. A data 
root, or a directory on the way to a resource, that another account can write 
to is skipped with a warning naming the directory and the remedy. Keep private 
data in a private directory and add it to nltk.data.path; /tmp is not a data 
root. Model save and load methods (perceptron, maxent, named-entity chunker, 
Weka, crf, hunpos, Stanford) accept destinations inside a data root only (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3797";>#3797</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3753";>#3753</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3850";>#3850</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3761";>#3761</a>, <a 
href="https://r
 edirect.github.com/nltk/nltk/issues/3755">#3755</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3759";>#3759</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3760";>#3760</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3763";>#3763</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3806";>#3806</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3807";>#3807</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3808";>#3808</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3809";>#3809</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3813";>#3813</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3814";>#3814</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3815";>#3815</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3848";>#3848</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3851";>#3851</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3852";>#3852</a>, <a 
href="https://redi
 rect.github.com/nltk/nltk/issues/3853">#3853</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3863";>#3863</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3871";>#3871</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3888";>#3888</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3945";>#3945</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3961";>#3961</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3969";>#3969</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3981";>#3981</a>)</li>
   <li>Downloader: downloaded package archives stay private to the installing 
account (0600). An install another account must read is extracted: a download 
made as root or outside the installing account's home extracts on its own, and 
nltk.download(..., extract=True) / python -m nltk.downloader --extract (or 
--no-extract) decide explicitly. This also unpacks the packages the index 
leaves zipped (wordnet, omw-1.4 ...); the extracted files are readable by every 
account and are found before the archive. find() names an archive it cannot 
read and says how to extract it instead of reporting it &quot;not found&quot;. 
The downloader installs only into directories no other account can write to, 
treats an archive another account owns or can write to as stale and downloads 
it afresh, extracts only from an archive no other account could have changed 
since its checksum was verified, bounds the size of what it fetches, and 
refuses index entries and archive members that would write outside the pac
 kage directory (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3929";>#3929</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3804";>#3804</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3850";>#3850</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3778";>#3778</a>)</li>
   <li>Pickles: nltk.data.load(..., format=&quot;pickle&quot;) reconstructs 
plain data only; a pickle that names any class or function is refused. Model 
loaders that need classes use an explicit allowlist of audited globals, so a 
gadget such as os.system can never be reconstructed from a model file. chat80 
shelve values load the same way (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3794";>#3794</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3754";>#3754</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3757";>#3757</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3802";>#3802</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3817";>#3817</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3823";>#3823</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3824";>#3824</a>)</li>
   <li>XML, JSON and YAML: nltk.xmlsec refuses any document that declares an 
entity or references an external one (billion-laughs, external-entity and DTD 
attacks) and bounds the tree depth, and every corpus XML view, the downloader 
index, Toolbox and internals parse through it. JSON resources load with a depth 
and size bound; YAML (the markdown corpus front matter and nltk.data.load(..., 
format=&quot;yaml&quot;)) loads through a bounded safe loader. Oversized or too 
deeply nested input raises ValueError naming the limit (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3754";>#3754</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3805";>#3805</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3828";>#3828</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3933";>#3933</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3972";>#3972</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3974";>#3974</a>)</li>
   <li>Regular expressions (nltk.redos): every regular expression NLTK 
compiles, including one you pass to RegexpTokenizer, RegexpStemmer, 
RegexpParser, re_show, TokenSearcher.findall, tgrep, nltk.help tag-set lookups 
and the concordance and nemo GUIs, now goes through nltk.redos on the regex 
engine. A pattern longer than 100,000 characters, nested more than 100 deep, 
with more than 1,000 capturing groups or an excessive repetition product is 
refused with nltk.redos.error, a subclass of re.error; a match that runs longer 
than nltk.redos.DEFAULT_TIMEOUT (5 seconds) raises TimeoutError instead of 
hanging. Patterns keep re syntax; match objects are the regex engine's (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3825";>#3825</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3829";>#3829</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3830";>#3830</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3831";>#3831</a>, <a 
href="https://redirect.github.com/
 nltk/nltk/issues/3832">#3832</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3833";>#3833</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3834";>#3834</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3835";>#3835</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3836";>#3836</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3837";>#3837</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3838";>#3838</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3839";>#3839</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3840";>#3840</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3841";>#3841</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3842";>#3842</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3843";>#3843</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3844";>#3844</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3845";>#3845</a>, <a 
href="https://redirect.github.com/nlt
 k/nltk/issues/3846">#3846</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3796";>#3796</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3801";>#3801</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3906";>#3906</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3907";>#3907</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3908";>#3908</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3910";>#3910</a>)</li>
   <li>Regular expressions made linear: the leading-run and re-anchoring 
patterns that a timeout cannot catch were rewritten or bounded in the word, 
Treebank, blankline, TextTiling, toktok and syllable tokenizers, the readline 
of corpus streams, the CoNLL SRL, TIMIT, senseval, pl196x, NKJP, Alpino, YCOE, 
IEER, ACE, VerbNet, reviews and Lin readers, relextract, the valuation parser, 
the CCG lexicon parser, dependency grammars and chomsky_normal_form, each 
verified on the real corpus (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3947";>#3947</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3934";>#3934</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3932";>#3932</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3938";>#3938</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3935";>#3935</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3933";>#3933</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3869";>#3869</a>, <a href="h
 ttps://redirect.github.com/nltk/nltk/issues/3944">#3944</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3911";>#3911</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3909";>#3909</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3953";>#3953</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3895";>#3895</a>)</li>
   <li>Size, depth and time bounds: trees deeper than nltk.tree.MAX_TREE_DEPTH 
(500), WordNet and other relation walks deeper than 
nltk.util.MAX_RECURSION_DEPTH (500), tgrep deeper than 50, Toolbox deeper than 
500, dependency graphs deeper than 200, are refused with ValueError naming the 
limit rather than exhausting the stack, and the stemmers, distance metrics, 
skipgrams, parsers and grammar transforms run in linear or bounded time with 
identical output for legitimate input. chart_parse stops after 
nltk.parse.chart.DEFAULT_MAX_TIME (5 seconds of wall-clock, needed only for 
feature grammars; max_time=None disables it). Tree.<strong>repr</strong> no 
longer recurses, so a deep accepted tree prints (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3827";>#3827</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3885";>#3885</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3895";>#3895</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3767";>#3767</a>, <a hr
 ef="https://redirect.github.com/nltk/nltk/issues/3784";>#3784</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3917";>#3917</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3958";>#3958</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3960";>#3960</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3977";>#3977</a>)</li>
   <li>External tools and Java: a tool binary is resolved from an absolute path 
or a trusted search path only, never from the current directory; the binary, 
its directory and the model and data files handed to it must not be writable by 
another account (symlinked and multi-call executables such as a packaged 
Graphviz dot are supported). java() accepts a main class as the first argument 
only (no -jar, <a href="https://github.com/argfile";><code>@​argfile</code></a> 
or .java source file), validates its options against an allowlist, and loads 
jars only from a data root unless NLTK_ALLOW_UNSAFE_JARS=1 opts out with a 
warning. CoreNLP server options are allowlisted. Stanford, Malt, Senna, hunpos, 
Prover9, megam, TADM, Weka and crf wrappers validate their paths and the text 
they pipe to the tool against line and argument injection (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3772";>#3772</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3771";>#3771</a>, <a 
href="https
 ://redirect.github.com/nltk/nltk/issues/3975">#3975</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3743";>#3743</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3782";>#3782</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3788";>#3788</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3768";>#3768</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3798";>#3798</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3887";>#3887</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3858";>#3858</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3950";>#3950</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3951";>#3951</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3812";>#3812</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3816";>#3816</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3868";>#3868</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3894";>#3894</a>, <a 
href="https://
 redirect.github.com/nltk/nltk/issues/3941">#3941</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3850";>#3850</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3925";>#3925</a>)</li>
   <li>Network: the downloader, nltk.data.load of a URL and the CHILDES reader 
fetch through pathsec.urlopen, which refuses addresses that are not globally 
routable (loopback, private, link-local and multicast, including tunnelled and 
obfuscated forms), pins the validated address for the connection, allows 
file:// with a local authority only, and refuses a proxied fetch unless 
NLTK_ALLOW_PROXIED_URLOPEN=1 (or nltk.pathsec.ALLOW_PROXIED_FETCH = True) 
asserts the proxy is trusted. The CoreNLP client talks to its local server with 
requests and is not affected (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3847";>#3847</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3810";>#3810</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3750";>#3750</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3850";>#3850</a>)</li>
   <li>Terminal, CSV, DOT and HTML output: every print in the library goes 
through nltk.termsec.safe_print, which renders control characters, escape 
sequences and unbalanced bidi overrides from corpus text as visible \xNN 
escapes instead of letting them reach the terminal. The CSV files the twitter 
and sentiment helpers write neutralise formula-leading and control-sequence 
cells, AlignedSent DOT labels are escaped, the WordNet browser escapes corpus 
text, and nltk.data.load's verbose output no longer prints the full resource 
URL (PR <a href="https://redirect.github.com/nltk/nltk/issues/3914";>#3914</a>, 
<a href="https://redirect.github.com/nltk/nltk/issues/3915";>#3915</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3937";>#3937</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3946";>#3946</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3931";>#3931</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3930";>#3930</a>, <a 
href="https://redirect.github.
 com/nltk/nltk/issues/3856">#3856</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3902";>#3902</a>)</li>
   <li>Corpus stores and encodings: the PanLex Lite and chat80 sqlite stores 
open read-only on a pinned descriptor with their schema screened and a 
statement step budget, chat80 shelves are read by a key manifest, Toolbox SFM 
markers are sanitised, and a resource encoding that is not a text codec 
(bz2_codec and friends) is refused (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3961";>#3961</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3964";>#3964</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3959";>#3959</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3888";>#3888</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3800";>#3800</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3962";>#3962</a>)</li>
   <li>Package contents: the wheel no longer ships nltk.test.unit (the attack 
harnesses, advisory probes and their fixtures), so pip install nltk is about 
half the size and import nltk.test.unit works from a source checkout or the 
sdist only. The doctests under nltk.test still ship (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3954";>#3954</a>)</li>
   </ul>
   <p>Security test and CI infrastructure</p>
   <ul>
   <li>Attack and regression harnesses, advisory probes, the sandbox conftest 
fixtures, the pre-commit guards (no unsandboxed open, every regex through 
redos, every pickle through picklesec, every print through safe_print), 
load-invariant CPU-time timing rules, CI matrix and runner fixes, pinned 
third-party downloads, and the AUTHORS update (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3744";>#3744</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3749";>#3749</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3762";>#3762</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3764";>#3764</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3770";>#3770</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3776";>#3776</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3791";>#3791</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3795";>#3795</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3803";>#3803</a>, <a href="htt
 ps://redirect.github.com/nltk/nltk/issues/3818">#3818</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3820";>#3820</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3821";>#3821</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3822";>#3822</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3849";>#3849</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3855";>#3855</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3860";>#3860</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3861";>#3861</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3862";>#3862</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3864";>#3864</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3865";>#3865</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3866";>#3866</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3876";>#3876</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3884";>#3884</a>, <a 
href="https:
 //redirect.github.com/nltk/nltk/issues/3899">#3899</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3904";>#3904</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3905";>#3905</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3912";>#3912</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3917";>#3917</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3924";>#3924</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3926";>#3926</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3927";>#3927</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3939";>#3939</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3940";>#3940</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3943";>#3943</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3948";>#3948</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3949";>#3949</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3963";>#3963</a>, <a 
href="https://r
 edirect.github.com/nltk/nltk/issues/3968">#3968</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3971";>#3971</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3976";>#3976</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3982";>#3982</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3983";>#3983</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3984";>#3984</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/3985";>#3985</a>)</li>
   </ul>
   <p>Other changes</p>
   <ul>
   <li>Added RTL language syntactic tree visualization support (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3472";>#3472</a>)</li>
   <li>Fix <a 
href="https://redirect.github.com/nltk/nltk/issues/3394";>#3394</a>: Ensure 
punkt_tab is downloaded when punkt is requested (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3505";>#3505</a>)</li>
   <li>Show README.md as the PyPI long description (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3746";>#3746</a>)</li>
   <li>Add stopwords.words(&quot;english-extended&quot;) (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3747";>#3747</a>)</li>
   <li>Krippendorff's alpha: treat placeholder labels as missing data (<a 
href="https://redirect.github.com/nltk/nltk/issues/2865";>#2865</a>, <a 
href="https://redirect.github.com/nltk/nltk/issues/2732";>#2732</a>) (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3752";>#3752</a>)</li>
   <li>Fix shared defaults in chat80 Concept (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3773";>#3773</a>)</li>
   <li>Fix Java wrappers decoding str output from java() (universal_newlines) 
(PR <a href="https://redirect.github.com/nltk/nltk/issues/3777";>#3777</a>)</li>
   <li>Prevent IndexError in Hungarian stemmer on empty string (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3785";>#3785</a>)</li>
   <li>Isolate MTE tag filters per view (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3792";>#3792</a>)</li>
   <li>Fix newline in ellipsis tokens in TweetTokenizer (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3819";>#3819</a>)</li>
   <li>Isolate default WordNet reference relations (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3872";>#3872</a>)</li>
   <li>Fix resolution paths that cancel distinct literals (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3878";>#3878</a>)</li>
   <li>Fix UTF-8 text preprocessing in NKJP corpus reader (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3879";>#3879</a>)</li>
   <li>Remove shadowed FeatStruct._walk stub and preserve its docstring (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3893";>#3893</a>)</li>
   <li>Count all increasing pairs in RIBES kendall_tau (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3900";>#3900</a>)</li>
   <li>Fix the TweetTokenizer ZWJ emoji pattern capturing adjacent whitespace 
(PR <a href="https://redirect.github.com/nltk/nltk/issues/3913";>#3913</a>)</li>
   <li>Surface the CoreNLP server's reason for a non-2xx answer (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3942";>#3942</a>)</li>
   <li>Omit unaligned (NULL target) pairs from Alignment strings, so IBM model 
output prints (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3967";>#3967</a>)</li>
   <li>Fix DependencyGraph cycle detection, which returned False on every 
parsed graph (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3978";>#3978</a>)</li>
   <li>Show, range and draw an alignment with an unaligned pair on every 
surface (PR <a 
href="https://redirect.github.com/nltk/nltk/issues/3987";>#3987</a>)</li>
   </ul>
   <p>Thanks to the following contributors to 3.10.4: Zhewen Tan, Yanhaoxi, 
Yazan Balawneh (Cystack.ps),
   Abdulmoyn Sommakieh, Golitsin Vyacheslav, Mingzhe Yu, 宁岑, Tai An, 区梓灏, Tom 
Aarsen, Raffi Enficiaud,</p>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/nltk/nltk/commit/5c41fc04a45e95577a83f3914acda211a994be00";><code>5c41fc0</code></a>
 Merge pull request <a 
href="https://redirect.github.com/nltk/nltk/issues/3990";>#3990</a> from 
alvations/deflake-span-teeth-control-20261021</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/a517c6432f5a12b9c190f4a58a7843a0a541a7bd";><code>a517c64</code></a>
 Make the span_tokenize teeth control compute-bound so Windows reads its 
quadr...</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/b8cfc967a4859012f4546f07e609386853d61dc8";><code>b8cfc96</code></a>
 Merge pull request <a 
href="https://redirect.github.com/nltk/nltk/issues/3989";>#3989</a> from 
alvations/release-notes-thanks-20261021</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/dd1254e21757a21b60a7a7d3a8d92a8b067b92c8";><code>dd1254e</code></a>
 Merge pull request <a 
href="https://redirect.github.com/nltk/nltk/issues/3988";>#3988</a> from 
alvations/harness-3913-zwj-20261021</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/8fd879fbf43e4a1004197cf4eb00c0436cd29954";><code>8fd879f</code></a>
 Credit every contributor since 3.10.3 in the release notes and AUTHORS.md</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/7e33e789d89610be47c5f40d4191755f07b4a385";><code>7e33e78</code></a>
 Merge remote-tracking branch 'origin/develop' into 
release-notes-thanks-20261021</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/44f26f7da85bd8975ace6ef475878d8d4425bd66";><code>44f26f7</code></a>
 Merge pull request <a 
href="https://redirect.github.com/nltk/nltk/issues/3987";>#3987</a> from 
alvations/audit-3967-alignment-20261021</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/1dffe0f716429ea480701274b77f1944c71e1634";><code>1dffe0f</code></a>
 Pin the TweetTokenizer ZWJ alternative: linear on repeated shapes, no 
whitesp...</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/3773795e6d486e91a0c40a526b4a391ffd9c7f05";><code>3773795</code></a>
 Add <a href="https://redirect.github.com/nltk/nltk/issues/3913";>#3913</a> and 
<a href="https://redirect.github.com/nltk/nltk/issues/3967";>#3967</a>, merged 
after the snapshot, to the 3.10.4 notes</li>
   <li><a 
href="https://github.com/nltk/nltk/commit/aaa6531cf53f4783b30b0465c3bfda29f396e71b";><code>aaa6531</code></a>
 Show, range and draw an alignment with an unaligned pair on every surface</li>
   <li>Additional commits viewable in <a 
href="https://github.com/nltk/nltk/compare/v3.10.3...v3.10.4";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nltk&package-manager=pip&previous-version=3.10.3&new-version=3.10.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/beam/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to