R scripts mostly for linguistic analysis