Text this: Two architectures of neural networks in distance approximation