Create social, material or semantic layers using different methods to work with the Socio-epistemic networks framework.
Project description
SemanticLayerTools
Collects tools to create semantic layers in the socio-epistemic networks framework. Source material can be any structured corpus with metadata of authors, time, and at least one text column.
Documentation is available on ReadTheDocs.
Part of the code was reviewed by Itay Zandbank, thank you.
Installation
tl;dr Use pip
pip install semanticlayertools
Consider using a clean virtual environment to keep your main packages separated. Create a new virtual environment and install the package
python3 -m venv env
source env/bin/activate
pip install semanticlayertools
To use some sentence embedding utility functions please install with the
embeddml
option
pip install semanticlayertools[embeddml]
Testing
Tests can be run by installing the dev requirements and running tox
.
pip install semanticlayertools[dev]
tox
Building documentation
The documentation is build using sphinx. Install with the dev option and run
pip install semanticlayertools[dev]
tox -e docs
Funding information
The development is part of the research project ModelSEN
Socio-epistemic networks: Modelling Historical Knowledge Processes,
in Department I of the Max Planck Institute for the History of Science and funded by the Federal Ministry of Education and Research, Germany (Grant No. 01 UG2131).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for semanticlayertools-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b90cfeda61d6b1b91628672ebfdfe8bc6d12a00cc02a341dcdd7d3d04663d3b |
|
MD5 | 8f6efc6e0120818c94e2cdf5735e39d9 |
|
BLAKE2b-256 | 38aeb30ab3d2816cac6794b79f92d2f7150d5bf9194756baae053e70244e267c |