There is a newer version of the record available.

Published October 15, 2019 | Version 3.0.0
Software Open

Capitains/MyCapytain: 3.0.0

  • 1. École Nationale des Chartes
  • 2. University of Hamburg, Germany
  • 3. Gemr, Inc.
  • 4. The Alpheios Project, Ltd.

Description

2019-07-01 3.0.0 @ponteineptique

  • Added DTS !
  • New Generic / Prototype CitationSetObject
    • New .match(passageId) function
  • New Generic / Prototype Citation Object
    • New .children Property
    • New .depth property (Not ported to CTS Citation object yet)
    • New meaning of .len() magic method
  • New .root and is_root properties to link back to the citation set (for match implementations)
  • Guidelines / CTS Citation Object
    • Implementation of the .match(passageId) method
  • CitationSet.is_root -> CitationSet.is_root() # Keep in check with other practices
  • BaseCitation.is_empty() now checks if the object has children
  • BaseCitation.is_set() checks if objects have their properties set
  • cts.Citation.isEmpty() old behaviour is now in .is_set() and has been reversed in meaning
    • Old system would check if the CTS Citation was not set, old code such as
    • if citation.isEmpty() should be moved to if citation.is_set()
  • Guidelines / CTS Citation Object
  • New Generic / Prototype Citation Object
    • RetroPorted .start and .end Properties (see below for breaking change)
    • New .is_range property

From MyCapytain.resources.prototypes.text to MyCapytain.resources.prototypes.cts.text :

  • CtsNode now PrototypeCtsNode
  • CtsPassage now PrototypeCtsPassage
  • CtsText now PrototypeCtsText

Texts class:

  • self.__attr__ to self._attr

CTS Citation:

  • CTSCitation.isEmpty() to CTSCitation.is_empty()

Files

Capitains/MyCapytain-3.0.0.zip

Files (12.2 MB)

Name Size Download all
md5:51cb263e6e8aaa7ecc02591ca24fb9fa
12.2 MB Preview Download

Additional details

Related works