Comments (43)
.NET Core support was merged into ikvm-revived/ikvm! Would it be possible to use this IKVM version as a dependency to enable .NET Core support?
from stanford.nlp.net.
I'll try to make a try in this repo:
https://github.com/SleepyDeb/JSharp
from stanford.nlp.net.
IKVM has already a full supporto of java 8 runtime, java 9 will be not supported by Jeroen Frijters, maybe will be developed by others developers
from stanford.nlp.net.
Hey guys, im really near to release a net core version of ikvm :D!
from stanford.nlp.net.
Hello, I am attempting to perform NER on a dotnet core project. But I am getting an exception( Method not found). Could this be attributed to lack of support for dotnet core? I have the latest packages installed and my java version is java 9.0.4.
Much Thanks.
from stanford.nlp.net.
IKVM-8.2.0 now supports .NET Core/.NET 5+
#119
https://www.reddit.com/r/dotnet/comments/vqqpqb/ikvm_820/
from stanford.nlp.net.
It is question to @jfrijters
everything depend on plans to port IKVM.NET
https://sourceforge.net/projects/ikvm/
from stanford.nlp.net.
So, IKVM.net died today...
Does it mean that project wouldn't be able for dotnet core at least in the near future?
from stanford.nlp.net.
@Stanwar sorry, nobody triednetcore
yet.
Could you please try to run CoreNLP
as a server on your java machine and just communicate with the server using client - here is the how to
from stanford.nlp.net.
Thanks a lot @sergey-tihon I will try this out. I was able to run coreNLP on .NET without any issues but I will continue to try it on dotnet core.
from stanford.nlp.net.
@Stanwar sorry, nobody tried
netcore
yet.Could you please try to run
CoreNLP
as a server on your java machine and just communicate with the server using client - here is the how to
Any idea if there is an update or at least a plan to update this? I do understand dependency of IKVM is vital here, but did anyone try a different approach? i.e minimise dependency by running CoreNLP as a server.
Latest I tried was running CoreNLP as a server on .NET Core 2.2.5 but still getting the usual MissingMethodException exception
MissingMethodException: Method not found: 'Void System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.Security.AccessControl.FileSystemRights, System.IO.FileShare, Int32, System.IO.FileOptions)'.
from stanford.nlp.net.
The most realistic future is .NET 5 with
Java interoperability will be available on all platforms.
As of today, the most robust approach is to use CoreNLP Server and run it separately on JVM or as Docker container
from stanford.nlp.net.
@SleepyDeb how's it going? :)
from stanford.nlp.net.
@SleepyDeb Have you released the net core version of ikvm.
from stanford.nlp.net.
Same here .. any news on net core version of ikvm?
from stanford.nlp.net.
Not sure if we really need it... I hope .NET 5 (Java interoperability will be available on all platforms.
) will simplify usage of Java packages.
IKVM details are here sergey-tihon/OpenNLP.NET#5 (comment)
from stanford.nlp.net.
from stanford.nlp.net.
How can I use this new version?
from stanford.nlp.net.
@danasagi there is no IKVM for .net core and there no Stanford.NLP.NET for .net core
from stanford.nlp.net.
So the mentioned above (the branch that was merged to master with the new ctor) is not relevant? @sergey-tihon
from stanford.nlp.net.
I see the repo with last commit (25 May 2020) and no NuGet package released. So yes, it is irrelevant now.
from stanford.nlp.net.
@sergey-tihon now that IKVM 8.2 support net core/NET 5+ when can we expect a new version of stanford.nlp.net with support for this? are there any big changes there?
from stanford.nlp.net.
@agonzalezm
ikvmnet/ikvm-maven#8
This provide instruction to generate .NET Core IKVM dll based on maven repository
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.4.0</version>
https://mvnrepository.com/artifact/edu.stanford.nlp
from stanford.nlp.net.
@atrauzzi
Please close this issue :-)
from stanford.nlp.net.
@agonzalezm do not expect it soon.
We did attempt to port simpler and smaller library (Open.NLP) and it even exist on NuGet.
We did it with IKVM 8.2.0-prerelease.392 -sergey-tihon/OpenNLP.NET#14, but latest (aka stable/released version of IKVM does not work for me at all, like here sergey-tihon/OpenNLP.NET#16
If you need it now, please try new <MavenReference>
or <IkvmReference>
and try to transpile jar as part of your build process.
@GeorgeS2019 do you have working sample of MavenReference
+ https://mvnrepository.com/artifact/edu.stanford.nlp ?
from stanford.nlp.net.
@sergey-tihon
The ikvm maven, if you read the issues, not yet free of issues. I tried other maven library, One need to do the test of the created dll.
You have far more experience. It is not trivial what you have done to support us.
Thanks for sharing with us the challenges you have faced.
Let us help each other to get there.
from stanford.nlp.net.
Potentially, it could be a TDD way to test the created dll. In this way, it will be easier for the community to keep up with the latest (e.g. nightly) developments.
from stanford.nlp.net.
@sergey-tihon I'm the guy doing most of the new IKVM development. I stumbled across this because @GeorgeS2019 opened a bug on the IKVM side for something.
We did it with IKVM 8.2.0-prerelease.392 -sergey-tihon/OpenNLP.NET#14, but latest (aka stable/released version of IKVM does not work for me at all, like here sergey-tihon/OpenNLP.NET#16
If that build is to be believed, it looks like a simple matter of not specifying the appropriate -reference arguments to the command. These are required when doing .NET Core, since there's no stable way of determining them programmatically. csc.exe suffers from the same issue.
from stanford.nlp.net.
@GeorgeS2019 You say there is some IKVM.Maven.Sdk bug regarding this? Can you point that out. I am not tracking any breaking bugs in IKVM.Maven.Sdk. Just a handful of situations where people aren't exactly understanding how Maven works (underspecified optional dependencies) and some recurring problem with Apache Tika's class loading.
But nothing that should prevent OpenNLP from working, if used properly.
from stanford.nlp.net.
Everything is .NET6
Using this project configuration
Get these Stanford-CoreNLP dlls:
Did a VERY quick and dirty check of the provided StanfordNLP.CoreNLP.Tests
from stanford.nlp.net.
Yeah.... So what's the error? And can you put it on the IKVM-maven repo?
from stanford.nlp.net.
To get these tests right, the directory of the models and test data must be in the right place and it is unclear whether I have included all the DLL generated. Ideally, all generated Dlls are put in a separate folder. (As I said this is quick and dirty)
The aim is to show that your ikvm (.NET6) is working, we need to investigate further.
from stanford.nlp.net.
There is no need to do anything with generated DLLs. You simply add maven reference and you're done. That's the goal.
from stanford.nlp.net.
There is no need to do anything with generated DLLs. You simply add maven reference and you're done. That's the goal.
Good to know
from stanford.nlp.net.
PoC OpenNLP using MavenReference
<ItemGroup>
<MavenReference Include="opennlp-tools" Version="1.9.1" GroupID ="org.apache.opennlp" />
<MavenReference Include="opennlp-uima" Version="1.9.1" GroupID ="org.apache.opennlp" />
<MavenReference Include="opennlp-morfologik-addon" Version="1.9.1" GroupID ="org.apache.opennlp" />
<MavenReference Include="opennlp-brat-annotator" Version="1.9.1" GroupID ="org.apache.opennlp" />
</ItemGroup>
There are 3 stages to getting this to work:
- Resolve/download Maven Dependencies to
obj/jar/
directory - Execute
ikvmc
on the items inobj/jar/
for each target framework - Self-copying the
.targets
file and<MavenReference>
s recursively to each project that depends on us duringdotnet pack
from stanford.nlp.net.
That repository is two months old and has no relationship to the released version.
from stanford.nlp.net.
@wasabii The biggest challenge for new adopters to the new possibilities offered by you and your contributors are the ASSUMPTIONS that the new adopters could follow your latest thinking.
IKVM has existed for many many years.
However, now we have Ikvm.Maver and Ikvm.SDK.
Many need time to figure out how to catch up.
Leaving all attempts (especially PoC, although 2 to more months old) is critical to catching up with the new visions.
from stanford.nlp.net.
I don't exactly know what you're saying. You are grabbing a private repository hosted by NightOwl that he hasn't updated in two months.
IKVM.Maven.Sdk is located at https://github.com/ikvm-revived/ikvm-maven, on the official IKVM organization. Said page has a fairly detailed README right on the front. And the package is published in NuGet with an official name.
It can't get any more clear than that I don't think.
from stanford.nlp.net.
You are doing a great job. However, I am in the business of effective communication
Said page has a fairly detailed README
Not everyone works the same way you write. You have done a great job. Now, let the community helps each other to catch up your speed.
from stanford.nlp.net.
That repository is two months old and has no relationship to the released version.
@wasabii
I apologize, you are right, the two months old may not reflect a better result with the latest Ikvm-revived commit
from stanford.nlp.net.
@sergey-tihon Thanks for making the .NET Co works.
I built, mainly build Test part fails
from stanford.nlp.net.
The UNPACKING did not work for TWO folders
- data\paket-files\nlp.stanford.edu\stanford-parser-full-2020-11-17
- data\paket-files\nlp.stanford.edu\stanford-corenlp-4.5.0
from stanford.nlp.net.
from stanford.nlp.net.
Related Issues (20)
- c# issues HOT 6
- snk file not found HOT 3
- Calssifier Demo and how i can do it ? HOT 1
- Setup config HOT 3
- Assembly 'Assets/Plugins/stanford-corenlp-3.9.2.dll' will not be loaded due to errors HOT 1
- POS-Tagging in other languages HOT 4
- Add samples of loading configuration from config.properties file
- The new .NET Core merge works except very minor issues HOT 1
- Feedback Additional Standford.NLP Tools: PyTorch Dependency Parser HOT 1
- Help needed: Getting Dependency Visualization Brat to work in Blazor
- CoreNLP Server HOT 6
- Tests for other Langauges HOT 4
- Signed version for stanford.nlp.PosTagger HOT 2
- Upgrade 4.5.5? HOT 4
- System.TypeLoadException: Could not load type 'ikvm.internal.ClassLiteral` HOT 2
- Relationship between NLP, NER, Segmenter HOT 1
- SimpleTensor ClassNotFoundException - Wrong directory? HOT 4
- How do I get constituents from a tree annotation? HOT 10
- Is is possible to loop through the dependencies of the Semantic Graph Annotation? HOT 1
- Transform Words into Sentences and Paragraphs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stanford.nlp.net.