Skip to content

1.1.0

Compare
Choose a tag to compare
@althonos althonos released this 24 Oct 15:37
· 309 commits to master since this release
v1.1.0

Added

  • Entity.add_synonym method to create a new synonym and add it to an entity.
  • @roundrepr now adds a minimal docstring to the generated __repr__ method.
  • Ontology caches subclassing relationships to greatly improve performance of
    Term.subclasses.

Changed

  • Entity subclasses now store their id directly to improve performance.
  • Term.subclasses and Term.superclasses use collections.deque instead of
    queue.Queue as a LIFO structure since thread-safety is not needed.
  • chardet result is now used even when prediction confidence is under 100%
    to detect encoding of the handle passed to Ontology.

Fixed

  • SynonymType comparison implementation.
  • Synonym.type getter crashing on type not being None.
  • RdfXMLParser crashing on synonymtypedefs without scope specifiers.