*restore default postresql port
* prevIndependentPos and nextIndependentPos check whether any words
between the current and selected position depend either on the current
or on the selected position
* improve parsing of punctuation