Skip to main content

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:

    [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:

  1. Install them with easy_install pip before running the buildout.

  2. 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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eea.similarity-1.0.zip (35.4 kB view details)

Uploaded Source

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

Hashes for eea.similarity-1.0.zip
Algorithm Hash digest
SHA256 9b9aab167450ba30d224acb839498a555ef340a59586f3616b1d1522ab59d855
MD5 b5cacba84854da65682e7fce89a2295b
BLAKE2b-256 ca230300e418c2e2ef3447056acbbaf655b8c308d6913f74d6a747ac1699870e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page