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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jaat2-2.1.1.tar.gz | 2.6 MB | Without provenance | Details for jaat2-2.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jaat2-2.1.1-py3-none-any.whl | Python 3 | none | any | Details for jaat2-2.1.1-py3-none-any.whl |
Total release size: 5.1 MB
Release files / jaat2-2.1.1.tar.gz
| Download URL | jaat2-2.1.1.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d6918e4e6a0ad621f934bfb40f01dcbae9bf4c70f0561e2a2797a9ef9df5d3c
|
|
BLAKE2b-256 checksum How to use checksums |
efbafc8118ff74a430236c44abcee58b057d14db4ad4ea5d47d764c1696ea260
|
| 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.1-py3-none-any.whl
| Download URL | jaat2-2.1.1-py3-none-any.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d960a51341d9d211e75912dd1b1bbaca95c9ef394ad197e373bcfffaf68f9538
|
|
BLAKE2b-256 checksum How to use checksums |
a4c18d66610ef30db03911f50da38d15c1bcb68245917de4a9ba2d0549db0c39
|
| 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.1
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.