<commit_before>tag-linker
==========

Tool to be used to link "elements" with tags or links


Dependencies and compilation
==========

Get all the dependencies and required libs:

```bash
sudo apt-get update &&\
sudo apt-get install cmake g++ build-essential qtbase5-dev qtbase5-private-dev uuid-dev
```

Install the qxtglobalshortcut dependency (https://github.com/hluk/qxtglobalshortcut).

```bash
mkdir tl_deps
cd tl_deps
git clone  https://github.com/hluk/qxtglobalshortcut
cd qxtglobalshortcut
make -j 4
sudo make install
sudo ldconfig
```

Get this repo and compile it

```bash
git clone https://github.com/agudpp/tag-linker.git
cd tag-linker
mkdir build
cd build
cmake ..
make -j 4
```

To execute you will need to add a config file like shown below and pass it as first argument to tag_be binary


Config file
=======

```json
{
    "backend": {
        "db_path": "path_to_where_we_will_store_data"
    }
}
```

TODOS
======

* (x) Complete documentation
* (x) add script for configuring and installing dependencies




<commit_msg>readme changes<commit_after>tag-linker
==========

Simple application for information retrieval and tools execution for efficiency on daily usage


Dependencies and compilation
==========

Get all the dependencies and required libs:

```bash
sudo apt-get update &&\
sudo apt-get install cmake g++ build-essential qtbase5-dev qtbase5-private-dev uuid-dev
```

Install the qxtglobalshortcut dependency (https://github.com/hluk/qxtglobalshortcut).

```bash
mkdir tl_deps
cd tl_deps
git clone  https://github.com/hluk/qxtglobalshortcut
cd qxtglobalshortcut
make -j 4
sudo make install
sudo ldconfig
```

Get this repo and compile it

```bash
git clone https://github.com/agudpp/tag-linker.git
cd tag-linker
mkdir build
cd build
cmake ..
make -j 4
```

To execute you will need to add a config file like shown below and pass it as first argument to tag_be binary


Config file
=======


```json
{
    "backend": {
        "db_path": "path_to_where_we_will_store_data"
    }
}
```

# backend
- db_path: folder path where we will store the tags and elements (automatically generate 2 folders in there)


TODOS
======

* (x) Complete documentation
* (x) add script for configuring and installing dependencies





{'fraction_non_alphanumeric': 0.10997328584149599, 'fraction_numerical': 0.004007123775601068, 'mean_word_length': 4.201388888888889, 'pattern_counts': {'":': 4, '<': 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': '842612', 'n_tokens_mistral': 765, 'n_tokens_neox': 710, 'n_words': 257}