Comments (13)
The model directory ends with \stanford-segmenter-2015-04-20\data";
from stanford.nlp.net.
Plz try to add these 3 lines
https://github.com/sergey-tihon/Stanford.NLP.NET/blob/master/tests/Stanford.NLP.Segmenter.FSharp.Tests/Segmenter.fs#L23-L25
// cc @volhav
from stanford.nlp.net.
hmm, no - you do not need these lines.
After small changes in sample from docs dbe091b
it should work like this
Note, that this is 32bit version of F# interactive
from stanford.nlp.net.
I need c# sample to work. Please kindly check. So far, most of my problem involving ikvm converted jar to dll hangs will loading large size of model. any advice?
from stanford.nlp.net.
The c# sample provide this on output window
The thread 0x35e8 has exited with code 259 (0x103).
The thread 0x1808 has exited with code 259 (0x103).
The thread 0x2d4c has exited with code 259 (0x103).
The thread 0x3d74 has exited with code 0 (0x0).
For more information to people debuging ikvm ported program
http://stackoverflow.com/questions/18887864/what-is-a-thread-exit-code
from stanford.nlp.net.
Finally, I get the output. Problem, it takes not 20+ seconds like in running java, but 15+ minutes. Not sure why. Second, the output is in wrong encoding.
闈㈠ 鏂?涓栫邯 锛?涓栫晫 鍚?鍥?浜烘皯 鐨?鍏卞悓 鎰挎湜 鏄?锛?缁х画 鍙戝睍 浜虹被 浠ュ線 鍒涢€?鐨?涓€鍒?鏂囨槑 鎴愭灉 锛?鍏嬫湇 20 涓栫邯 鍥版壈 鐫€ 浜虹被 鐨?鎴樹簤 鍜?璐洶 闂 锛?鎺ㄨ繘 鍜屽钩 涓?鍙戝睍 鐨?宕囬珮 浜嬩笟 锛?鍒涢€?涓€ 涓?缇庡ソ 鐨?涓栫晫 銆?
Perhaps, there is something wrong with loading the model file due to my window 8 setting in dealing with Chinese encoding. This explain why in my case, I find problem unique to me. However, for beginners who are not familiar with Chinese encoding, my experience hopefully helps others.
from stanford.nlp.net.
x32 ок x64 ? Could you try to build you app in Release mode for x32 arch?
from stanford.nlp.net.
could you send me a simple console zip file of compiled c# segmentation sample for me to diagnose what is wrong with my windows 8 visual studio 2013 issues ?
from stanford.nlp.net.
I have compiled x64 release, it has been more than 10+ minutes, I am still waiting for the output
from stanford.nlp.net.
would be interesting to compare it with the same code compiled for x32
from stanford.nlp.net.
Not sure I understand your rationale for doing so. I have started to move to java, abandoning .NET for stanfordNLP as I could not figure out the problem. Thanks for your help
from stanford.nlp.net.
May be this could help others learning Stanfordnlp:NET - contributed by you
https://visualstudiogallery.msdn.microsoft.com/540ac2d8-f881-4794-8b00-810d28257b70
from stanford.nlp.net.
I solved my problems.
I changed the testfile to avoid this. It has to do with my Windows 8 settings. Using new Chinese textfile or textstring defined in the code, I get the expected results.
Below only happens to the provided testfile. Have not figure out why yet.
闈㈠ 鏂?涓栫邯 锛?涓栫晫 鍚?鍥?浜烘皯 鐨?鍏卞悓 鎰挎湜 鏄?锛?缁х画 鍙戝睍 浜虹被 浠ュ線 鍒涢€?鐨?涓€鍒?鏂囨槑 鎴愭灉 锛?鍏嬫湇 20 涓栫邯 鍥版壈 鐫€ 浜虹被 鐨?鎴樹簤 鍜?璐洶 闂 锛?鎺ㄨ繘 鍜屽钩 涓?鍙戝睍 鐨?宕囬珮 浜嬩笟 锛?鍒涢€?涓€ 涓?缇庡ソ 鐨?涓栫晫 銆?
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.