-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample config file #8
Comments
Apropos of this recent query on the DKPro WSD mailing list, is there any chance this issue could be fixed? Presumably @zesch has a config file that demonstrates how to configure each of the LSRs supported by DKPro LSR? (I have a |
There is some documentation in the DKPro Similarity project:
https://dkpro.github.io/dkpro-similarity/settinguptheresources/
and also an example resources.xml
https://public.ukp.informatik.tu-darmstadt.de/dkprosimilarity/resources.xml
Does that help?
…-Torsten
On 10.06.19, 17:53, "Tristan Miller" <[email protected]> wrote:
Apropos of
this recent query on the DKPro WSD mailing list <https://groups.google.com/forum/#!topic/dkpro-wsd-users/IF-iRGPbiiI>, is there any chance this issue could be fixed? Presumably
@zesch <https://github.com/zesch> has a config file that demonstrates how to configure each of the LSRs supported by DKPro LSR? (I have a
resources.xml file but only for WordNet, GermaNet, Wiktionary, and Wikipedia.)
—
You are receiving this because you were mentioned.
Reply to this email directly,
view it on GitHub <#8?email_source=notifications&email_token=AAURBYDCOZUKPGEFHOQUTS3PZZ2GJA5CNFSM4CHPZ62KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKJC3I#issuecomment-500470125>, or
mute the thread <https://github.com/notifications/unsubscribe-auth/AAURBYHLEMPNRNE35MFFB5LPZZ2GJANCNFSM4CHPZ62A>.
|
Not really—the problem is that different LSRs take different positional arguments, but there is no documentation about them. The The mailing list enquirer wants to use OpenThesaurus, but I can't even find an example showing what arguments it needs. The best I'd be able to do is to reverse-engineer the DKPro LSR source code to determine what's required. Do you happen to have any documentation about which arguments are required for each type of LSR supported by DKPro LSR? Or at least a |
Ok, I see.
Unfortunately, I don't have a good example.
DKPro LSR is also not really maintained anymore as far as I know.
…-Torsten
On 11.06.19, 10:19, "Tristan Miller" <[email protected]> wrote:
Not really—the problem is that different LSRs take different positional arguments, but there is no documentation about them. The
resources.xml file you referred to contains beans only for Wiktionary, which takes two arguments, a language ID (looks to be the English-language name of the language, in upper case) and a path to a Wiktionary dump. Wikipedia resources, on the
other hand, take five arguments: a hostname, some sort of code that looks like it might identify an API or a database table, presumably a username and a password, and again some sort of language ID (again, not completely sure what scheme, but looks like another
English-language language name, but this time in lower case). WordNet takes a single argument, which looks like the path to an extJWNL
wordnet_properties.xml file.
The mailing list enquirer wants to use OpenThesaurus, but I can't even find an example showing what arguments it needs. The best I'd be able to do is to reverse-engineer the DKPro LSR source code to determine what's required.
Do you happen to have any documentation about which arguments are required for each type of LSR supported by DKPro LSR? Or at least a
resources.xml file that shows examples for each type of LSR?
—
You are receiving this because you were mentioned.
Reply to this email directly,
view it on GitHub <#8?email_source=notifications&email_token=AAURBYBSQWZ5CZNKBHGA4RDPZ5NZDA5CNFSM4CHPZ62KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXMKTDY#issuecomment-500738447>, or
mute the thread <https://github.com/notifications/unsubscribe-auth/AAURBYHITTEY5M5NNYCIZ2DPZ5NZDANCNFSM4CHPZ62A>.
|
This is what I could distill from a
So in principle you'd have to look up the constructors of the respective resource classes to see what constructor arguments they take. |
Sad if true, as DKPro Similarity depends on it. |
As far as I can tell, there is no documentation whatsoever about the config file format for DKPro LSR, nor is a sample file provided in the source tree. It's critical that we provide some documentation about the format, as well as an example file and instructions on where to put it so that DKPro LSR can find it. DKPro LSR cannot be used without a config file.
Is it possible there was some documentation about this on Google Code that didn't get migrated here to GitHub?
The text was updated successfully, but these errors were encountered: