- PoolParty Semantic Suite Documentation
- Developer Guide
- Semantic Integrator APIs
- Recommender API Schemata
- Recommender API Schema - ScoredConcept
Recommender API Schema - ScoredConcept
Schemata for the Recommender API Calls
A scored concept; used for instance in the extractedConcepts
parameter.
uri*[...] label*[...] frequency*[...] score*[...] corpusScore[...] [MatchingLabelModel] [MatchedText] [TokenPosition]
Note
An asterisk (*) next to a parameter indicates a mandatory parameter.
A scored concept; used for instance in the extractedConcepts
parameter.
Parameter | Type | Description | Details |
---|---|---|---|
| string | URI of the concept. | example: http://www.w3.org/TR/2004/REC-owl-guide-20040210/wine#Merlot |
| string | Preferred label of the concept. | example: Merlot |
| integer | Number of occurrences in the input text. | example: 43 |
| number | Extraction score. | maximum: 100
minimum: 0
example: 55.3 |
| number | Corpus score; only available with corpus scoring enabled. | maximum: 100
minimum: 0
example: 18 |
| list of MatchingLabel objects | Matching information for the label of this concept related to the input text. | contains |
Matching information related to the labels of this concept in relation to the input text.
Parameter | Type | Description | Details |
---|---|---|---|
| string | Found label. | example: Merlot |
| string | Predicate name of the given label. | example: prefLabel |
| string | Language of the label. |
example: en |
| integer | Number of occurrences of the label in a given text. | example: 3 |
| list of MatchedText objects | Text fragments matching the label and its position. | contains |
Text fragments matching the label along with their position.
Parameter | Type | Description | Details |
---|---|---|---|
| string | Text which was matched. | example: fox |
| integer | Frequency how often the particular text fragment was matched in the text. | example: 3 |
| list of TokenPosition objects | All positions where this fragment of text was matched in the input text. | contains |
All positions where the particular fragment of text was matched in the input text.
Parameter | Type | Description | Details |
---|---|---|---|
| integer | Begin index of the particular match. | example: 15 |
| integer | End index of the particular match. | example: 18 |