I have a StandardAnalyzer work that extracts words and frequencies from a single document using TermVectorMapper, which fills the HashMap.
But if I use the following text as a field in my document, i.e.
addDoc(w, "lucene Lawton-Browne Lucene");
Word frequencies returned in HashMap:
brown 1 lucene 2 lawton 1
The problem is the words "lawton" and "browne". If it's an actual โdouble-barreled name,โ can Lutsen recognize his โLorton Brown,โ where the name is actually one word?
I tried combinations:
addDoc(w, "lucene \"Lawton-Browne\" Lucene");
And single quotes, but without success.
thanks
Mr. Morgan.
source share