def find_next_word_beginning(self, count=1, WORD=False):
        regex = _FIND_BIG_WORD_RE if WORD else _FIND_WORD_RE
        iterator = regex.finditer(self.text_after_cursor)

        try:
            for i, match in enumerate(iterator):
                # Take first match, unless it's the word on which we're right now.
                if i == 0 and match.start(1) == 0:
                    count += 1

                if i + 1 == count:
                    return match.start(1)
        except StopIteration:
            pass
IRF Sims-Zha error band method 1. Assumes symmetric error bands around
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.find_next_word_beginning--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/vector_ar/irf.py/IRAnalysis.err_band_sz1