Your message dated Tue, 26 Feb 2013 21:02:48 +0000
with message-id <e1uarfk-0004ub...@franck.debian.org>
and subject line Bug#700914: fixed in wordnet 1:3.0-29
has caused the Debian Bug report #700914,
regarding Index process error in morphstr() function
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
700914: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700914
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: wordnet
Severity: serious

Forwarded from launchpad by Sundaram Ramaswamy
LP: #305407

---------------------------------------------------------------

Hi,
I am working on Wordnet for a particular project. I installed Wordnet
in Ubuntu via Synaptic, the latest package to date. Tried searching
"automata" in the Wordnet Browser (bash-command: wnb), it returned 0
results, while the installed Wordnet in Windows (installer from
Wordnet's site) shows a couple of definitions for "automata". In fact,
the latest version of Wordnet for Windows is just 2.1 while Linux's is
3.0.

Bascially, Wordnet's function morphstr() is supposed to give the root
words for a given inflected word. For example, when "knifes" is given
to morphstr, it returns "knife". Likewise for "axes" it should return
"ax", "axe" and "axis". It first searches an exceptions list file
(because of peculiar cases like axes), when it has an entry in it, it
returns the file's results. If not found in the list, it tries to
predict the root. While the prediction part (e.g. knifes) works fine
in Ubuntu, the search from file part doesn't (e.g. axes, automata,
etc.)

When I compared the source code of Wordnet (morph.c of Windows and
Linux), its the same for both the OSs (they have just used
preprocessor switches for the differences). This needs to be fixed
from our side, since Wordnet's source code doesn't have any
errors/diffs, as the same code is present on both the OSs. The Windows
installer was packaged by Wordnet guys themselves, while the deb was
packaged from their source by someone of Ubuntu/Deb guys, I guess.

PS: When I wrote my own code, and tried using morphstr(), I could spot
the error with Ubuntu's packaged wordnet.lib. The problem is that,
morphstr takes two args; 1: inflected word, 2: POS (Part of Speech -
NOUN, VERB, etc.) E,g. morphstr("knifes", NOUN); will return "knifes"
using the prediction technique (works right in Ubuntu). When I call
morphstr("automata", NOUN) it returns NULL but when I call
morphstr("automata", NOUN - 1); it returns "automata". Likewise, for
any word, which has an exception in the exception list file, when we
pass the actual POS value minus 1, we get the proper values. It has
some array indexing issue, I believe. The reason why Wordnet Browser
doesn't show "automata"'s definitions in Linux is that morphstr() when
called with proper POS value returns NULL, while in Windows, it
returns correct values for the same set of arguments, so Wordnet
Browser in Windows shows it.


-------------------------------------------------------------
I notice that 51_overflow.patch modify the index while it is not
processed correctly
and it is also not needed.

The attacement  is the new 51_overflow.patch with some hooks droped.
It works well now.

--
YunQiang

Attachment: 51_overflows.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: wordnet
Source-Version: 1:3.0-29

We believe that the bug you reported is fixed in the latest version of
wordnet, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 700...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gl...@debian.org> (supplier of updated wordnet package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 26 Feb 2013 20:40:25 +0100
Source: wordnet
Binary: wordnet wordnet-gui wordnet-dev wordnet-base wordnet-sense-index 
wordnet-grind dict-wn goldendict-wordnet
Architecture: source all amd64
Version: 1:3.0-29
Distribution: unstable
Urgency: low
Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Anton Gladky <gl...@debian.org>
Description: 
 dict-wn    - electronic lexical database of English language for dict
 goldendict-wordnet - electronic lexical database of English language for dict
 wordnet    - electronic lexical database of English language
 wordnet-base - electronic lexical database of English language (base data)
 wordnet-dev - electronic lexical database of English language (development libr
 wordnet-grind - WordNet lexicographer files processor
 wordnet-gui - electronic lexical database of English language
 wordnet-sense-index - electronic lexical database of English language 
(index.sense)
Closes: 700914
Changes: 
 wordnet (1:3.0-29) unstable; urgency=low
 .
   * Team upload.
   * Fix index processing error in morphstr() function.
     Closes: #700914
Checksums-Sha1: 
 ff3bb64d0c785be4953947e33d6558efc4ca8a8e 2514 wordnet_3.0-29.dsc
 6d441377a38fee563f43e570e815bfbfdddd54b6 90251 wordnet_3.0-29.debian.tar.gz
 f680088d9271c8a0192f4c67f15b30f7ef2832d7 8762284 wordnet-base_3.0-29_all.deb
 5e3ffd34075da18c1d012b1fc61d6d806e1e30db 2243388 
wordnet-sense-index_3.0-29_all.deb
 00b16e47b9be6582406ca0866024a53b63b0410d 10896170 dict-wn_3.0-29_all.deb
 a0e34d61302fa93ff67a910938ce0600ac76ad20 17012330 
goldendict-wordnet_3.0-29_all.deb
 a2ecf1d38d913be0941f59d3d9de1df29ed47451 75670 wordnet_3.0-29_amd64.deb
 fbd0f73c90274c960da6d403ae6935396dd1338f 51418 wordnet-gui_3.0-29_amd64.deb
 245de6bb29a49b3507da1a4697fca77686581dda 71052 wordnet-dev_3.0-29_amd64.deb
 b960e902dd7a3452729c56dbf7aeed5527a14bf9 47656 wordnet-grind_3.0-29_amd64.deb
Checksums-Sha256: 
 ba7dc266b8d54ddcff596895ba8b2ec69d6a951d54c83296fd80fce083e176cf 2514 
wordnet_3.0-29.dsc
 96939c849ad01f24634e1bcb728008ab6d5bf7deb72785297a0dd99172c029e8 90251 
wordnet_3.0-29.debian.tar.gz
 840b5c81fc7dd71d5d30be200d255839ebb08eebab4a8bb6c0ff01be6742e87b 8762284 
wordnet-base_3.0-29_all.deb
 4aeb352ada1a88671f317c10979690e69bf2c4bf7aac40c79d3105bbc44f538e 2243388 
wordnet-sense-index_3.0-29_all.deb
 a528e13e015cc80165015c02f6df57cd5f90ba265acceb65248067302af2c6f0 10896170 
dict-wn_3.0-29_all.deb
 1b557c04eee8c3bd516dbb674d5cd4c2d3f0cc8ebb31bc673a99eae0ca5007af 17012330 
goldendict-wordnet_3.0-29_all.deb
 299e63c287cc4c0563f591337a7c9b946062ea772ee1d5c187dab363467a349c 75670 
wordnet_3.0-29_amd64.deb
 7bf11391cf1c4b7aba2460ddfc7a525740bbf8ee71c7b4c18bf41ac016e46eac 51418 
wordnet-gui_3.0-29_amd64.deb
 b2ff47c252b57167509ddaae879a1cb8273c5d7c9527e1692e1e528652029f15 71052 
wordnet-dev_3.0-29_amd64.deb
 566fafac308cbf55c41fa9fb389ddbde7b3b46367f999ac788ccfec2c74d4daa 47656 
wordnet-grind_3.0-29_amd64.deb
Files: 
 8f82908968cf0fac9f8e4d7c14119e42 2514 text optional wordnet_3.0-29.dsc
 79e88d7f73275620e6eacbf016d5b805 90251 text optional 
wordnet_3.0-29.debian.tar.gz
 d55fa9511160579771ccfb4a52d7d032 8762284 text optional 
wordnet-base_3.0-29_all.deb
 ae74caa56f09f82365dd52323ba9bd65 2243388 text extra 
wordnet-sense-index_3.0-29_all.deb
 57397df54f278c3bb4f8f47dd58407e5 10896170 text optional dict-wn_3.0-29_all.deb
 39e78daf0e6e0014686b97b7ddf54c65 17012330 text optional 
goldendict-wordnet_3.0-29_all.deb
 ed21760a41cf2b188dd93107fb84ce20 75670 text optional wordnet_3.0-29_amd64.deb
 7a3c99731ed989ddd1caf7fcd9c420de 51418 text optional 
wordnet-gui_3.0-29_amd64.deb
 366763f6e450d3bfe84e837a93125748 71052 devel optional 
wordnet-dev_3.0-29_amd64.deb
 03552cd9c3e7e42cabd7d4de303d71dc 47656 text extra 
wordnet-grind_3.0-29_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJRLRgoAAoJENPhc4PPp/8GyiYP/ja44Jw0cjs9gbGK0t3ZwDRX
l5XZ1pQJSdQeevRV/ZciBmZ6TfLc9bWU7X/LDf/zleKXQjsUO/lzcbYc5rcffbZk
uHN5xXGbnzr2O9HVLXdOyYDtC63izgpb3LcEdxd2MqheBlNN6a0olk/YbBjy5Q4t
0WZ0EjAv3VwMFZxSj52BUZWyAnHjFTDJ2zF+LToQyXsDvqBEqtofoQ51M6SN2bbr
XqsDgq1NHIW63PoQUvE6z61o7Db7ZlWUQCScqYB4M5ghPzJJ4A7Y5Z63c9shf9/N
pNPMx1fXVXHPVIh8DiU/hfQqzW3vLe2lnNrTflqjMoxyil4/skCl8aNbUN+SSYtE
TsysKJ0Z5fsPhL4i4/01JFEr4ITpL0eFhjU4I/3dq4imgBx6Ksbb0s4UzsPvqBoQ
fmsTEU/LUQ2kMH7Q6jHW0+6m/DIFxr3Q7K54Y4I8gyqAuy4ejzcWZs4zr4R62cqK
dGw3CnagD+X1QwFDhp5cALHJZrMe5Hqo/kXR9bR5rK8rYIzWb9X20D3gATHe+OLU
srz+YgKCNTV7AJPle4zKpBkVecmPOtegISycko3DKbeehlvBIJ7ljDYJMQyHVkO5
NIya9gPZK1H+PD9mjbioH5ja8IVKA1NNn0lmQDgbIP3MS54jigEY96NA+qNDrxbl
r11SI6tkiWtlbkdOOjde
=i8b4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to