Comments (1)
Single words are easier, because you are going trough every word once and you assign the features for that word (e.g. part of speech, starts with capital letter...)
If you were working with n-grams (pair of words) you would have to go trough the text multiple times - one iteration for 1, 2, 3, 4... word counts. Also the features get mixed (e.g. first word is a noun, the second is a verb)
That being said, nothing is stopping you from working with n-grams. It's just going to be more difficult to assign correct and meaningful features.
from question-generation.
Related Issues (14)
- Where is the part "Creating questions" ? Why did not you see it in this code? HOT 3
- Regarding Predicting Accuracy [ y_test vs y_pred ] HOT 1
- ValueError: operands could not be broadcast together with shapes (230, 121) (83, ) HOT 2
- Proper Documentation needed. HOT 6
- Requirements: failure to install spacy==2.2.0 HOT 1
- Transforming a fill-in-the-blank sentence to a natural question
- Is there any configuration where i could change the answer length HOT 3
- Cannot find a the main file, that implements all your components. HOT 5
- VC
- ValueError: operands could not be broadcast together with shapes (60,121) (77,) HOT 3
- Database HOT 2
- ValueError: operands could not be broadcast together with shapes (2448,122) (121,) HOT 6
- Linux Problem 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 question-generation.