Write a script that accepts (normalized) Lexeme objects from multiple data sources, and decides what the resulting aggregate entry should look like. It should also mark entries for review.
The script should only accept one entry per data source. The task of deciding which entries should constitute a match should already be completed.
Notes
If @katieschmirler has already given the senses a comparison, attempt to use that.
If 90% of the definition is shared between CW and MD, use the CW definition. Otherwise show both definitions. (This same strategy probably applies when comparing other sources as well.)
If the words in one of the definitions is a subset of the words in the other definition, use the longer definition.
Each sense needs to indicate the data source it came from.
If an MD entry's definition is similar enough to a CW entry, just list both CW and MD in the dataSources.
Write a script that accepts (normalized) Lexeme objects from multiple data sources, and decides what the resulting aggregate entry should look like. It should also mark entries for review.
The script should only accept one entry per data source. The task of deciding which entries should constitute a match should already be completed.
Notes