Skip to main content

An easy to use PyTorch-based library for state-of-the-art semantic relations extraction.

Project description

alt text

PyPI version GitHub Issues Contributions welcome License: MIT docs

Relex is an open-source project & python package, aimed to provide easy-to-use pipelines for building custom and deep-learning based semantic relation extraction systems.


Relationship extraction is the task of extracting semantic relationships from a text. Extracted relationships usually occur between two or more entities of a certain type (e.g. Person, Country, Instrument, Region) and fall into a number of semantic categories (e.g. has nationality, plays, located in).

Now at version 0.1.1!

Setup

Requires python 3.7.13 or greater.

pip install relex

Motivations and philosphy of the project

Package documentation and supported use cases

Contributing

Before contributing, please read carefully the Context and motivation section, more precisely the paragraph: Bringing together applied research and good coding practice for more details about relex (the project) philosophy and its (the package) design. Therein we attempted to motivate the adopted structure of the package, the role of each sub-package, and we tried to share our vision of how the project can evolve in the future and become more useful.

Contributing to improve code quality:

  • Report Bugs in existing features
  • Fix reported Bugs
  • Improve existing features
  • Suggest new features
  • Implement new features
  • Write tests
  • Write documentation

Contributing as applied (NLP) researcher:

  • All the previous
  • Suggest new pipelines
  • Implement new pipelines

Relex lives, by design, on applied research in (NLP).

We think that any standard deep relation extraction problem can be modelled and successfully solved under the relex package’s high-level design, which adheres to the modular workflow described in the Context and motivation section of the documentation.

People are encouraged to participate and make their ideas a tangible part of relex if they conduct research around deep relation extraction and have fresh pipelines in mind that adhere to relex’s spirit (project, and package). In that case, a pipeline would be a collection of routines (data loaders, architectures, learners, predictors, and other miscellaneous utilities) that should each be considered to fit the general deep-learning based framework adopted in relex (c.f. Simplifying the relation extraction problem and following paragraphs) and as a result be able to find its place in the corresponding relex sub-package.

Contributions are welcomed and much valued! Credit is always given, and every little bit helps.

Updated list of contributors

Contact

Please email your feedbacks to Ali NCIBI.

License

The MIT License (MIT)

Relex is licensed under the following MIT license: The MIT License (MIT) Copyright © 2022 Ali NCIBI

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.

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

relex-0.1.1.tar.gz (23.8 kB view details)

Uploaded Source

File details

Details for the file relex-0.1.1.tar.gz.

File metadata

  • Download URL: relex-0.1.1.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for relex-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b5b1a04f2bc0dbcf41767bd07af533685f5233da4c8ce7491c70354f2c93e4da
MD5 b962f38a0c9ca34ae0a62793ab2da1b7
BLAKE2b-256 d9ddcfdefbf06170f03f9e905b3b36e1bc8e98c88014cdef7c02b75427aa72b6

See more details on using hashes here.

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