DeepSearch Guide
  • 딥서치 가이드
  • DeepSearch API
    • DeepSearch Data Platform
    • API 사용 방법
    • 데이터
      • 시장데이터
      • 개요데이터
      • 문서데이터
      • 재무데이터
        • 분기재무제표 쿼리
    • 기본적인 데이터 조회 방법
    • 쿼리를 통한 데이터 조회
      • 딥서치 쿼리 설명 및 응용
      • 기업검색
        • 데이터 기반 기업 검색
        • 문서 기반 기업 검색(뉴스, 증권사리포트, IR, 특허)
        • 주주 기반 기업 검색
        • 산업 기반 기업 검색
        • 사업 기반 기업 검색
        • 주소 기반 기업 검색
        • 기업명 기반 기업 검색
        • 외부감사여부 기반 기업 검색
        • 폐업여부 기반 기업 검색
        • 상장여부 기반 기업 검색
      • 조회된 데이터를 연산
      • FAQ 및 에러모음
    • API 함수를 통한 데이터 조회
      • 국내기업
        • 기업 검색
          • FindEntity
          • GetEntitySummary
          • FindEntityByName
          • FindEntityByShareholderName
          • FindEntityByIndustryID
          • FindEntityByBusinessArea
          • FindEntityByAddress
          • FindEntityInDocuments
          • FindAssociatedEntity
          • SearchFinancialStatementsAuditOpinion
        • 기업 정보 조회
          • GetCompanySummary
          • GetCompanyHistory
          • GetCompanyBusinessGoal
          • GetCompanyBusinessSummary
          • GetCompanyRelatedFirms
          • GetCompanyProductsSales
          • GetCompanyDebts
          • GetCompanyDividends
          • GetCompanyShareholders
          • GetCompanyEmployees
          • GetCompanyExecutives
          • GetCompanyBranches
          • GetFinancialStatementsAuditOpinion
        • 재무제표 조회
          • GetFinancialStatements
          • GetAvailableFinancialStatements
        • 공시 정보 조회
          • GetDartCapitalChange
          • GetDartDividends
          • GetDartShareRepurchase
          • GetDartMajorityShareholders
          • GetDartMajorityShareholderChange
          • GetDartMinorityShareholders
          • GetDartExecutives
          • GetDartEmployees
          • GetDartIndividualDirectorCompensation
          • GetDartOverallDirectorCompensation
          • GetDartTopIndividualCompensation
          • GetDartInvestmentInOthers
        • 컨센서스 정보 조회
          • GetConsensusInstitutionList
          • GetConsensusAnalystList
          • SearchAnalystReports
          • SearchTargetPrices
          • SearchFirmFundamentalsForecasts
        • 이슈 기업 목록 조회
          • GetCompanyShareholderChanges
          • GetTargetPriceConsensusChange
          • GetFundamentalsConsensusChange
        • 주가 정보 조회
          • GetStockSymbols
          • GetStockPrices
          • GetMarketIndexSymbols
          • GetMarketIndexes
        • 채권 정보 조회
          • GetBondClassificationCodeList
          • GetBondIssuerList
          • GetBondIssuerListFromIndustry
          • GetBondIssuerSummaryInfo
          • GetBondClassSummaryInfo
          • GetBondSummaryInfoPerIndustry
          • GetLatestBondIssues
          • SearchBondIssuerByName
          • GetBondIssuanceHistory
          • GetBondRepaymentSchedule
          • GetBondYields
          • GetBondYieldsForIndustry
          • GetAverageBondYieldTimeSeries
          • GetInterpolatedBondYields
          • GetRiskFreeYields
          • GetBondYieldPrincipalComponents
          • ConvertBondIssuerCodeToNICESymbol
          • ConvertNICESymbolToBondIssuerCode
      • 해외기업
        • 기업 정보 조회
          • 기업 목록 조회
          • 기업 개요 조회
          • 기업 재무 데이터 조회
        • 주가 정보 조회
          • 주가 정보 조회
      • 산업
        • 산업 정보 조회
          • GetAggregateIndustryInfo
          • GetAggregateIndustryConsensus
          • GetMarketSummaryInfoByIndustry
        • 기업 주제 조회
          • GetConditionalTagMetadata
          • FindEntityByTag
          • GetEntityTags
        • 기업 집단 정보 조회
          • FindConglomerateByName
          • FindConglomerateByID
          • GetConglomerateMembers
          • GetConglomerateFinancialStatements
      • 인물
        • 기업 임원 검색
          • FindPersonBio
          • FindPeopleByName
          • FindPeopleByBirthday
        • 주식 부자 목록 추출
          • FindRichestShareholders
      • 문서
        • 문서 검색
          • DocumentSearch
            • 문서 심화검색
          • DocumentTrends
          • DocumentAggregation
          • GetSentimentScore
        • 토픽 검색
          • SearchTrendingTopics
          • GetTrendingTopic
          • SearchHistoricalTopics
          • GetHistoricalTopic
        • 유사 단어 추출
          • SimilarKeywords
      • 이벤트
        • 주식 포트폴리오 성과 분석
          • ComputePortfolioReturns
          • AnalyzePortfolioReturns
        • 주식 시장 이벤트 분석
          • ComputeEventDayStockReturns
          • ComputeStockReturnCorrelationWith
          • GetIndustryReturnsOnEventDates
          • GetCumulativeIndustryReturns
        • 채권 시장 이벤트 분석
          • GetBondYieldChangesPerIssuer
          • GetBondYieldChangesPerClassification
          • GetBondYieldChangesPerIndustry
      • 경제 지표
        • 경제 지표 검색
          • FindEntity
        • 한국은행 데이터 조회
          • QueryBankOfKoreaSeriesInfo
          • QueryBankOfKoreaSeriesInfoSimple
          • QueryBankOfKoreaSeriesData
          • QueryBankOfKoreaSeriesDataSimple
        • 미연방은행 (FRED) 데이터 조회
          • QueryFredSeriesInfo
          • QueryFredSeriesData
          • GetFredCategoryOfDataSeries
          • GetFredDataSeriesListUnderCategory
        • IMF 데이터 조회
          • GetImfSeriesInfo
          • GetImfSeriesValues
          • GetImfDataflowAnnotations
          • GetImfIndicatorListOfSameCountry
          • GetImfCountryListOfSameIndicator
        • OECD 데이터 조회
          • GetOecdSeriesInfo
          • GetOecdSeriesValues
          • GetOecdDatasetAnnotations
          • GetOecdRelatedIndicatorList
        • World Bank 데이터 조회
          • QueryWorldBankSeriesInfo
          • QueryWorldBankSeriesData
          • GetWorldBankCountryListOfIndicator
          • GetWorldBankIndicatorListOfSameSource
        • 통계청 데이터 조회
          • QueryKosisTableInfo
          • GetKosisAvailableSampleDates
          • GetKosisTableCategoryItemFreqList
          • QueryKosisCrossSectionData
          • QueryKosisTimeSeriesData
        • 딥서치 자체 수집 데이터 조회
          • QueryDeepSearchOwnSeriesInfo
          • QueryDeepSearchOwnSeriesValues
          • QueryDeepSearchOwnDataSeriesListOfSameCategory
    • 결과 레이아웃
      • Input
      • Result:DataFrame
      • Result:SingleValue
      • Result:DocumentSearchResult
      • Result:DocumentTrendsResult
      • Result:TrendingTopicsSearchResult
      • Result:TrendingTopicResult
      • Result:HistoricalTopicsSearchResult(검색)
      • Result:HistoricalTopicsSearchResult(상세)
      • Result:PortfolioReturns
      • Result:PortfolioAnalysis
    • 챗딥서치
      • 문서 QA
      • 딥서치 Function Call
    • 토픽 인사이트
      • Insight
      • Question
      • Answer
  • HELP CENTER
    • 자주 묻는 질문
      • 가입 및 회원 정보
      • 플랜 및 결제/환불
      • 데이터
      • 기업 발굴하기
    • 공지 사항
      • '딥서치 마이노트' 런칭 안내
      • '딥서치 신규 엑셀 애드인' 런칭 안내
      • '경제지표' 메뉴 일시 중단
      • '밸류에이션 자동화 서비스' 업데이트
      • 딥서치 홈 화면 개편 안내
Powered by GitBook
On this page
  • Function specification
  • Parameters
  • Result Layout
  • Examples

Was this helpful?

  1. DeepSearch API
  2. API 함수를 통한 데이터 조회
  3. 문서
  4. 유사 단어 추출

SimilarKeywords

입력된 쿼리와 유사한 키워드를 검색합니다.

Previous유사 단어 추출Next이벤트

Last updated 4 years ago

Was this helpful?

Function specification

SimilarKeywords(positive_keyword,
                negative_keyword,
                max_count = 30,
                min_score = 0.5,
                date_from = None,
                date_to = None)

SimilarKeywords는 를 이용하여 입력된 쿼리와 유사한 키워드를 검색합니다.

각각의 단어는 분산 표현(Distributed Representation)을 통해 유사한 단어는 인접하도록 특정 공간에 사상됩니다. 특정 공간에 사상된 단어는 백터 연산을 통해 아래의 그림과 같이 새로운 단어를 유추할 수 있습니다.

위의 오른쪽 그림의 예시는 SimilarKeywords(positive_keyword="KINGS QUEEN", negative_keyword="KING")와 같은 연산을 통해 QUEENS를 얻을 수 있습니다. 그러나 이는 이상적인 경우이며 대부분의 경우 positive_keyword의 토큰이 하나일 때 가장 좋은 결과를 출력합니다.

Word2Vec 모델은 연도별로 발생한 뉴스 데이터를 기반으로 각각 학습되었으며 date_from/date_to를 통해 개별 연도의 유사 키워드를 검색할 수 있습니다.

Parameters

Parameter

Type

Description

Required

positive_keyword

string

검색 쿼리, 공백을 통해 하나 이상의 토큰을 표현

True

negative_keyword

string

제외 검색 쿼리, 공백을 통해 하나 이상의 토큰을 표현

max_count

integer

최대 검색 결과 개수

min_score

float

최소 코사인 유사도 점수

date_from/date_to

string

검색 기간(YYYY)

Result Layout

Examples

> SimilarKeywords("자율주행", date_from="2015")

...

           keyword   score
year index                
2015 0       자율주행차  0.8541
     1       무인자동차  0.7629
     2       전기자동차  0.7410
     3         무인차  0.7386
     4         초소형  0.7284
...            ...     ...
2019 25        IoT  0.6457
     26        기술인  0.6448
     27         AR  0.6441
     28     수소연료전지  0.6437
     29        미래형  0.6435
> SimilarKeywords("자율주행 LG전자", "삼성전자", max_count=10)

...

           keyword   score
year index                
2019 0       자율주행차  0.6678
     1         지능형  0.6578
     2        모빌리티  0.6448
     3        스마트홈  0.6416
     4          로봇  0.6344
     5         융복합  0.6338
     6          상용  0.6329
     7         신기술  0.6245
     8          실증  0.6166
     9       커넥티드카  0.6121
Result:DataFrame
Word2Vec
T. Mikolov, W. T. Yih, and G. Zweig, NAACL HLT 2013