Tannin-measuring techniques