Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following issues #180 and #283
The adjective lexical entries have been merged and named without adjective position (ewn-aware-p--a + ewn-aware-a -> ewn-aware-a). They group the senses originally split among (otherwise similar) multiple lexentries.
The naming follows the format specification. see format
Sense ids are not affected and preserve adj position information (ewn-aware-p--a-00191603-01 ewn-aware-a-01984219-02). The order in which they appear is preserved under the new grouping.
The schema is unchanged (adj position appears only within the sense id) and has not been exported to an attribute or element. How about provisionally using 'note' or 'dc:type' which are legit ?
Source code
https://github.com/1313ou/ewn-transformation3/blob/master/merge-lexentries3.xsl
This requires a XSLT3.0 transformer and Saxon is used.
Sorry I don't know what pretty-print formatter you use so I left it the way Saxon outputs it.