(wv_tok1, nlu_t1)
return g_wvi1_corenlp
Jan.2019: Wonseok
    Generate SQuAD style start and end index of wv in nlu. Index is for of after WordPiece tokenization.

    Assumption: where_str always presents in the nlu.

    return:
    st_idx of where-value string token in nlu under CoreNLP tokenization scheme.
Jan.2019: Wonseok
    Generate SQuAD style start and end index of wv in nlu. Index is for of after WordPiece tokenization.
Jan . 2019 : Wonseok Generate SQuAD style start and end index of wv in nlu . Index is for of after WordPiece tokenization .
def check_wv_tok_in_nlu_tok(wv_tok1, nlu_t1):
    """
    Jan.2019: Wonseok
    Generate SQuAD style start and end index of wv in nlu. Index is for of after WordPiece tokenization.

    Assumption: where_str always presents in the nlu.

    return:
    st_idx of where-value string token in nlu under CoreNLP tokenization scheme.
    """
    g_wvi1_corenlp = []
    nlu_t1_low = [tok.lower() for tok in nlu_t1]
    for i_wn, wv_tok11 in enumerate(wv_tok1):
        wv_tok11_low = [tok.lower() for tok in wv_tok11]
        results = find_sub_list(wv_tok11_low, nlu_t1_low)
        st_idx, ed_idx = results[0]

        g_wvi1_corenlp.append( [st_idx, ed_idx] )

    return g_wvi1_corenlp
def check_wv_tok_in_nlu_tok ( wv_tok1 , nlu_t1 ) : g_wvi1_corenlp = [ ] nlu_t1_low = [ tok . lower ( ) for tok in nlu_t1 ] for i_wn , wv_tok11 in enumerate ( wv_tok1 ) : wv_tok11_low = [ tok . lower ( ) for tok in wv_tok11 ] results = find_sub_list ( wv_tok11_low , nlu_t1_low ) st_idx , ed_idx = results [ 0 ] g_wvi1_corenlp . append ( [ st_idx , ed_idx ] ) return g_wvi1_corenlp