Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1417

Create Language Annotation for parsed "Content-Language" header

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.12.0
    • 1.0.0, 0.12.1
    • Enhancement Engines
    • None

    Description

      Stanbol supports parsing the language of the content by using the "Content-Language" header since STANBOL-660. However currently only the `dc:language` property is set for the ContentItem.

      However based on the specification of STANBOL-613 this information is only used as fallback if no language annotation is present in the ContentItem. So as soon as any Language Identification Engine is present in the Chain the "Content-Language" as parsed by the User will get ignored. This is not the intention of a user explicitly parsing the language.

      To force Stanbol to use the parsed language a Language Annotation with the confidence 1.0 needs to be added to the metadata of the ContentItem instead.

      Attachments

        Issue Links

          Activity

            People

              rwesten Rupert Westenthaler
              rwesten Rupert Westenthaler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Issue deployment