Package: liblink-grammar4
Version: 4.1.3-1
Severity: normal

Hi,

AbiWord does this:

m_Dict =
dictionary_create("en/4.0.dict","en/4.0.knowledge","en/4.0.constituent-knowledge","en/4.0.affix");

IMHO this is okay, but link-grammar restricts the language to english,
so AbiWord tries to load like so:

open("en/en/4.0.dict", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("./en/4.0.dict", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("./data/en/4.0.dict", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/share/link-grammar/en/en/4.0.dict", O_RDONLY) = -1 ENOENT (No such 
file or directory)

Note the double en/.

I think since we're at a stage where very few packages depend on
liblink-grammar, it might be opportune to submit a patch upstream that
would allow something like this to be done:

m_Dict = dictionary_create_language("en");

Library users shouldn't have to know about the versions of the grammar
databases, or any of the constituent files. That should all be behind
the curtain.

For now, though, maybe you can just revert that patch...

Thanks,
Josh

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)

Versions of packages liblink-grammar4 depends on:
ii  libc6                         2.3.5-13   GNU C Library: Shared libraries an
ii  link-grammar-dictionaries-en  4.1.3-1    Carnegie Mellon University's link 

liblink-grammar4 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to