/pcu_keyphrase

Keyphrase extraction algorithm (kleis) for PCU project

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

pcu_keyphrase (Keyphrase extraction for PCU project)

Keyphrase extraction component (kleis) for PCU project. From a text, extract its keyphrases.

Based on the keyphrase extraction algorithm kleis.

keyphrase


Check PCU project.

Installation

To install requirements, go to pcu_keyphrase/ directory and execute the Makefile with the following command line :

make init

Usage in another project

If you wish to import this module in another Python project, please install it :

pip install pcu-keyphrase

Then, add this import line at the beginning of your Python file :

from pcu_keyphrase import pcu_keyphrase

You can now use pcu_keyphrase's functions, for example :

pcu_keyphrase.extractKeyphrases(text)

Test

To test your installation, go to pcu_keyphrase/ directory and execute the Makefile with the following command line :

make test