|
|
|
# Installation
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
MOM depends on several packages, including [Graphviz][1], scipy, numpy, xigt.
|
|
|
|
In general, these should get installed by pip. You may need to install Graphviz manually though,
|
|
|
|
so it gets properly added to your PATH. I've had issues with relying on pip in this case.
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
$ python3 __main__.py -s config_file
|
|
|
|
```
|
|
|
|
-s is path to the (settings) config_file, required.
|
|
|
|
|
|
|
|
-v is the verbosity parameter, optional.
|
|
|
|
|
|
|
|
## Config files
|
|
|
|
A sample config file can be found under config_files.
|
|
|
|
|
|
|
|
|
|
|
|
You can edit the config file to point to your dataset. A sample (toy) dataset is provided.
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
python3 __main__.py -s config_files/eng_config
|
|
|
|
```
|
|
|
|
|
|
|
|
Next, you can try editing the config file such that it points to your own [dataset][2].
|
|
|
|
(Remember [what to expect][3]).
|
|
|
|
|
|
|
|
[1]:http://www.graphviz.org/Download_macos.php
|
|
|
|
[2]:https://bitbucket.org/olzama/mom/wiki/Data%20format
|
|
|
|
[3]:https://bitbucket.org/olzama/mom/wiki/What%20to%20expect
|
|
|
|
[4]:https://pip.pypa.io/en/stable/installing/ |
|
|
|
\ No newline at end of file |