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.

Source Distribution

nluanalizer-1.0.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nluanalizer-1.0.2-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file nluanalizer-1.0.2.tar.gz.

File metadata

  • Download URL: nluanalizer-1.0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.4

File hashes

Hashes for nluanalizer-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9f532e0a99a1fa9004508805cca1b674fc1156c1b9d34cdf3fa8b13cbc3414d6
MD5 c345de6468f9cfb61aafbfe72744cf1e
BLAKE2b-256 fecf11fa76083c26aeb2df75fc4388c369aa0a637b1e977cf92dc52eb19d65ac

See more details on using hashes here.

File details

Details for the file nluanalizer-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: nluanalizer-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.4

File hashes

Hashes for nluanalizer-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9a979b9f136a31d3ddc107e4743fcbd7cc370e735e6f52a1556ebcd42f5d9afd
MD5 05db026741243f819c2e17d331b68419
BLAKE2b-256 ff957ab96064f523b332eafe93cdbe07ab22c6a9529d9b04beeec89e5beb1167

See more details on using hashes here.

Supported by

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