Here is what I did for dictionaries:
Code:
$ wc -l english.dict
3160120 english.dict
$ cat english.dict | awk 'length<9' > english-8.dict
$ wc -l english-8.dict
1182707 english-8.dict
$ cat english.dict | awk 'length<11' > english-10.dict
$ wc -l english-10.dict
2211209 english-10.dict
$ cat english.dict | awk 'length>9' > english-10+.dict
$ wc -l english-10+.dict
1264626 english-10+.dict
$