@Edent I use this protocol in local.
In both Debian (I presume in all linux distros) and FreeBSD you can install a local server and a client. There are numerous dictionaries you can install.
Whenever I have a doubt, I type in a terminal
$ dict dictionary
and voila:
5 definitions found
From The Collaborative International Dictionary of English v.0.48 [gcide]:
Dictionary \Dic"tion*a*ry\, n.; pl. {Dictionaries}. [Cf. F. dictionnaire. See {Diction}.]
1. A book containing the [...]