MAIF / melusine

πŸ“§ Melusine: Use python to automatize your email processing workflow
https://maif.github.io/melusine
Other
352 stars 58 forks source link
courriels datascience emails natural-language-processing nlp nlp-machine-learning python python3

Build & Test pypi Test pypi

πŸŽ‰ **BREAKING** : New major version Melusine 3.0 is available πŸŽ‰

Overview

Discover Melusine, a comprehensive email processing library designed to optimize your email workflow. Leverage Melusine's advanced features to achieve:

Melusine facilitates the integration of deep learning frameworks (HuggingFace, Pytorch, Tensorflow, etc), deterministic rules (regex, keywords, heuristics) into a full email qualification workflow.

Why Choose Melusine ?

Melusine stands out with its combination of features and advantages:

Email Segmentation Exemple

In the following example, an email is divided into two distinct messages separated by a transition pattern. Each message is then tagged line by line. This email segmentation can later be leveraged to enhance the performance of machine learning models.

Getting started

Explore our comprehensive documentation and tested tutorials to get started. Or dive into our minimal example to experience Melusine's simplicity and power:

    from melusine.data import load_email_data
    from melusine.pipeline import MelusinePipeline

    # Load an email dataset
    df = load_email_data()

    # Load a pipeline
    pipeline = MelusinePipeline.from_config("demo_pipeline")

    # Run the pipeline
    df = pipeline.transform(df)

The code above executes a default pipeline and returns a qualified email dataset with columns such as:

With Melusine, you're well-equipped to transform your email handling, streamlining processes, maximizing efficiency, and enhancing overall productivity.