Tekstiviesti: From pedigree to database