Med artificiell intelligens (AI) kan forskare upptäcka hittills osynliga historiska mönster.