incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CLEREZZA-224) eed the "current language information" in the widget.
Date Fri, 04 Jun 2010 10:12:58 GMT

    [ https://issues.apache.org/jira/browse/CLEREZZA-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875550#action_12875550
] 

Tommaso Teofili edited comment on CLEREZZA-224 at 6/4/10 6:12 AM:
------------------------------------------------------------------

Maybe you could call inside or "before" the widget (depending on use case) UIMABaseMetadataGenerator
(providing a valid AlchemyAPI key as 'apikey' value in TextLanguageDetectionAEDescriptor.xml
descriptor inside the org.apache.clerezza.uima.utils module) to enrich your graphnode with
language finding it under the DCTERMS.language graphnode property

      was (Author: teofili):
    Maybe you could call inside ore "before" the widget (depending on use case) UIMABaseMetadataGenerator
(providing a valid AlchemyAPI key as 'apikey' value in TextLanguageDetectionAEDescriptor.xml
descriptor inside the org.apache.clerezza.uima.utils module) to enrich your graphnode with
language finding it under the DCTERMS.language graphnode property
  
> eed the "current language information" in the widget. 
> ------------------------------------------------------
>
>                 Key: CLEREZZA-224
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-224
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Oliver Strässer
>            Priority: Critical
>
> Hi all
> I'll need the "current language Information" in the widget.
> Use Case 1:
> I create an App which contains information about animals in different languages. I have
implemented a template widget called "display-pet" which is language independed. This widget
is from RDF type "PetWidget" and has a property wwfch:describePet, which points to a description
of a pet. Corresponding to the current language of the page the description of the animal
should be displayed.
> How can I propagte the language information from the page to my widget?
> Use Case 2:
> I display an interactive flash content. This flash content requests an xml with all pet
information.  This flash needs the current language information of the page too. - to request
the correct language and display all labels in the correct language.
> 1 . approach : the graphnode, that i receive in the ssp file (wich renders the pet or
include the flash content), has an triple which holds the language information of the page.
> 2 . approach : the individual language is added to the context graphnode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message