I’m pleased to announce the publication of Text Processing in Java !
This book teaches you how to master the subtle art of multilingual text processing and prevent text data corruption. Data corruption is the all-too-common problem of words that are garbled into strings of question marks, black diamonds, or random glyphs. In Japanese this is called mojibake (“character change”), written 文字化け, but on your browser it might look like this: ����� or this: æ–‡å—化ã‘. When this happens, pinpointing the source of error can be surprisingly difficult and time-consuming. The information and example programs in this book make it easy.
This book also provides an introduction to natural language processing using Lucene and Solr. It covers the tools and techniques necessary for managing large collections of text data, whether they come from news feeds, databases, or legacy documents. Each chapter contains executable programs that can also be used for text data forensics.
Topics covered:
- Unicode code points
- Character encodings from ASCII and Big5 to UTF-8 and UTF-32LE
- Character normalization using International Components for Unicode (ICU)
- Java I/O, including working directly with zip, gzip, and tar files
- Regular expressions in Java
- Transporting text data via HTTP
- Parsing and generating XML, HTML, and JSON
- Using Lucene 4 for natural language search and text classification
- Search, spelling correction, and clustering with Solr 4
Other books on text processing presuppose much of the material covered in this book. They gloss over the details of transforming text from one format to another and assume perfect input data. The messy reality of raw text will have you reaching for this book again and again.
January 31, 2014 at 9:46 am |
Congratulations! This will get used widely. Will they be doing editions on other languages?
Sent via a mobile device
February 1, 2014 at 5:27 am |
In the words of the late, great Marcel Marceau, Non!
January 31, 2014 at 9:48 am |
Whoops, that’s “in other languages”.
Sent via a mobile device
January 31, 2014 at 10:55 am |
Is the ebook available in a non-Kindle (or non DRMed) version?
February 1, 2014 at 5:29 am |
The Kindle version is not DRMed. That’s the only ebook version available.
May 8, 2016 at 4:17 pm
Hello Mitz,
Thank you for writing T.P. in J.
I invented a new logic for sorting and translating individual phrases into a 5 -tuple matrix. Image all sentence falling neatly under a five column sortable table..which part of Java would help best with this?
Thanks for any advice,
Kal
January 31, 2014 at 1:58 pm |
Congratulations, Mitzi!
March 8, 2014 at 6:22 am |
[…] Natural Language Processing and Text Analytics « New Book: Text Processing in Java […]