Following Bisazza and Federico (2012), we automatically decide the threshold for word frequency to discriminate between content words and function words.
the threshold is determined by the ratio of highly frequent words.