<commit_before>norikra-query-chain-editor (QCE)
==========================

norikra query-chain editor.(QCE)

![norikra qce screenshot](https://gist.githubusercontent.com/ixixi/aa8a47ba6252230fccd2/raw/7e055768ee9f8ab6ab395a010f56881deeb0ee07/screenshot.png) 

## Features

* fetch query chain from norikra
* merge query chain
* visualize LOOPBACK query chain as network graphs
* edit query chains
* import/export query chains (json)

## Install and Execute

```bash
$ git clone https://github.com/ixixi/norikra-query-chain-editor
$ cd norikra-query-chain-editor
$ npm install
$ bower install
```

QCE uses Norikra REST APIs. To use QCE, Norikra have to allow CORS requests or QCE server have to be mounted on the same origin.

* allow CORS requests
https://github.com/ixixi/norikra/commit/2a847f5cb3080561a7af419036ee6568be5c400f

and run qce. `$ grunt server`

* or mount QCE on the same origin

```bash
ln -s /path/to/norikra-query-chain-editor /path/to/norikra/public/qce
```

and access here.
`http://norikra.server:26578/qce/app/index.html`

## TODO

* show diff
* detect conflict
* push query chains to norikra server
<commit_msg>fixed README<commit_after>norikra-query-chain-editor (QCE)
==========================

norikra query-chain editor.(QCE)

![norikra qce screenshot](https://gist.githubusercontent.com/ixixi/aa8a47ba6252230fccd2/raw/7e055768ee9f8ab6ab395a010f56881deeb0ee07/screenshot.png) 

## Features

* fetch query chain from norikra
* sync query chain
* visualize LOOPBACK query chain as network graphs
* edit query chains
* import/export query chains (json)

## Install and Execute

```bash
$ git clone https://github.com/ixixi/norikra-query-chain-editor
$ cd norikra-query-chain-editor
$ npm install
$ bower install
```

QCE uses Norikra REST APIs. To use QCE, Norikra have to allow CORS requests or QCE server have to be mounted on the same origin.

* allow CORS requests
https://github.com/ixixi/norikra/commit/2a847f5cb3080561a7af419036ee6568be5c400f

and run qce. `$ grunt server`

* or mount QCE on the same origin

```bash
ln -s /path/to/norikra-query-chain-editor /path/to/norikra/public/qce
```

and access here.
`http://norikra.server:26578/qce/app/index.html`

## TODO

* detect conflict
* merge server query

{'fraction_non_alphanumeric': 0.12438698172090949, 'fraction_numerical': 0.05974141774409273, 'mean_word_length': 4.724489795918367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7497982', 'n_tokens_mistral': 898, 'n_tokens_neox': 805, 'n_words': 206}