Optimize segment script
Merge branch 'master' of github.com:mganjoo/motherese-detection-cs224s