Locked History Actions

Diff for "DeepEvents"

Differences between revisions 1 and 2
Revision 1 as of 2017-10-23 13:27:05
Size: 873
Comment:
Revision 2 as of 2019-09-21 11:21:49
Size: 392
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
You can download the current distribution package from [[https://github.com/mwasiluk/ipi-deep-event-detection|GitHub repository]]. [[pl_spacy_model-0.0.1.tar|pl_spacy_model-0.0.1.tar.gz]]
Line 11: Line 11:
DeepEvents uses:
 * Keras and Tensorflow libraries,
 * Liner2 to read/write documents and feature extraction,
 * word2vec models for Polish.
Install package as any other python module:
python -m pip install ścieżka-do\pl_spacy_model-0.0.1.tar.gz
Line 17: Line 15:
src/event_detector.py

=== Help: ===
src/event_detector.py --help

=== Training the model: ===
python src/event_detector.py -t -c config/config.json -m models/model_multi_class -i batch:ccl ../sytuacje/2015-10-09-kpwr-1.2.7-events/index_events.txt

=== Evaluation (pipe mode): ===
python src/event_detector.py -c config/config.json -m models/model_m -i batch:ccl ../sytuacje/index_events_test1.txt out/out.txt
import spacy
nlp = spacy.load('pl_spacy_model')

DeepEvents

Event identification in Polish, based on deep neural networks.

Author

Michał Wasiluk

Downloads

pl_spacy_model-0.0.1.tar.gz

Documentation

Install package as any other python module: python -m pip install ścieżka-do\pl_spacy_model-0.0.1.tar.gz

Running:

import spacy nlp = spacy.load('pl_spacy_model')