a little python script that help you find tokens with n size and m frequancy
python CooccurrencesE1.0.py YourText.txt 3 4 3 3
python3.7 CooccurrencesE1.0.py YourText.txt 3 4 3 3
EXPLANATION: python CooccurrencesE1.0.py "Text file name" "tokens number" "frequancy" "first word size" "last word size"