Researchers at Sultan Qaboos University in Oman have shown how AI can uncover hidden patterns in legal texts.