File size: 407 Bytes
c2e02ba
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Entity Analysis - Weekly Module.

This module provides entity analysis for the latest 7 days of data.
It processes and returns top entities with their mention counts and types
for the past 7 days from the most recent article date.
"""
from ..utils import get_entity_analysis_data


def process():
    """Return Entity Analysis data for the *latest 7 days*."""
    return get_entity_analysis_data("week")