<commit_before># facetview-prov-es
Advanced FacetView User Interface and REST Service for PROV-ES


## Install template

```
cd scripts
./install_es_template.sh http://localhost:9200 prov_es ../config/es_template-prov_es.json
```


## Install

```
cd ..
python setup.py install
```


## Demo

http://prov-es.jpl.nasa.gov/beta<commit_msg>add instruction to start up flask app<commit_after># facetview-prov-es
Advanced FacetView User Interface and REST Service for PROV-ES


## Install template

```
cd scripts
./install_es_template.sh http://localhost:9200 prov_es ../config/es_template-prov_es.json
```


## Install

```
cd ..
python setup.py install
```


## Run PROV-ES FacetView on port 8888

```
PROVES_ENV=prod ./manage.py server -h 0.0.0.0 -p 8888
```


## Demo

http://prov-es.jpl.nasa.gov/beta
{'fraction_non_alphanumeric': 0.14481897627965043, 'fraction_numerical': 0.024968789013732832, 'mean_word_length': 3.802395209580838, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4342517', 'n_tokens_mistral': 319, 'n_tokens_neox': 278, 'n_words': 70}