remove print in word_alignment
create phrase_extract function for database