Uploaded image for project: 'Modules'
  1. Modules
  2. MOD-397

Packard morph module should not use space as code separator

    Details

      Description

      [Packard] (1.2) - Packard's Morphological Analysis Codes

      This module is expecting morphcode to use a space as separator.

      Have a look in modules/lexdict/rawld/packard/packard.dat , by example this first entry:

      ################
      A1A APF
      Part of speech: adjective, 1st declension, -οσ/-η/-ον pattern endings<br />
      Case: accusative<br />
      Number: plural<br />
      Gender: feminine<br />
      ################

      diatheke -b Packard -k "A1A APF"
      : Part of speech: adjective, 1st declension, -οσ/-η/-ον pattern endings<br /> Case: accusative<br /> Number: plural<br /> Gender: feminine<br />

      OSIS w attributes are space separated lists and thus spaces should be
      avoided within the morphcodes. Where spaces absolutely must be included, the spaces within the data need to be escaped.

      So the LXX modules use dash instead of space as a separator, by example in Gen 8:10:

      <w morph="packard:A-APF">ετερας</w>

      However, when using dash as a separator in queries, the packard module gives erroneous result.
      If i ask for "A1A-APF", it says vocative/singular/masculine instead of accusative/plural/feminine

      diatheke -b Packard -k "A1A-APF"
      : Part of speech: adjective, 1st declension, -οσ/-η/-ον pattern endings<br /> Case: vocative<br /> Number: singular<br /> Gender: masculine<br />

      more details here:
      http://crosswire.org/pipermail/sword-devel/2021-February/048659.html

        Attachments

          Activity

            People

            • Assignee:
              refdoc Peter von Kaehne
              Reporter:
              pamadio pierre amadio
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: