A package that suggests similar titles to one being added
Project description
Introduction
EEA Similarity provides cosine-based suggestions to a search string. Initial use is to provide a list of possible duplicates when adding content (based on the entered title)
Installation
zc.buildout
If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:
Update your buildout.cfg file:
Add eea.similarity to the list of eggs to install
Tell the plone.recipe.zope2instance recipe to install a ZCML slug
[instance] ... eggs = ... eea.similarity zcml = ... eea.similarity
Re-run buildout, e.g. with:
$ ./bin/buildout
You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.
Dependencies
- EEA Similarity has the following dependencies:
stemming
gensim (which in turn depends on numpy and scipy)
- On CentOS you need to install:
blas-devel
lapack-devel
gcc-fortran
- On Debian/Ubuntu you need to install:
libblas-dev
liblapack
gfortran
Possible issues with scipy and numpy:
Due to a bug in scipy, it is possible that the packages will not install when running buildout. There are two solutions/options:
Install them with easy_install pip before running the buildout.
Update zc.buildout to version 2.9.0 and activate the wheel support via buildout.wheel and the dependencies will be installed normally.
Source code
Copyright and license
The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.
The EEA Similarity (the Original Code) is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Contributor(s):
Valentin Dumitru (Eau de Web)
More details under docs/License.txt
Funding
EEA - European Environment Agency (EU)
Changelog
1.0 - (2017-04-12)
- Feature: related to index and score:
moved the index creation to the async instance
add similarity score next to object link in dialog
[valipod refs #83163]
- Feature: added to registry settings:
equivalent content types sets, use of stopwords, number of shown suggestions
max. score difference between suggestions, dialog title and text
[valipod refs #83163]
Pre-upgrade step: run etc/scripts/prereq.sh on each backend [alecghica refs #82296]
Upgrade step: from control panel instal eea.similarity [valipod refs #82296]
Upgrade step: update cron jobs on blacksquirrel and trigger the index creation method [alecghica refs #82296]
Feature: Initial release [valipod refs #82296]
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
File details
Details for the file eea.similarity-1.0.zip
.
File metadata
- Download URL: eea.similarity-1.0.zip
- Upload date:
- Size: 35.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b9aab167450ba30d224acb839498a555ef340a59586f3616b1d1522ab59d855 |
|
MD5 | b5cacba84854da65682e7fce89a2295b |
|
BLAKE2b-256 | ca230300e418c2e2ef3447056acbbaf655b8c308d6913f74d6a747ac1699870e |