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 hashes)