You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to write a wrapper for gnfinder in R (and making some decent progress) so that a user could pass a data frame with texts to gnfinder and receive a data frame with the parsed json as the results.
I have a quick question about the options for the -l flag. I can see that "eng" is available but could you mention what the other options might be for the -l flag? I may have missed something so apologies in advance if that is the case.
Many thanks and I will let you know when I get to the stage of posting the package on GitHub... as usual I spent today on a rethink and rewrite!
Best, Paul
The text was updated successfully, but these errors were encountered:
@poldham the -l flag currently only supports two options eng and deu. I do plan to add more langugages in the future, but for now it is more of a proof of concept feature. I am curious how do you connect gnfinder with R? Do you use pipes, clib binding or gRPC interface?
Thanks very much @dimus. I have left “eng” as default for the moment and put it on the to do list. To connect gnfinder with R I am writing the calls with the glue package, then simply passing the calls to system() and then collecting the json to parse into data frame(s). Confined to the content of `names` in the JSON at the moment. As R is single core it will be slow for larger sets but I hope to go parallel using the future package (which works cross platform).
On 24 Jul 2020, at 01:38, Dmitry Mozzherin ***@***.***> wrote:
@poldham <https://github.com/poldham> the -l flag currently only supports two options eng and deu. I do plan to add more langugages in the future, but for now it is more of a proof of concept feature. I am curious how do you connect gnfinder with R? Do you use pipes, clib binding or gRPC interface?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#56 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACTUB4CRAIDCSPGMOHVCFKLR5DJWXANCNFSM4PF66DNA>.
HI @dimus,
I am attempting to write a wrapper for gnfinder in R (and making some decent progress) so that a user could pass a data frame with texts to gnfinder and receive a data frame with the parsed json as the results.
I have a quick question about the options for the -l flag. I can see that "eng" is available but could you mention what the other options might be for the -l flag? I may have missed something so apologies in advance if that is the case.
Many thanks and I will let you know when I get to the stage of posting the package on GitHub... as usual I spent today on a rethink and rewrite!
Best, Paul
The text was updated successfully, but these errors were encountered: