Skip to main content
JAAT

Job Ad Analysis Toolkit (JAATv2)

PyPI version License

JAAT is an NLP-powered pipeline for aligning job posting texts (and similar) to standardized taxonomies such as O*NET and ESCO, as well as custom taxonomies describing compentencies. This newest v2 version improves our original JAAT pipeline with some more advanced matching techniques!


Installation

pip install jaat2

Note: for quicker processing (on GPU), we recommend flash-attn to be installed, even though it is not a strict requirement.

Usage

Single Document Matching

Use JAAT to match a single document to any of our default taxonomies:

from jaat2 import Match

matcher = Match(
    threshold=0.70,
    verify_nli=True
)

results = matcher.match(
    text=job_description,
    taxonomy_name="tasks",
    top_k=None, # or set a strict limit
    verify_nli=True
)

Batch Processing

For processing larger corpora, use our optimized batch matcher:

for doc_result in matcher.match_dataset(
    texts=documents,
    taxonomy_name="skills",
    doc_chunk_size=1000,
    verify_nli=True
):
  # Process document-level matches
  pass

Pipeline Overview

This newest version of JAAT expands upon the older one by adding steps both to ensure match accuracy, but also to recognize where multiple standard matches might be applicable.

Input Text
   │
   ▼
[1] Two-Pass Segmentation (SaT / wtpsplit)
   │  └── Deconstructs text into clauses
   ▼
[2] Clause Classification + Optional Rewriting
   │  └── Discards non-target candidates and optionally rewrites positive candidates into canonical form
   ▼
[3] Hybrid Retrieval (BM25 + Embeddings)
   │  └── Reciprocal Rank Fusion (RRF) over Top-K candidate pool
   ▼
[4] Pre-Pruning & Cross-Encoder Reranker
   │  └── Evaluates high-probability pairs using cross-attention reranking
   ▼
[5] NLI Verification
   │  └── Eliminates remaining weak matches
   ▼
Aggregated Taxonomy Matches and Corresponding Evidence

Built-in Taxonomies

By default, the package includes four taxonomies for matching:

Taxonomy Source Description
tasks O*NET Task / DWA Task statements from O*NET
skills ESCO Skills European skill framework
ai AI Task Taxonomy Specialized classification of AI/ML task statements
title O*NET Standardized occupational titles

You can also register a custom taxonomy via:

import pandas as pd
from jaat2.taxonomy import Taxonomy

df = pd.DataFrame({
    "code": ["ENG-01", "ENG-02"],
    "description": [
        "Provision cloud infrastructure using Terraform and AWS.",
        "Configure automated CI/CD pipelines in GitHub Actions."
    ]
})

custom_tax = Taxonomy(
    name="devops_skills",
    data_source=df,
    id_column="code",
    text_column="description",
    cross_encoder_template="DevOps task: {text}.",
    nli_template="The candidate directly implements {text}."
)

matcher.register_taxonomy(custom_tax)

License

jaat2 is licensed under an Apache-2.0 license. NOTE: as this new and improved version is still in beta, some of the default underlying models are still private on Hugging Face. If you want to test out the beta, let us know and we can provide an access key! Thanks for stopping by.

Metadata

Release files for jaat2 2.1.0

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

Source distribution (sdist)

Source distribution for jaat2 2.1.0
File Size Uploaded Provenance Actions
jaat2-2.1.0.tar.gz 2.6 MB Without provenance Details for jaat2-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jaat2 2.1.0
File Interpreter ABI Platform Actions
jaat2-2.1.0-py3-none-any.whl Python 3 none any Details for jaat2-2.1.0-py3-none-any.whl

Total release size: 5.1 MB

Release files / jaat2-2.1.0.tar.gz

Download URL jaat2-2.1.0.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
e785a287b3cb777ca595e8c6b64e9261dbd2c666b9ff3ee4fbe9bf6694ea2cfc
BLAKE2b-256 checksum
How to use checksums
4bb06ca9fa2f052b5314137e2c6b6a8264e8a12b354d866f924a174fa40342ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / jaat2-2.1.0-py3-none-any.whl

Download URL jaat2-2.1.0-py3-none-any.whl
Size 2.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d6da089791fefb500c8730b6318f6b5274be074598e2c72732743e3bca687f1d
BLAKE2b-256 checksum
How to use checksums
b3dfe2310bde1c77a4a0cfb20906357e7798757820fc709f690990000fb93ad5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Security for jaat2 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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