add ngram edge analysis for main index