Text this: Foreign policy analysis