Questions tagged [thesaurus]
77 questions
3
votes
1 answer
Is there an English thesaurus resource that I can access using Perl?
I'd like to use Perl to search through an offline thesaurus. I don't know if this is possible, or what the mechanics of achieving this may be
I'd like be able to
Have a downloaded thesaurus on a machine
Write a Perl program that searches through…

Gary N.
- 33
- 1
- 5
2
votes
3 answers
Fastest approach for phrase query expansion
I'm using a list of synonyms to direct a process of query expansion. The format looks like this:
fu=foo
ba=bar
etc=etcetera
werd=word
I'm using a straightforward binary search algorithm to run each of the user input words against this list. The…

Alex
- 4,844
- 7
- 44
- 58
2
votes
1 answer
Is there any way to connect a dictionary to a pdf reader in linux?
I am reading some pdf books in English, and sometimes I need to look up a word in dictionary. I have goldendict on my system. And I use okular as my pdf reader.
My question is that is there any way to connect goldendict (or any other dictionary that…

Vahid
- 249
- 4
- 12
2
votes
0 answers
How to get desired result with full-text search in SQL Server through thesaurus?
I am using SQL Server 2019. I define thesaurus in language XML in SQL Server full text search.
0
…

Samir Allahverdi
- 71
- 8
2
votes
1 answer
Find Synonyms of a Word and Rank Synonyms based on its Closeness to the Base Word
Is it possible to find synonyms of a word and rank the synonyms based on its closeness to the base word? Below is the code for finding the synonyms. I wish to give each synonym a rank. How can I do it?
import nltk
from nltk.corpus import wordnet…

alyssaeliyah
- 2,214
- 6
- 33
- 80
2
votes
0 answers
Is there a Java open source library for managing a NISO/ANSI Z39.19 controlled vocabulary in XML or SKOS format?
I need a Java library to parse thesauri files which adhere to the NISO/ANSI Z39.19 standard XML or SKOS format. Parsing these files and creating associated classes to represent the data doesn't seem hard; I'm just trying to avoid reinventing the…

John Lehmann
- 7,975
- 4
- 58
- 71
2
votes
1 answer
Is there a good machine-readable thesaurus?
Is there a good machine-readable thesaurus that's free to download and use? We need to be able to canonicalise input into our app so that if we already have a record for 'what time is dinner' and the user adds 'when is dinner' we don't get a new…

Simon
- 25,468
- 44
- 152
- 266
2
votes
1 answer
Creating an iOS Swift Application that gets synonyms and definitions for words entered by the user
I am working on an iOS application using Swift that takes a word from a user and finds the synonyms for that word. It then offers to find the definitions for each of those synonyms.
I have done a lot of research but I have been having trouble…

JoshSchellenberger
- 148
- 2
- 12
2
votes
0 answers
SQL Server Thesaurus XML File
Is there somewhere I can get the xml thesaurus file such as english, french, russian, polish and italian from the web (for SQL Server that is)?

Mark Kelvin Mojagan
- 41
- 3
2
votes
1 answer
SQL full-text thesaurus
Is there somewhere one can get the xml for the english thesaurus from the web (for mssql that is)? I'd really hate to populate it by hand...

Shagglez
- 1,522
- 3
- 21
- 38
2
votes
1 answer
Can I selectively ignore the thesaurus file in a SQL Server full-text query?
Can I choose to ignore the tsENU.xml thesaurus file in a full-text query in SQL Server 2005?
IF @x = 0 THEN
BEGIN
SELECT FROM FREETEXTTABLE(use subtitutions and expansions in thesuarus)
END
ELSE
BEGIN
SELECT FROM…

user5474
- 21
- 2
2
votes
0 answers
PostgreSQL CREATE TEXT SEARCH DICTIONARY reports stop-word on thesaurus file row that actually do not contain the reported stop-word
I try to create thesaurus from the thesaurus file moby.ths using the query
CREATE TEXT SEARCH DICTIONARY thesaurus_moby (
TEMPLATE = thesaurus,
DictFile = moby,
Dictionary = english_stem
);
Postgres reports the following error:
[F0000]…

Andres Kull
- 4,756
- 2
- 15
- 13
2
votes
2 answers
SQL Server 2005. Full Text Search. Need Thesaurus working with NEAR/AND/OR keywords
does anyone know if it's possible to do a thesaurus search
together with NEAR or AND/OR keywords.
Here is an example of the type of query I want to run:
SELECT Title, RANK
FROM Item INNER JOIN
CONTAINSTABLE(Item, Title,…
user305924
2
votes
2 answers
Building a thesaurus from corpus
I am working on a natural language processing application. I have a text describing 30 domains. Each domain is defined with a short paragraph that explains it. My aim is to build a thesaurus from this text so I can determine from an input string…

Kabulan0lak
- 2,116
- 1
- 19
- 34
2
votes
2 answers
What is a good thesaurus and taxonomy library for Python?
Can you recommend a good Python library to get thesaurus and taxonomy of a given word?
Synonym:
>>> print get_synonym('image')
['picture', 'photo']
Taxonomy:
>>> print get_taxonomy('baseball')
['sports']

jack
- 17,261
- 37
- 100
- 125