Python: NLTK is a powerful toolkit and is an excellent learning tool for Natural Language Processing

Java: GATE General Architecture for Text Engineering. This is a toolkit and a platform to develop NLP solutions.