Skip to main content

Fractalize NLP Tools

Project description

Fractalize NLP

A group of Modules encompassing common components that are used in all Fractalize NLP products and deployments

string_generators

Module that enables encoding of structured domain knowledge into a conditional processing graph. The conditional processing graph is used to generate random samples of unstructured strings which represent natural language invocations of the underlying domain knowledge

Building the package

To build a deployable binary including source files execute:

$ python3 setup.py sdist bdist_wheel

This will produce fractalize_nlp/dist/fractalize_nlp--py3.7.egg

If planning to publish the package, update the version number in setup.py first.

Publishing the package

Use PyPi to distribute the package as follows:

$ twine upload dist/fractalize-nlp-<build version>

Note:

  1. Make sure the package has been built with the correct version number.
  2. Make sure all the code changes have been merged before publishing the package.

Testing the package

To run the test suite, run either:

$ pytest 

or

$ coverage run -m pytest

To generate the coverage report, the test suite must be invoked via coverage first. Then, run:

$ coverage report -m <module_name>/<relevant_script>.py

To generate the full coverage report, run:

$ coverage report -m

License

MIT © fractal-dataminds

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

fractalize-nlp-0.0.7.tar.gz (13.4 kB view hashes)

Uploaded Source

Built Distribution

fractalize_nlp-0.0.7-py3-none-any.whl (20.0 kB view hashes)

Uploaded Python 3

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