| 1 |
#ifndef INCLUDED_SMALLMERGE_H |
| 2 |
#define INCLUDED_SMALLMERGE_H |
| 3 |
|
| 4 |
#include "Meanings.h" |
| 5 |
|
| 6 |
|
| 7 |
// SMALLMERGE_RATIO |
| 8 |
// Smallmerge will merge any set that has at least this percent of |
| 9 |
// its synonyms in common with another set. |
| 10 |
extern double SMALLMERGE_RATIO; |
| 11 |
|
| 12 |
|
| 13 |
// PITHY_FILTER |
| 14 |
// Smallmege will remove all meaning sets with less than this many |
| 15 |
// elements. |
| 16 |
extern unsigned int PITHY_FILTER; |
| 17 |
|
| 18 |
// amount of eliminations. |
| 19 |
extern unsigned int SUBSETS; |
| 20 |
extern unsigned int MERGES; |
| 21 |
|
| 22 |
// smallMerge |
| 23 |
// |
| 24 |
// "classes" is a family of meanings to merge. this object will |
| 25 |
// get butchered in the process of a smallmerge, and will contain |
| 26 |
// many blank elements afterwards. |
| 27 |
// |
| 28 |
// "output" is where merged output will be put into a nice, new |
| 29 |
// meaning family. |
| 30 |
// |
| 31 |
void smallMerge(MeaningFamily& classes, MeaningFamily& output); |
| 32 |
|
| 33 |
|
| 34 |
#endif // INCLUDED_SMALLMERGE_H |