Skip to main content

# NLP Model creation & training API

This project is being developed under supervision of Universidad Nacional de Mar del Plata and Infolab Mar del Plata.

### Objetive This project will offer an API for creating, training and using spaCy NLP models. It will allow to create models by theme and to use them to analyze plain text data. Administrators will be able to configure different tools for model creation and managing.

### Limits The project is limited to the features previously defined. Although it will have services or ways to bind it to another forensic platforms, any type of integration with these kind of systems is out of scope.

### Current status & features - Model creation: It allows to create custom models with different search topics for both nouns and verbs. - Tokenizer personalization: It allows to add specific rules to tokenizer during model creation. This includes creating fuzzy tokens from original ones to get broader range of detection capacity - Text analysis with custom models: It allows to use custom models to analyze text. Actually it gets two kind of results: The ones obtained from tokenizer and the ones obtained from entity recognition. Actually entity recognition module can not be trained. - Model save, edit and deletion: It allows to fully manage custom models by allowing its modification or deletion. - Word processing utilities set up (WIP): It allows to set different setups for the word processing module. This allows to manage how words are added to the tokenizer rules of the current module. This feature is implement, but integration with main controller is pending. - Training manager module: This module allows to store, view, edit or discard examples submitted. This grants administrators a full control of model training and, at the same time, it will allow a collaborative enhancement of models. - Training models: This feature allows administrator to apply approved sets of training data over the models.

### Requirements - Python 3. (Developed with python 3.7). - MongoDB server installed on target computer. - All python modules will be installed during package setup.

### Installation - Run: pip3 install nlp-model-gen - After package is installed run: MacOs: nlp_model_gen_install.sh Ubuntu: /home/<user>/.local/bin/nlp_model_gen_install.sh Windows: python <python_path>scriptsnlp_model_gen_install.sh - For importing the model admin from ipython or python console: from nlp_model_gen import NLPModelAdmin - Instanciate a new admin: admin = NLPModelAdmin()

### License MIT License

Copyright (c) 2018 The Python Packaging Authority

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This is a university project. It’s usage is thought for profesionals, no further help or usage guides will be provided.

Release files for nlp-model-gen 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nlp-model-gen 0.2.1
File Size Uploaded
nlp_model_gen-0.2.1.tar.gz 310.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nlp-model-gen 0.2.1
File Interpreter ABI Platform
nlp_model_gen-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 716.5 kB

Release files / nlp_model_gen-0.2.1.tar.gz

Download URL nlp_model_gen-0.2.1.tar.gz
Size 310.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c9d15162783f7d5d37d234206456821d06b0606b8d191b0145ca96e4e78f7277
BLAKE2b-256 checksum
How to use checksums
756b1afac8f3c0c129b11973bea40a6d30a903665e1b2b8f895d26f4b80f3303
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

Release files / nlp_model_gen-0.2.1-py3-none-any.whl

Download URL nlp_model_gen-0.2.1-py3-none-any.whl
Size 405.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
815df780d375bbfbe6faefaa5be1504a3eab251db583bd3c23e76a3ca654b081
BLAKE2b-256 checksum
How to use checksums
1a624c9290c8202f28001ff8c421d17977f4a385e3c3768be94a8a8d48120e79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page