@classmethod
def from_elk_search(cls, **kwags):
    """Create an AbAddressUtility class from a dict containing ELK
        information.

        :params **kwags: a dict from ELK format.
        """
    a = {'flat_part': kwags.get('flat_part', None), 'number_first': kwags.
        get('number_first', None), 'number_last': kwags.get('number_last',
        None), 'street_part': kwags.get('street_part', None), 'locality':
        kwags.get('locality', None), 'state': kwags.get('state', None)}
    for k, v in a.items():
        if v is None:
            a[k] = ''
    address = (
        f"{a['flat_part'] + '/' if len(a['flat_part']) > 0 else ''}{a['number_first']}{'-' + a['number_last'] if len(a['number_last']) > 0 else ''} {a['street_part']}, {a['locality']}, {a['state']}"
        )
    return cls(address)
