Comments (2)
thanks for the report. will be looking in to it but you can also easily fetch this in your script as in
x <- " "
if(nchar(gsub("[[:space:]]", "", x) == 0)){
stop("no tokens in x")
}else{
pattern_pos(x, "english")
}
from pattern.nlp.
Closing as it's up to the user to handle such cases without tokens.
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
- Dutch sentiment analysis not working HOT 7
- How to apply to large dataframe HOT 6
- PyhtonInR not available anymore HOT 1
- Installation on R 3.3.2 HOT 3
- 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.