Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to exclude types from cas_to_comparable_text #215

Closed
reckart opened this issue Sep 22, 2021 · 0 comments
Closed

Ability to exclude types from cas_to_comparable_text #215

reckart opened this issue Sep 22, 2021 · 0 comments
Assignees
Milestone

Comments

@reckart
Copy link
Member

reckart commented Sep 22, 2021

Is your feature request related to a problem? Please describe.
Sometimes I want to compare two CASes to each other, but I want to exclude certain types from the comparison.

Describe the solution you'd like
Add an exclude_types parameter to cas_to_comparable_text. For a first throw, considering type inheritance is not necessary. Maybe add that later.

@reckart reckart added this to the 0.6.0 milestone Sep 22, 2021
@reckart reckart self-assigned this Sep 22, 2021
reckart added a commit that referenced this issue Sep 22, 2021
- Added exclude_types parameter
- Added test
reckart added a commit that referenced this issue Sep 22, 2021
…es-from-cas_to_comparable_text

#215 - Ability to exclude types from cas_to_comparable_text
@reckart reckart closed this as completed Sep 22, 2021
reckart added a commit that referenced this issue Sep 27, 2021
* main:
  No issue. Formatting.
  #215 - Ability to exclude types from cas_to_comparable_text
  #212 - Allow loading/saving XMI/typesystems from/to Path
  #211 - Serializing an FSArray without any elements breaks
  #212 - Allow loading/saving XMI/typesystems from/to Path

# Conflicts:
#	cassis/util.py
reckart added a commit that referenced this issue Sep 27, 2021
…ithub.com/dkpro/dkpro-cassis into feature/168-Experimental-JSON-CAS-support

* 'feature/168-Experimental-JSON-CAS-support' of https://github.com/dkpro/dkpro-cassis:
  No issue. Formatting.
  #215 - Ability to exclude types from cas_to_comparable_text
  #212 - Allow loading/saving XMI/typesystems from/to Path
  #211 - Serializing an FSArray without any elements breaks
  #212 - Allow loading/saving XMI/typesystems from/to Path
  #168 - Experimental JSON CAS support
  #168 - Experimental JSON CAS support
  #168 - Experimental JSON CAS support
  #209 - Parsing an array that was serialized using multipleReferencesAllowed=true fails
  - Do not execute performance "tests" when running make test - Update JSON reference data with new data from UIMA Java SDK - including CAS examples using emojis and other Unicode characters - Enabled character offset conversion on import/export in JSON (de)serializer
  #209 - Parsing an array that was serialized using multipleReferencesAllowed=true fails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant