Questions tagged [synonym]

Synonym is a word or phrase that means exactly or nearly the same as another word or phrase in the same language.

Synonym is a word or phrase that means exactly or nearly the same as another word or phrase in the same language.

For more information read the Wikipedia page.

508 questions
3
votes
0 answers

How to map two dataframes on basis of synonyms? I tried using synset, but it wasn't exhaustive

Example Dataframe: A Word_A Frequency 0 Large 10 1 Happy 15 Dataframe: B Word_B Document 0 Big 1 1 Huge 1 2 Great 2 3 Cheerful 1 4 Merry 3 5 Joyful 2 Resulting…
3
votes
1 answer

Synonym Maps in Azure Search, synonym phrases

I'm trying to use synonym maps in Azure Search and i'm running into a problem. I want to have several words and phrases map into a single search query. In other words, when i search for either: product 123, product0123, product 0123 i want the…
3
votes
2 answers

In Oracle, why do public synonyms become invalid when a table partition is dropped

can someone tell me why the following behavior occurs (Oracle 10.2): SQL> create table part_test ( i int primary key, d date ) partition by range (d) (partition part_test_1 values less than (to_date(' 2 3 4 5 1980-01-01',…
Jamie Love
  • 5,418
  • 6
  • 30
  • 33
3
votes
3 answers

Get Specific Column Names in SYNONYM in Oracle

With this query I can successfully get a list of column names for an Oracle table. SELECT COLUMN_NAME FROM USER_TAB_COLUMNS WHERE table_name = 'TBL_NEWS' AND COLUMN_NAME LIKE ('GLOBE_%') ORDER BY COLUMN_ID I have a synonym and I need to get all…
TechGuy
  • 4,298
  • 15
  • 56
  • 87
3
votes
1 answer

Identifying and grouping synonyms in R

I'm trying to identify and aggregate synonyms for a given data set. Please see sample data below. library(tm) library(SnowballC) dataset <- c("dad glad accept large admit large accept dad big large big accept big accept dad dad Happy dad accept…
GraveDigger
  • 53
  • 1
  • 3
3
votes
0 answers

Elasticsearch 5 index creation very slow with a huge synonyms list

In the middle of the work to migrate an elasticsearch index from 2.3.3 to elasticsearch 5.1.1 we have noticed that the creation of the index has risen up from less than 20 seconds to 17 minutes. This config is from development environment in a…
teseo
  • 136
  • 1
  • 5
3
votes
2 answers

Oracle Synonyms issue

My Scenario: Schema name: schema1 Package name: pkg_system procedure name: proc1 Now I am trying to create a synonyms for my proc1 as below CREATE PUBLIC SYNONYM call_proc FOR schema1.pkg_system.proc1; ...but it gave me syntax error. ORA-00933:…
niceApp
  • 2,913
  • 8
  • 35
  • 36
3
votes
1 answer

List of all databases and corresponding synonyms in entire instance

I am trying to see a list of all synonyms in all databases in an instance. In majority of databases there is only 1 synonym, but there are hundreds of databses in each instance. Ideally I would like results to look something like this: Column 1:…
QWE
  • 287
  • 2
  • 15
3
votes
0 answers

How to escape forward slash in synonym mapping for elastic search?

I am using synonym analyzer for my elastic index and my synonym mapping is like this (Solr format): Mechanic,Machinist,Welder,Bike Repairer,Car Repairer,Autoworks,Technician,Machine operator => Mechanic Nurse,Nursing,Hospital Female…
3
votes
1 answer

Can we use Synonyms in other server?

I am using some old databases so I have work with different servers. I have created Synonyms on 'A' server and I able to do some operation on that without any problem. Now I want to use it in 'B' server, but it will now allow me access that synonyms…
Ravindra Sinare
  • 675
  • 1
  • 9
  • 25
3
votes
1 answer

Elasticsearch: add a synonym filter on my english analyser

I've got an index with a field description which is analysed like that: "description":{ "analyzer" : "english", "type" : "string" } I have defined an synonyms dictionnary in a file synonyms.txt which contain: ipod, i-pod, i pod =>…
mel
  • 2,730
  • 8
  • 35
  • 70
3
votes
1 answer

WordnetSynonymParser in Lucene

I am new to Lucene and I'm trying to use WordnetSynonymParser to expand queries using the wordnet synonyms prolog. Here is what I have till now: public class CustomAnalyzer extends Analyzer { @Override protected TokenStreamComponents…
shruthi
  • 327
  • 3
  • 5
  • 13
3
votes
1 answer

Rails Postgresql - synonym dictionary somewhat not updating

I have a Rails4 app with Postgresql(PG_search) on a MAC. I created the synonym dictionary through rails migration. The synonym dictionary is somewhat working. Setup below Migrations CREATE TEXT SEARCH DICTIONARY custom_synonyms_for_keywords (…
Arty.Simon
  • 844
  • 2
  • 7
  • 21
3
votes
2 answers

In SQL Server, should I create synonym for a table or a stored procedure?

If this has been answered elsewhere, please post a link to it, yell at me, and close this question. I looked around and saw similar things, but didn't find exactly what I was looking for. I am currently writing several stored procedures that require…
3
votes
1 answer

Synonym for a Sequence in Oracle

I want to create a synonym for a sequence in oracle and fetch currval from it. I created a synonym using this statement. CREATE SYNONYM NUMGEN FOR MY_SEQ; when I fetch the currval or extval from NUMGEN it generate error, synonym doesn't…
Omer
  • 39
  • 1
  • 1
  • 5