striplog/lexicon.py
def from_json_file(cls, filename):
        """
        Load a lexicon from a JSON file.

        Args:
            filename (str): The path to a JSON dump.
        """
        with open(filename, 'r') as fp:
            return cls(json.load(fp))
def from_json_file(cls, filename):
        with open(filename, 'r') as fp:
            return cls(json.load(fp))
def from_json_file ( cls , filename ) : with open ( filename , 'r' ) as fp : return cls ( json . load ( fp ) )
Load a lexicon from a JSON file.

        Args:
            filename (str): The path to a JSON dump.
Load a lexicon from a JSON file .