Skip to content

Hardcoded sys path for libtexttextcat hinders the usage on shared clusters #23

@avapirev

Description

@avapirev

Hi,

On many, if not most, shared machines software is not installed in default Linux directories.
The code looks for a hard-coded OS path for "libexttextcat" in "frog_wrapper.pyx".

if os.path.isdir("/usr/share/libexttextcat")

If libexttextcat has been installed elsewhere then "python-frog" is useless.

It would be very helpful if instead that is simply a check if "libexttextcat" is in "LD_LIBRARY_PATH", e.g., something like:

if 'libexttextcattt' in os.environ['LD_LIBRARY_PATH']:

Serious computational linguistics workflows are currently way beyond the usage on personal laptops and deskstations.

Best.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions