Comments (2)
Good suggestion. Did you have a method in mind for specifying the arguments ? Perhaps something like:
RiTa.kwic(word, opts); -> opts: windowSize=num(default=6), windowType=['words'(default) or 'characters' or 'sentences' ] ?
from ritajs-v2.
@dhowe yes, other window types would be good!
from ritajs-v2.
Related Issues (20)
- Enable ESM imports of bundle
- Add README gif
- Highlightjs bugs HOT 2
- Mocha tests from src and dist HOT 1
- Grammars in Twine HOT 8
- Pass context to observable 'rs' template HOT 13
- [Riscript] Intermittently failing test: RiTa.RiScript.Transform HOT 3
- randomWord returning same word if pos option passed HOT 4
- randomWord for pos: "rp" returns undefined HOT 2
- RiTa.pos("lancer") returns ReferenceError: Arrays is not defined HOT 4
- Aiii HOT 1
- Update grammar tutorial to use POJOs, mention JSON
- syllables() breaks in version 2.6.1 when it encounters digits HOT 1
- test long-running function with web-worker HOT 1
- Tokenizer not handling numbers correctly
- Upload images
- Expand() fails to hydrate context HOT 3
- Error: No valid sentence-starts remaining. RiMarkov. HOT 2
- Diacritical characters inconsistency with tokenize() 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 ritajs-v2.