LEMLAT3 icon indicating copy to clipboard operation
LEMLAT3 copied to clipboard

Grouping identical analyses into a single entry

Open gfranzini opened this issue 6 years ago • 1 comments

Create a filter/function to group identical analyses into a single entry. For example, analyses 18 and 19 of forma (Du Cange) are identical:

============================ANALYSIS 18==================================

SEGMENTATION:	form -a

---------------------morphological feats 1 ----------------------------
--bfs--

Case:	Ablative
Gender:	Feminine
Number:	Singular
---------------------morphological feats 2 ----------------------------
--nfs--

Case:	Nominative
Gender:	Feminine
Number:	Singular
---------------------morphological feats 3 ----------------------------
--vfs--

Case:	Vocative
Gender:	Feminine
Number:	Singular
	============================LEMMA =================================
	forma                         N1   D68HA f
	-----------------------morphological feats-------------------------
	NcA

	PoS:	Noun
	Type:	Common
	Inflexional Category:	I decl
	-----------------------derivational info---------------------------
	IS DERIVED: NO

============================ANALYSIS 19==================================

SEGMENTATION:	form -a

---------------------morphological feats 1 ----------------------------
--bfs--

Case:	Ablative
Gender:	Feminine
Number:	Singular
---------------------morphological feats 2 ----------------------------
--nfs--

Case:	Nominative
Gender:	Feminine
Number:	Singular
---------------------morphological feats 3 ----------------------------
--vfs--

Case:	Vocative
Gender:	Feminine
Number:	Singular
	============================LEMMA =================================
	forma                         N1   D68HB f
	-----------------------morphological feats-------------------------
	NcA

	PoS:	Noun
	Type:	Common
	Inflexional Category:	I decl
	-----------------------derivational info---------------------------
	IS DERIVED: NO

gfranzini avatar Dec 21 '18 16:12 gfranzini