furi.py
def non_kanji_pos(string):
    '''Get non-kanji positions in the string. Assume only one kanji and hiragana pair.'''
    kidx = kanji_pos(string)

    if kidx is None:
        return None

    kstart = kidx[0]
    kend = kidx[1]
    if kstart == 0:
        nstart = kend
        nend = len(string)
    else:
        nstart = 0
        nend = kstart

    return [nstart, nend]
Get non-kanji positions in the string. Assume only one kanji and hiragana pair.
Get non-kanji positions in the string. Assume only one kanji and hiragana pair.
Get non - kanji positions in the string . Assume only one kanji and hiragana pair .
def non_kanji_pos(string):
    kidx = kanji_pos(string)
    if kidx is None:
        return None
    kstart = kidx[0]
    kend = kidx[1]
    if kstart == 0:
        nstart = kend
        nend = len(string)
    else:
        nstart = 0
        nend = kstart
    return [nstart, nend]
def non_kanji_pos ( string ) : kidx = kanji_pos ( string ) if kidx is None : return None kstart = kidx [ 0 ] kend = kidx [ 1 ] if kstart == 0 : nstart = kend nend = len ( string ) else : nstart = 0 nend = kstart return [ nstart , nend ]
Get non-kanji positions in the string.
Get non - kanji positions in the string .
'''Get non-kanji positions in the string. Assume only one kanji and hiragana pair.'''
string