AI and heritage science