Tag management for CKAN portals
Project description
ckanext-tagmanager
=============
Tagmanager offers a graphical interface for removing and merging tags. This is usefull for big open data portals with many contributors, where tags are not always kept consistent.
We offer three modes of tags merging suggestions:
- Strong: show tags that differ only by capitals special characters;
- Medium: show tags that have a Levenshtein edit distance smaller than one;
- Synonym: show tags that are synomyns (only for English)
This extensions is intended to fill the tag managament gap of CKAN. CKAN core offers only a listing of tags, and edition through the specific datasets.
In the future, we plan to offer the creation of relationships between tags, and connection to a central semantic tag server.
Requirements
------------
Before installing tagmanager, make sure you have:
* CKAN 2.5+
* Levenshtein python library: pip install python-Levenshtein
* Unidecode python library: pip install unidecode
* NLTK library: pip install nltk
* NLTK data: python -m nltk.downloader all
Installation
------------
To install ckanext-tagmanager:
1. Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
2. Install the ckanext-tagmanager Python package into your virtual environment::
pip install ckanext-tagmanager
3. Add ``tagmanager`` to the ``ckan.plugins`` setting in your CKAN
config file (by default the config file is located at
``/etc/ckan/default/production.ini``).
4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
Development Installation
------------------------
To install ckanext-tagmanager for development, activate your CKAN virtualenv and
do::
git clone https://github.com/alantygel/ckanext-tagmanager.git
cd ckanext-tagmanager
python setup.py develop
pip install -r dev-requirements.txt
Use
---------------------
Navigate to yoursite/tagmanager
=============
Tagmanager offers a graphical interface for removing and merging tags. This is usefull for big open data portals with many contributors, where tags are not always kept consistent.
We offer three modes of tags merging suggestions:
- Strong: show tags that differ only by capitals special characters;
- Medium: show tags that have a Levenshtein edit distance smaller than one;
- Synonym: show tags that are synomyns (only for English)
This extensions is intended to fill the tag managament gap of CKAN. CKAN core offers only a listing of tags, and edition through the specific datasets.
In the future, we plan to offer the creation of relationships between tags, and connection to a central semantic tag server.
Requirements
------------
Before installing tagmanager, make sure you have:
* CKAN 2.5+
* Levenshtein python library: pip install python-Levenshtein
* Unidecode python library: pip install unidecode
* NLTK library: pip install nltk
* NLTK data: python -m nltk.downloader all
Installation
------------
To install ckanext-tagmanager:
1. Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
2. Install the ckanext-tagmanager Python package into your virtual environment::
pip install ckanext-tagmanager
3. Add ``tagmanager`` to the ``ckan.plugins`` setting in your CKAN
config file (by default the config file is located at
``/etc/ckan/default/production.ini``).
4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
Development Installation
------------------------
To install ckanext-tagmanager for development, activate your CKAN virtualenv and
do::
git clone https://github.com/alantygel/ckanext-tagmanager.git
cd ckanext-tagmanager
python setup.py develop
pip install -r dev-requirements.txt
Use
---------------------
Navigate to yoursite/tagmanager
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
ckanext-tagmanager-0.0.2.tar.gz
(12.4 kB
view details)
File details
Details for the file ckanext-tagmanager-0.0.2.tar.gz
.
File metadata
- Download URL: ckanext-tagmanager-0.0.2.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fac0fb4c2d77132c54a9b6da7f5e4031b4f83df6e388709795bcb5b5920e229 |
|
MD5 | e3fadd0cd0b79331a794a37da40f0f59 |
|
BLAKE2b-256 | c53fb122b6c333427c5b0d25ee88e32e63d58a408eb51a5043befc9358d45b07 |