Adding files for windows and modifying README.md - adding instructions for windows
This commit is contained in:
parent
7cf823cfb9
commit
27e33c593e
24
README.md
24
README.md
|
@ -1,12 +1,28 @@
|
||||||
# STARK: a tool for statisical analysis of dependency-parsed corpora
|
# STARK: a tool for statistical analysis of dependency-parsed corpora
|
||||||
STARK is a python-based command-line tool for extraction of dependency trees from parsed corpora based on various user-defined criteria. It is primarily aimed at processing corpora based on the [Universal Dependencies](https://universaldependencies.org/) annotation scheme, but it also takes any other corpus in the [CONLL-U](https://universaldependencies.org/format.html) format as input.
|
STARK is a python-based command-line tool for extraction of dependency trees from parsed corpora based on various user-defined criteria. It is primarily aimed at processing corpora based on the [Universal Dependencies](https://universaldependencies.org/) annotation scheme, but it also takes any other corpus in the [CONLL-U](https://universaldependencies.org/format.html) format as input.
|
||||||
|
|
||||||
|
## Windows installation and execution
|
||||||
|
### Installation
|
||||||
|
Install Python 3 on your system (https://www.python.org/downloads/).
|
||||||
|
|
||||||
|
Download pip installation file (https://bootstrap.pypa.io/get-pip.py) and install it by double clicking on it.
|
||||||
|
|
||||||
|
Install other libraries necessary for running by going into program directory and double clicking on `install.bat`. If windows defender is preventing execution of this file you might have to unblock that file by `right-clicking on .bat file -> Properties -> General -> Security -> Select Unblock -> Select Apply`.
|
||||||
|
|
||||||
|
### Execution
|
||||||
|
Set up search parameters in `.ini` file.
|
||||||
|
|
||||||
|
Execute extraction by running `run.bat` (in case it is blocked repeat the same procedure as for `install.bat`).
|
||||||
|
Optionally modify run.bat by pointing it to another .ini file. This can be done by editing run.bat file (changing parameter --config_file).
|
||||||
|
|
||||||
|
|
||||||
## Linux installation and execution
|
## Linux installation and execution
|
||||||
### Installation
|
### Installation
|
||||||
Install python 3 on your sistem.
|
Install Python 3 on your system (https://www.python.org/downloads/).
|
||||||
|
|
||||||
Run the following commands in terminal:
|
Install pip and other libraries required by program, by running the following commands in terminal:
|
||||||
```bash
|
```bash
|
||||||
|
sudo apt install python3-pip
|
||||||
cd <PATH TO PROJECT DIRECTORY>
|
cd <PATH TO PROJECT DIRECTORY>
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
@ -51,7 +67,7 @@ The type of trees to be extracted can be defined through several parameters in t
|
||||||
- `lines_threshold`: maximum number of trees in the output
|
- `lines_threshold`: maximum number of trees in the output
|
||||||
|
|
||||||
## Output
|
## Output
|
||||||
The tool returns the resulting list of all relevant trees in the form of a tab-separated `.tsv` file with information on the tree structure, its frequency and other relevant information in relation to specific parameter settings. The tool does not support any data visualization, however, the output structure of the tree is directly trasnferable to the [Dep_Search](http://bionlp-www.utu.fi/dep_search/) concordancing service giving access to specific examples in many corpora.
|
The tool returns the resulting list of all relevant trees in the form of a tab-separated `.tsv` file with information on the tree structure, its frequency and other relevant information in relation to specific parameter settings. The tool does not support any data visualization, however, the output structure of the tree is directly transferable to the [Dep_Search](http://bionlp-www.utu.fi/dep_search/) concordancing service giving access to specific examples in many corpora.
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
This program was developed by Luka Krsnik in collaboration with Kaja Dobrovoljc and Marko Robnik Šikonja and with financial support from [CLARIN.SI](https://www.clarin.si/).
|
This program was developed by Luka Krsnik in collaboration with Kaja Dobrovoljc and Marko Robnik Šikonja and with financial support from [CLARIN.SI](https://www.clarin.si/).
|
||||||
|
|
1
install.bat
Executable file
1
install.bat
Executable file
|
@ -0,0 +1 @@
|
||||||
|
py -m pip install -r requirements.txt &
|
Loading…
Reference in New Issue
Block a user