Text this: Artificial intelligence applied to bed regulation in Rio Grande do Norte