ResumeV1ProfessionalExperience
in package
uses
FieldPositionMixin, FieldConfidenceMixin
The list of the candidate's professional experiences.
Table of Contents
Properties
- $boundingBox : Polygon|null
- $confidence : float
- $contractType : string|null
- $department : string|null
- $description : string|null
- $employer : string|null
- $endMonth : string|null
- $endYear : string|null
- $polygon : Polygon
- $role : string|null
- $startMonth : string|null
- $startYear : string|null
Methods
- __construct() : mixed
- __toString() : string
- toTableLine() : string
- Output in a format suitable for inclusion in an rST table.
- setConfidence() : void
- Sets the confidence score.
- setPosition() : void
- Sets the position of a field.
- printableValues() : array<string|int, mixed>
- Return values for printing as an array.
- tablePrintableValues() : array<string|int, mixed>
- Return values for printing inside an RST table.
Properties
$boundingBox
public
Polygon|null
$boundingBox
A right rectangle containing the word in the document.
$confidence
public
float
$confidence
The confidence score.
$contractType
public
string|null
$contractType
The type of contract for the professional experience.
$department
public
string|null
$department
The specific department or division within the company.
$description
public
string|null
$description
The description of the professional experience as written in the document.
$employer
public
string|null
$employer
The name of the company or organization.
$endMonth
public
string|null
$endMonth
The month when the professional experience ended.
$endYear
public
string|null
$endYear
The year when the professional experience ended.
$polygon
public
Polygon
$polygon
A polygon containing the word in the document.
$role
public
string|null
$role
The position or job title held by the candidate.
$startMonth
public
string|null
$startMonth
The month when the professional experience began.
$startYear
public
string|null
$startYear
The year when the professional experience began.
Methods
__construct()
public
__construct(array<string|int, mixed> $rawPrediction, int|null $pageId) : mixed
Parameters
- $rawPrediction : array<string|int, mixed>
-
Array containing the JSON document response.
- $pageId : int|null
-
Page number for multi pages document.
__toString()
public
__toString() : string
Return values
string —String representation.
toTableLine()
Output in a format suitable for inclusion in an rST table.
public
toTableLine() : string
Return values
stringsetConfidence()
Sets the confidence score.
protected
setConfidence(array<string|int, mixed> $rawPrediction) : void
Parameters
- $rawPrediction : array<string|int, mixed>
-
Raw prediction array.
setPosition()
Sets the position of a field.
protected
setPosition(array<string|int, mixed> $rawPrediction) : void
Parameters
- $rawPrediction : array<string|int, mixed>
-
Raw prediction array.
printableValues()
Return values for printing as an array.
private
printableValues() : array<string|int, mixed>
Return values
array<string|int, mixed>tablePrintableValues()
Return values for printing inside an RST table.
private
tablePrintableValues() : array<string|int, mixed>