https://github.com/zmitry/ir
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/zmitry/ir
- Owner: zmitry
- Created: 2017-01-21T16:41:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-12T20:01:19.000Z (about 9 years ago)
- Last Synced: 2025-06-21T11:03:51.273Z (12 months ago)
- Language: TypeScript
- Size: 6.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## run
npm install
npm run build
node ./js/app.json
node ./js/cli.js
## cli
cli uses input format like this
```js
add("word",or("word1",not("word2")))
```
## files.json
format for saving files info :
```json
{
"word":[1,4,5,7,],
}
```
repo url https://github.com/kraken97/IR
you can download latest zip on releases page.
##
for storing inverted index i use the save format - JSON
with 5 mb start files we have only 500kb iverted index and 1.1 mb matrix