Browse Prior Art Database

Language-Independent Interfaces for Culturally Sensitive Character Classification

IP.com Disclosure Number: IPCOM000116654D
Original Publication Date: 1995-Oct-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 4 page(s) / 135K

Publishing Venue

IBM

Related People

Rose, WD: AUTHOR [+5]

Abstract

A programming language independent mechanism to specify culturally sensitive character classification is disclosed. This specification can be used to aid in the development and use of internationalized software.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 40% of the total text.

Language-Independent Interfaces for Culturally Sensitive Character
Classification

      A programming language independent mechanism to specify
culturally sensitive character classification is disclosed.  This
specification can be used to aid in the development and use of
internationalized software.

      A set of common national language dependent character
classification services has been defined for describing graphic
character data within the context of the global software marketplace.
These services have been defined as programming language independent
procedure calls.  Each of the callable services relies on
localization information available to them at runtime, to alter their
results in accordance with the local preferences of the caller.

      These services use the data in a user's local profile
information which identifies preferences for various presentation
formats of the culturally sensitive information.  The POSIX 'locale'
concept has been adopted as the means of specifying the user's
preferences.

      The language independent interface specifications allow for a
wide number of programming languages to be used on a variety of
processing platforms.

      C function prototypes were used in the specification of the
functions to accurately describe the argument list and the data types
required.

      Procedure calls were used rather than function calls because
not all programming languages support the use of processes which
return function results.

The main features of the procedure calls are:
  o  localization information to provide culturally correct results
  o  localization information object name can be included in the call
  o  error handling provides detailed information on type and
location
      of error
  o  condition handling facility to provide programmed response to
      errors

The following character classification services are disclosed;
  o  CSFWALN: Tests the wide character representation of a graphic
      character for its membership in the alphanumerics class.
     The input is a wide character string to be tested.  The results
      of the operation will be 1 (one) if the character belongs to
the
      class, otherwise a 0 (zero) will be returned.
  o  CSFWALB: Tests a wide character representation of a character
for
      membership in the alphabetic (letters) character class.

          The input specifies a wide character to be tested.  The
results of the operation will be 1 (one) if the character belongs
to the class, otherwise a 0 (zero) will be returned.
  o  CSFWCNT: Tests a wide character representation of a character
for
      membership in the control character class.

          The input specifies a wide character to be tested.  The
results of the operation will be 1 (one) if the character belongs
to the class, otherwise a 0 (zero) will be returned.
  o  CSFWDIG: Tests a wide character represen...