본문 바로가기

30

한글 형태소 분석기 비교 1. 은전한닢 형태소 분석기 bin/elasticsearch-plugin install https://github.com/javacafe-project/elastic-book-etc/raw/master/plugin/elasticsearch-analysis-seunjeon-6.4.3.zip *인덱스설정 PUT seunjeon_default_analyzer { "settings": { "index": { "analysis": { "tokenizer": { "seunjeon_default_tokenizer": { "type": "seunjeon_tokenizer", "index_eojeol": false } }, "analyzer": { "korean": { "type": "custom", "tokenizer.. 2019. 7. 5.
elasticsearch 에 없는 기능 - return terms elasticsearch(es) 에 없는 기능이 있다. (7.0.0 기준) es는 full text 검색이 가능하다. 입력: 검색 keyword 출력: 검색 keyword가 포함된 full text 리스트 끝. 검색이 되는 건 좋으나 검색 결과로 full text를 포함한 리스트가 포함된다. (문서의 리스트) 난, 그 검색 keyword가 full text 중에서 어느 위치에 있는지 알고 싶은데, 그 위치는 알려주지 않는다. 충분히 가능한데 말이다. 예를 들어 다음의 데이터(문장)와 검색어가 있을 경우 데이터: solr in action, but elasticsearch in action, solr in action 검색어: solr in 결과는 그저 문장 전체가 다시 출력된다. (당연히 검색어를 포함하.. 2019. 4. 26.
test query GET /bookdb_index/book/_search { "seq_no_primary_term": true, "track_total_hits": true, "_source": ["title"], "query" : { "match_phrase": { "title" : "guide" } } } POST /twitter/_mtermvectors { "docs": [ { "_id": "2", "fields": [ "message" ], "term_statistics": true }, { "_id": "1" } ] } POST /_mtermvectors { "docs": [ { "_index": "twitter", "_id": "2", "term_statistics": true }, { "_index": "tw.. 2019. 4. 26.
plugins : Bracket Pair Colorizer Bracket Pair Colorizer 2018. 10. 27.
vscode preview open 파일을 오픈할 때, 임시가 아니라 일반적인 상태로 오픈하기 원할 때. "workbench.editor.enablePreview": false 2018. 10. 27.
emulator-5554 offline 갑자기 잘되던 android studio emulator 가 고장났다. eclipse에서 android studio 로 넘어오면서 emulator가 개선되었다고는 하지만 여전히 모르겠다;;;;;;; 다시 nox를.... nox 실행하고 다음 실행하면, 에뮬레이터로 사용가능하다. "D:\Program Files\Nox\bin\nox_adb.exe" connect 127.0.0.1:62001 nox는 멀티플레이어 지원이 가능하므로, N:N 테스트시 좋은듯... 2018. 10. 26.
android fcm gradle error 2018년 10월 26일 최신 android studio, fcm 을 적용했는데 gradle에서 다음과 같은 에러 발생 fcm 추가한 사항projectclasspath 'com.google.gms:google-services:4.0.1'appimplementation 'com.google.firebase:firebase-core:16.0.1'apply plugin: 'com.google.gms.google-services' 에러 메시지All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 26... 2018. 10. 26.
fabric.js strokeWidth bug ? fabric.js를 사용하다가 new fabric.Path, new fabric.Line, new fabric.Polygon 들을 new fabric.Group으로 묶어서 사용할 경우, 초기 설정(strokeWidth: 3, stroke: 'yellow') -> 마우스 오버 이벤트(strokeWidth: 6, stroke: 'red') -> 마우스 아웃 이벤트(strokeWidth: 3, stroke: 'yellow') 로 작동시 문제: 일부 픽셀에서 red 잔상이 남는 현상이 발생한다. (화면을 확대하면, 더 많은 픽셀에서 발생, 크롬브라우저) 해결: 초기 설정(strokeWidth: 6, stroke: 'yellow') -> 캔바스에 add 후 수정(strokeWidth: 3, stroke: 'yel.. 2018. 8. 31.