Skip to main content

Natural Language Tool to Extract Features from Intents Dataset.

Project description

Introduction

This package will help the user to extract ngrams, nouns, verbs, adverbs and more features from an Intent Dataset in Spanish. This will help the user to balance the dataset by comparing number of ocurrences of each feature in each intent.

The entry format is an excel (.xlsx). Each column would be an intent and in the first row it has to be informed the intent name, then in the next rows the sentences for each intent training.

The output format is a json. It will have one dictionary per intent including all the features extracted.

How to use it?

Installation

pip install nluanalyzer

Usage

Usage

nluanalyzer -h|--help
nluanalyzer -v|--version
nluanalyzer <excel_path>

Options

-h --help                    Show help screen.
-v --version                 Show version.

Example

$ nlu_analyzer  intents.xlsx
'Successfully saved intents analyzed file in /home/project/location/Formatted_Metrics.xlsx'

Package Requirements

  • nltk==3.4.5
  • spacy==2.2.4
  • docopt==0.6.2
  • numpy==1.17.4
  • docopt==0.6.2
  • pandas==0.25.3
  • textacy==0.10.0
  • scikit_learn==0.23.1

History

1.0.0 (2020-05-26)

  • Spanish Analysis Implemented.

Project details


Download files

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

Files for nluanalizer, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size nluanalizer-1.0.2-py2.py3-none-any.whl (5.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size nluanalizer-1.0.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page