The Language Graph includes millions of entries. However a rare meaning needed by an user may not be present. In those cases, it is possible to create a new meaning and add it to the Language Graph. The new meaning is only visible to its creator.
The meanings created by a customer are associated with their unique customer id. This id is a UUID supplied by the application on every Idilia API call. Applications define the scope of the UUID. For example, the UUID can be shared by all users of an organization or the UUID might associated with an individual user.
Customer defined meanings are only used when the customerId parameter is specified on an API call.
Creating a Meaning
When meaning creation is enabled, a placeholder sense card is added as shown below:
(This example is taken from our Twitter Search application.)
When the user selects that card, a pop up window opens into the Language Graph Customer Center. This is an application that walks the user through the meaning creation process. The number of steps varies from 2 to 4 depending on the type of meaning created.
When the sense definition is completed, the window closes and a card for the newly created meaning is added to the menu. In this example, a new meaning for Falso (as a bread machine maker) was created:
At this point the user can select the newly created sense card. It is immediately available for future API calls. It is not displayed in the Language Graph Browser because that interface only reports senses available to all customers. To display customer defined meanings, access the Language Graph Browser using the following URL with a customerId parameter: https://api.idilia.com/1/kb/browser/?customerId=urn:uuid:.
The “Web Links” section of the meaning creation form contains links to external resources for the newly created meaning. These links are added as external mappings to Wikipedia and homepage URLs. They are available immediately when using API text/tag.
Editing a Meaning
The definition of a meaning can be edited using the “pencil” icon that is on the top right corner of customer-defined meanings.
This icon is active on cards displayed in a menu. For a standalone sensecard generated by the sense card API, the pencil can be activated using the jquery sense card plugin which is a module of the jquery tagging menu plugin.
Deleting a Meaning
The meaning can be deleted using the same “pencil” icon. The popup window includes a button to remove it. When that button is selected, the meaning is removed from the Language Graph, the popup window closes and the sense card is removed from the menu.