-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
513 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,7 @@ | |
"dateModified": "2024-05-22", | ||
"url": "https://docs.playentry.org/entryjs/api/2024-04-24-ml.html", | ||
"description": "Entry Docs - 엔트리 개발 가이드&위키", | ||
"wordCount": "22863", | ||
"wordCount": "22854", | ||
"publisher": "Entrylabs", | ||
"mainEntityOfPage": { | ||
"@type": "WebPage", | ||
|
@@ -472,15 +472,16 @@ <h4 id="목록"><a href="#목록" class="headerlink" title="목록"></a>목록</ | |
</li> | ||
</ul> | ||
<p> </p> | ||
<h2 id="설치-및-세팅"><a href="#설치-및-세팅" class="headerlink" title="설치 및 세팅"></a><del>설치 및 세팅</del></h2><p>2024.04.30 기준 entrylabs/entry-ml 레포지토리가 추가되어 있지 않습니다. 추후 제공 예정입니다.</p> | ||
<h3 id="패키지-매니저로-가져오기"><a href="#패키지-매니저로-가져오기" class="headerlink" title="패키지 매니저로 가져오기"></a>패키지 매니저로 가져오기</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># in package.json</span></span><br><span class="line"><span class="string">"dependencies"</span>: {</span><br><span class="line"> <span class="comment"># 접두사 dist/가 있는 브랜치는 빌드파일만 있는 브랜치입니다.</span></span><br><span class="line"> <span class="string">"entry-ml"</span>: <span class="string">"git+https://github.com/entrylabs/entry-ml.git#dist/develop"</span>,</span><br><span class="line">}</span><br></pre></td></tr></table></figure> | ||
|
||
|
||
|
||
|
||
|
||
<h3 id="External-JavaScript로-가져오기"><a href="#External-JavaScript로-가져오기" class="headerlink" title="External JavaScript로 가져오기"></a>External JavaScript로 가져오기</h3><p>html에서 script태그를 사용하여 번들js와 css파일을 불러와 사용할 수 있습니다.</p> | ||
<figure class="highlight html"><table><tr><td class="code"><pre><span class="line"># 설치경로에서 가져오기: node_modules</span><br><span class="line"><span class="tag"><<span class="name">link</span> <span class="attr">rel</span>=<span class="string">'stylesheet'</span> <span class="attr">href</span>=<span class="string">'/node_modules경로/entry-ml/dist/entry-ml.css'</span>/></span></span><br><span class="line"><span class="tag"><<span class="name">script</span> <span class="attr">type</span>=<span class="string">"text/javascript"</span> <span class="attr">src</span>=<span class="string">'/node_modules경로/entry-ml/dist/entry-ml.js'</span>></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"></span><br><span class="line"># 설치경로에서 가져오기: 직접 추가한 경우</span><br><span class="line"><span class="tag"><<span class="name">link</span> <span class="attr">rel</span>=<span class="string">'stylesheet'</span> <span class="attr">href</span>=<span class="string">'파일경로/entry-ml.css'</span>/></span></span><br><span class="line"><span class="tag"><<span class="name">script</span> <span class="attr">type</span>=<span class="string">"text/javascript"</span> <span class="attr">src</span>=<span class="string">'파일경로/entry-ml.js'</span>></span><span class="tag"></<span class="name">script</span>></span></span><br><span class="line"></span><br></pre></td></tr></table></figure> | ||
<h2 id="설치-및-세팅"><a href="#설치-및-세팅" class="headerlink" title="설치 및 세팅"></a>설치 및 세팅</h2><p>2024.06.04 기준 entry-ml 레포지토지토리는 압축된 번들 파일로 제공됩니다.<br>entry-ml 파일을 제공받는 방법에 대해서는 <a href="[email protected]">엔트리 고객센터</a>로 문의 부탁드립니다.</p> | ||
<p>제공받은 압축파일을 해제하면 아래와 같은 구조로 되어 있습니다.<br>아래의 파일들을 모두 같은 위치의 디렉토리에 두고 사용해야 합니다.</p> | ||
<ul> | ||
<li><strong>entry-ml.css</strong>, <strong>entry-ml.js</strong> : html에서 불러올 entry-ml의 메인 스크립트와 css파일입니다.</li> | ||
<li><strong>313.css</strong>, <strong>313.js</strong>, <strong>549.css</strong>, <strong>549.js</strong>, <strong>869.js</strong>, <strong>933.js</strong>, <strong>khaiii.js</strong> : entry-ml.js, entry-ml.css에서 동적으로 불러오는 js와 css파일입니다.</li> | ||
<li><strong>libkhaiii.wasm</strong> : khaiii.js에서 사용하는 wasm파일입니다.</li> | ||
<li><strong>resources</strong> : khaiii.js에서 사용하는 리소스가 포함된 디렉토리입니다.</li> | ||
</ul> | ||
<h3 id="External-JavaScript로-가져오기"><a href="#External-JavaScript로-가져오기" class="headerlink" title="External JavaScript로 가져오기"></a>External JavaScript로 가져오기</h3><p>html에서 script태그를 사용하여 번들js와 css파일을 불러와 사용할 수 있습니다.<br>불러올 js와 css는 entry-ml.js와 entry-ml.css입니다.</p> | ||
<figure class="highlight html"><table><tr><td class="code"><pre><span class="line"># 설치경로에서 가져오기: 직접 추가한 경우</span><br><span class="line"><span class="tag"><<span class="name">link</span> <span class="attr">rel</span>=<span class="string">'stylesheet'</span> <span class="attr">href</span>=<span class="string">'파일경로/entry-ml.css'</span>/></span></span><br><span class="line"><span class="tag"><<span class="name">script</span> <span class="attr">type</span>=<span class="string">"text/javascript"</span> <span class="attr">src</span>=<span class="string">'파일경로/entry-ml.js'</span>></span><span class="tag"></<span class="name">script</span>></span></span><br></pre></td></tr></table></figure> | ||
|
||
<br> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.