nordlys.logic.elr.top_fields module

Top Fields

This class returns top fields based on document frequency

Author:Faegheh Hasibi
class nordlys.logic.elr.top_fields.TopFields(elastic)[source]

Bases: object

DEBUG = 0
fields
get_top_term(en, n)[source]

Returns top-n fields with highest document frequency for the given entity ID.