extract sentence arrays into modules