I have 10 text files, in each file i have a chapter from a book, i want to find the pair of words that appear the most of the time together in a line i.e:
chapter1:
hello world good boy green sun
good green boy sun world hello
chapter2:
chapter3:
.....etc
Output wanted for chapter1:
hello world (alphabet order)
Hello world Hello
? it should come in output? and how ?Hello world
orworld Hello
? – αғsнιη Apr 17 '19 at 15:02Hello\nworld\nHello
?\n
is actual new-line character. please [edit] your question to answer for comments asking for clarifications – αғsнιη Apr 17 '19 at 15:31