def split_bi(text, period):
    """Splits text into bigrams by period length
    abcdefgh period four makes [ae, bg, cg, dh]"""
    comp = []
    for num in range(len(text) - period):
        comp.append(text[num] + text[num+period])

    return(comp)