diff --git a/README.md b/README.md index 52bac5b0..17c1d5c8 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The official Java SDK for the Textkernel Tx v10 API for resume/CV and job parsin ### Gradle Users Add this dependency to your project's build file: ``` -implementation "com.textkernel:tx-java:2.3.0" +implementation "com.textkernel:tx-java:2.3.1" ``` ### Maven Users @@ -22,13 +22,13 @@ Add this dependency to your project's POM: com.textkernel tx-java - 2.3.0 + 2.3.1 ``` ### Others You'll need to manually install the following JARs: -- The Textkernel Tx JAR from https://repo1.maven.org/maven2/com/textkernel/tx-java/2.3.0/tx-java-2.3.0.jar +- The Textkernel Tx JAR from https://repo1.maven.org/maven2/com/textkernel/tx-java/2.3.1/tx-java-2.3.1.jar - [Google Gson][gson_url] from https://repo1.maven.org/maven2/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar - [Square OkHttp][okhttp_url] from https://repo1.maven.org/maven2/com/squareup/okhttp3/okhttp/4.9.3/okhttp-4.9.3.jar diff --git a/pom.xml b/pom.xml index 4f228791..d334ea1a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.textkernel tx-java - 2.3.0 + 2.3.1 jar Textkernel Tx Java SDK diff --git a/src/main/java/com/textkernel/tx/models/job/ParsedJob.java b/src/main/java/com/textkernel/tx/models/job/ParsedJob.java index bce6e1e0..bd412a95 100644 --- a/src/main/java/com/textkernel/tx/models/job/ParsedJob.java +++ b/src/main/java/com/textkernel/tx/models/job/ParsedJob.java @@ -95,16 +95,7 @@ public class ParsedJob extends ParsedDocument { /** Information about the application process.*/ public ApplicationDetails ApplicationDetails; - /** - * The salary found for the position - * If no lexical cues are available from the vacancy, the time scale is guessed based on predefined salary ranges. Here are some rough salary ranges (note: country-specific conditions may apply): - * - * If a monthly salary is extracted, to get the annual salary it is multiplied by 14 (if country = AT) or 12 (all other countries). - */ + /** The salary found for the position. */ public PayRange Salary; /** The minimum number of working hours per week*/ diff --git a/src/main/java/com/textkernel/tx/models/job/PayRange.java b/src/main/java/com/textkernel/tx/models/job/PayRange.java index 12abdc03..3d644c60 100644 --- a/src/main/java/com/textkernel/tx/models/job/PayRange.java +++ b/src/main/java/com/textkernel/tx/models/job/PayRange.java @@ -26,4 +26,24 @@ public class PayRange { /** Currency code (ISO 4217) applied to the {@link #Minimum} and {@link #Maximum}*/ public String Currency; + + /** + * Time scale applied to the raw values to get the minimum and maximum annual salary. Possible values are: + * + * If no lexical cues are available from the vacancy, the time scale is guessed based on predefined salary ranges. + * Here are some rough salary ranges (note that country-specific conditions may apply): + * + * If a monthly salary is extracted, to get the annual salary it is multiplied by 14 (if country = AT) or 12 (all other countries). + */ + public String TimeScale; }