A General Architecture for Connecting NLP Frameworks and Desktop Clients using Web Services