Skip to content

0.6.0

Compare
Choose a tag to compare
@mscarey mscarey released this 20 Sep 00:34
· 32 commits to master since this release
  • TextPositionSelector no longer inherits from Range
  • TextPositionSet no longer inherits from RangeSet
  • TextPositionSelector no longer has real_start and real_end that can differ from start and end
  • Selectors and TextPositionSets are Pydantic models
  • remove Marshmallow schemas
  • update type annotations for TextPositionSelector.from_range
  • add TestQuoteSelector.as_unique_position method
  • TextPositionSet can include TextQuoteSelectors
  • add convert_quotes_to_positions method to TextPositionSet
  • replace TextPositionSet.selectors field with positions and quotes
  • change as_quote_selector method to as_quote
  • TextPositionSet.add_margin includes quotes
  • fix bug: subtracting int from selector set caused quotes to be lost
  • add ge and gt methods for TextPositionSelector
  • add Selecting Text with Anchorpoint guide