Signbank / Global-signbank

An online sign dictionary and sign database management system for research purposes. Developed originally by Steve Cassidy/ This repo is a fork for the Dutch version, previously called 'NGT-Signbank'.
http://signbank.cls.ru.nl
BSD 3-Clause "New" or "Revised" License
19 stars 12 forks source link

Automatically create the reverse relation to other sign #275

Closed ocrasborn closed 7 years ago

ocrasborn commented 7 years ago
ocrasborn commented 7 years ago

Perhaps the code @ErwinKomen wrote to make the morphology links bidirectional can be reused, see #128

vanlummelhuizen commented 7 years ago

Done.

Note that when creating a relation, the reverse is also created, even if the reverse already exists. This is because identical relations may occur more than once. When deleting a relation, the first found reverse relation is deleted.

ocrasborn commented 7 years ago

That should be fine: after we do some initial cleaning up, new 'doubles' should not be created anymore thanks to this new functionality. I'll keep the issue open for me to test.