HomePhabricator

Add Lexeme::addSense() and Lexeme::removeSense()

Authored by Lucas_Werkmeister_WMDE on Jul 10 2018, 3:36 PM.

Description

Add Lexeme::addSense() and Lexeme::removeSense()

Lexeme::addSense() creates a new sense with an automatically incremented
ID from its elements (the gloss list). (Lexeme::addOrUpdateSense() will
be added later.)

Bug: T198032
Change-Id: I5433871b9ab8eedfe0bcfe053d273bdcd96f14df

Details

Committed
Lucas_Werkmeister_WMDEJul 10 2018, 4:19 PM
Parents
rEWLE4f1855cf415f: Move Lexeme::getNextSenseId() up
Branches
Unknown
Tags
Unknown
References
refs/changes/99/444899/2
ChangeId
I5433871b9ab8eedfe0bcfe053d273bdcd96f14df