Tag / Label a text
❓Why❓
Sometimes, you need to label a text to better categorise it. Here are a few examples:
- Is the following offer a fixed-term contract or a permanent one?
Data Insights Corp. is seeking a Senior Data Scientist for a contract-to-direct position. You will be responsible for designing and implementing advanced machine learning algorithms and playing a key role in shaping our data science initiatives. The CDI arrangement offers a pathway to a full-time role
- Which of the French ROME subfamily does this job offer belong to?
🛠️ How to implement 🛠️
Prerequisites
- Create an account
- Activate your account: you need to activate our Text Tagging API
- API Authentification
You need to use our Text Tagging API.
You may want to use our API in two different cases:
1. 🎨 You need to tag a text with custom tags 🎨
- Set
algorithm_key=hrflow-tagger-dynamic
- In
context
parameter, pass a text that explains all your custom tags. - In
dynamic_labels
pass your tags as an array ofstring
For instance
algorithm_key="hrflow-tagger-dynamic"
context="A Permanent contract is a contract that has no fixed duration. A Fixed-Term contract is a contract that has a fixed duration"
dynamic_labels=["Open-Ended","Fixed-Term"]
In the output, you'll find the tags and the prediction probability.
2. You need to tag a job offer text according to the French ROME classification
- Set
algorithm_key
value to the granularity in the ROME classification. See API reference
Updated about 15 hours ago