<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>51985</bug_id>
          
          <creation_ts>2024-11-08 10:25:32 +0300</creation_ts>
          <short_desc>Resource wordnet not found</short_desc>
          <delta_ts>2024-11-15 17:28:02 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-nltk</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="majioa@altlinux.org">majioa</assigned_to>
          <cc>felixz</cc>
    
    <cc>slev</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>254130</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2024-11-08 10:25:32 +0300</bug_when>
    <thetext>Версия пакета: python3-module-nltk-3.9.1-alt1

Шаги воспроизведения:
```
# apt-get install python3-module-nltk
$ nltk
$ python3 -c &quot;import nltk&quot;
```

Получаемый результат:
```
Traceback (most recent call last):
  File &quot;/usr/lib/python3/site-packages/nltk/corpus/util.py&quot;, line 84, in __load
    root = nltk.data.find(f&quot;{self.subdir}/{zip_name}&quot;)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/site-packages/nltk/data.py&quot;, line 579, in find
    raise LookupError(resource_not_found)
LookupError: 
**********************************************************************
  Resource wordnet not found.
  Please use the NLTK Downloader to obtain the resource:

  &gt;&gt;&gt; import nltk
  &gt;&gt;&gt; nltk.download(&apos;wordnet&apos;)
```

Не воспроизводится в p11 с версией python3-module-nltk-3.8.1-alt1.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254568</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-11-15 17:28:02 +0300</bug_when>
    <thetext>python3-module-nltk-3.9.1-alt2 -&gt; sisyphus:

 Fri Nov 15 2024 Stanislav Levin &lt;slev@altlinux&gt; 3.9.1-alt2
 - Backported fix for WordNetLemmatizer (closes: #51985).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>