import json
import ast


def loadAspectTermData(aspectTermDataPath):
    """
    Module to load aspect term data obtained from Aspect Term Extraction Module
    Args:
        aspectTermDataPath: aspect term data path from Aspect Term Extraction Module
    Returns:
        termData: list of aspect term data from Aspect Term Extraction Module
    """    
    with open(aspectTermDataPath) as termFile:
        termData = json.load(termFile)
    termData = ast.literal_eval(json.dumps(termData, ensure_ascii=False, encoding='utf8'))
    return termData