Comments (3)
Hey @kellyi, I am glad that you found the library useful and thank you for writing such a thorough bug report 🙂.
I cloned your repository and checked out b140a30
to debug this. It seems that when Webpack runs for the production build it tries to escape certain parts of our Regexp, changing
/[\₿\₽\₹\₨\$\£\¥\€\₩]/g
to
/[\u20bf\u20bd\u20b9\u20a8$\xa3\xa5\u20ac\u20a9]/g
, which is incorrect.
It doesn't seem to be making this optimization in the local build which is why that still works fine. This optimization is incorrect. Since you're using create-react-app
you might not be able to change the configuration till you eject 🙁.
We'll be making changes to circumvent this issue and releasing an update soon .
from wink-sentiment.
@kellyi, this should be fixed now. In your package.json
you can now add "wink-sentiment": "^5.0.2"
to use the new version.
Thanks again for reporting the issue!
from wink-sentiment.
Awesome! Thank you for fixing it so rapidly. I updated to use wink-sentiment 5.0.2 and it's now working as expected: https://react-sentiment-analyzer.netlify.com/
Thanks again for fixing this so quickly!
from wink-sentiment.
Related Issues (14)
- update wink-tokenizer dependency HOT 1
- change normalized score computation method
- update dependencies HOT 1
- Add n't to negation
- compute of sentiment scores of phrases properly
- update copyright notice year in README & License Header
- Support for multi lang HOT 1
- update dev dependencies
- change "homepage" in package.json to winkjs.org
- include fix details js doc
- add dependencies badge
- try to determine hashtag's sentiment HOT 1
- upgrade wink-tokenizer -> 2.3.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 wink-sentiment.