Comments (7)
Try a bit more :) on installing pattern in python. https://www.clips.uantwerpen.be/pattern
from pattern.nlp.
Only problem I can see from that page is that I installed both pattern 2.6 and 3.6 using setup.py install since pip install gave errors.
I tried their examples in python 2.7 (pattern 2.6), python 3.6 (pattern 3.6) and your package in R.studio: all gave the same results matching their output.
For your example, it gives 0.00 in both python 2.7 and R, but (-0.2, 0.4) in python 3.6. I have no idea how this can happen, so can you help me out? I have to make sure the sentiment analysis is as accurate as possible once I apply it to a large data set.
from pattern.nlp.
Their example: "Een onwijs spannend goed boek!"
Your example: "We waren bijna bij de kooien toen er van boven een hoeragejuich losbrak alsof Rudi Vuller door Koeman in z'n kloten was geschopt."
from pattern.nlp.
I don't understand your problem. It seems to be working? This R package executes py <- findpython::can_find_python_cmd(required_modules = "pattern.db") at startup of the package to connect to pattern. If it finds that one it will use it. What does that command give for your computer.
from pattern.nlp.
Yes, it works, but the dutch example in your Read.me outputs different results for me (see above), so that worries me it won't be accurate on other sentences.
from pattern.nlp.
Why don't you just remove either the python2 or python3 pattern module, whichever you don't like.
from pattern.nlp.
Tried, did not change any results. It works fine on other sentences, so I think that specific example is just an outlier. Can you try the examples posted above (both in python and R) and send me your output just to make sure?
from pattern.nlp.
Related Issues (13)
- issues the installing HOT 11
- Cannot use := to add columns to a null data.table (no columns), HOT 2
- How to apply to large dataframe HOT 6
- PyhtonInR not available anymore HOT 1
- Installation on R 3.3.2 HOT 3
- Error when the input string does not contain any token HOT 2
- issue while installing pattern.nlp in R HOT 20
- Error installation Python HOT 1
- I can't install the package HOT 4
- Error in pyExec HOT 3
- Installation error HOT 13
- Both R and Python are 64-bit but the installation fails with 32 vs 64 bit error HOT 5
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 pattern.nlp.