TiVo Community Forum Archive 1

TiVo Community Forum Archive 1 (http://archive.tivocommunity.com/tivo-vb/index.php)
- TiVo UK (http://archive.tivocommunity.com/tivo-vb/forumdisplay.php?forumid=14)
-- Using Digiguide to set manual recordings via TiVo web (http://archive.tivocommunity.com/tivo-vb/showthread.php?threadid=141584)


Posted by pgogborn on 11-16-2003 01:47 AM:

quote:
Originally posted by sanderton

I think since both sources are commercially sourced data, that I can get away without worrying about misspellings - it's more where they have taken different approache to "normalising" some complex series names.



Just had a first look at Tcl, this is my first cut as a way I would try to normalise the data.

code:
regsub -all {^.+:|[^a-zA-Z]} $Tribune_title "" compacted_Tribune_title regsub -all {^.+:|[^a-zA-Z]} $DigiGuide_title "" compacted_DigiGuide_title if {[string match -nocase $compacted_Tribune_title $compacted_DigiGuide_title]}


So

BBC 2 Crime Afternoon: Harry's Game
would match
HARRYS GAME (1982)

But

BBC 2 Crime Afternoon: Harry's Game
would not match
BBC 2 Crime Afternoon: Larry's Game


All times are GMT. The time now is 04:45 PM.

Powered by: vBulletin Version 2.2.8
Copyright © Jelsoft Enterprises Limited 2000, 2001.
(C)opyright - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.