Open Semantic Framework PHP API 3.0
Scones to a OSF Scones web service endpoint. More...
|__construct ($network, $appID, $apiKey, $userID)|
|Document content to process; or URL of a document accessible on the web to extract/process. More...|
|Specifies the application to use to tag the content of the input document. More...|
Scones to a OSF Scones web service endpoint.
The scones web service system (subject concepts or named entities) is used to perform subject concepts and named entities tagging on a target document. The GATE system is used to perform the tagging. A GATE XML annotation file is returned to the user.
This Web service is intended to be used by users that wants to tag subjects concepts and named entities using the content of a target OSF instance. Since the scones instance is re-using the ontologies & named entities defined on a specific OSF instance, tagging will be performed using this specific information. So, if a specific OSF instance is hosted, maintained and defined by an a Health related organization, than their scones web service should be better at tagging Health related documents.
So, not all scones instance are equal, and some are expected to be better at tagging specific articles than other, depending on the domain defined on a specific node.
Here is a code example of how this class can be used by developers:
|mixed||$network||OSF network where to send this query. Ex: http://localhost/ws/|
|mixed||$appID||The Application ID of the instance instance to key. The APP-ID is related to the API-KEY|
|mixed||$apiKey||The API Key of the OSF web service endpoints|
|mixed||$userID||The ID of the user that is doing the query|
Specifies the application to use to tag the content of the input document.
If other applications are available, these should be listed somewhere on the website of the agent that host the service.
|mixed||$application||Application to use to tag the content of the input document. If other applications are available, these should be listed somewhere on the website of the agent that host the service.|
Document content to process; or URL of a document accessible on the web to extract/process.
The document types accessible at that URL can be either:
|mixed||$document||Full text document, or URL where the document can be accessed of the document to tag using Scones.|