Hi Benjamin,
If what you're looking for are the lemmas of tokens, just use the
DependencyParser instead of LVG
I had another problem with LVG as well, but I think that it might be simply
that all the needed resources are not being copied into the right place.
This was done without the lvg
{
"_type": "ConllDependencyNode",
"sofa": 1,
"begin": 3,
"end": 10,
"id": 2,
"form": "decided",
"lemma": "decide",
"cpostag": "VBD",
"postag": "VBD",
"feats": "_",
"head": 137,
"deprel": "root",
"pdeprel": "_"
}
On Wed, Aug 18, 2021 at 7:29 AM Finan, Sean <
[email protected]> wrote:
> Hi Benjamin,
>
> My first question is: what pipeline are you trying to run?
>
> My second question is: Do you really need to use LVG?
>
> Sean
> ________________________________________
> From: Benjamin hansen <[email protected]>
> Sent: Wednesday, August 18, 2021 3:07 AM
> To: [email protected]
> Subject: An exception occured while executing the Java class. URI is not
> hierarchical [EXTERNAL]
>
> * External Email - Caution *
>
>
> While working at a simple pipeline example I got this error:
>
> *java.lang.IllegalArgumentException*: *URI is not hierarchical*
>
> *at* java.io.File.<init> (*File.java:420*)
>
> *at* org.apache.ctakes.lvg.resource.LvgCmdApiResourceImpl.load (
> *LvgCmdApiResourceImpl.java:65*)
>
>
> I found that this issue has already been reported 4 years ago here
>
> https://urldefense.com/v3/__https://issues.apache.org/jira/browse/CTAKES-445__;!!NZvER7FxgEiBAiR_!9HBmXkq30TUdwnSpuHc8_7iEVkoMAiJ3p_rSTXE5d90TARHEdioOMNukOUaL6eB5CboTRBMsOYI$
>
>
> I am on MacOS which the workaround patched proposed in that thread does not
> fix... And like the last comment in the thread says - the patch likely also
> does not work on linux.
>
>
> This seems to be quite a serious bug since both mac and linux would be
> serious development and production platforms for ctakes users.
>
>
> Is there no fix for this after 4 years?
>