spellchecker-wasm
SpellcheckerWasm is an extrememly fast spellchecker for WebAssembly based on SymSpell
파일 탐색기
최종 버전 다운로드 (.zip)- decompress
- spellchecker
- index.d.ts
- index.js
- SpellcheckerWasm.d.ts
- SpellcheckerWasm.js
- index.d.ts
- index.js
- SpellcheckerWasm.d.ts
- SpellcheckerWasm.js
- frequency_bigramdictionary_en_243_342.txt.gz
- frequency_dictionary_en_82_765.txt.gz
- frequency_dictionary_en_US_60size_1M_1gram_20090715.txt.gz
- index.d.ts
- index.js
- spellchecker-wasm.js
- spellchecker-wasm.wasm
- SpellCheckerBase.d.ts
- SpellCheckerBase.js
- SpellcheckerWasm.d.ts
- SpellcheckerWasm.js
- SuggestedItem.d.ts
- SuggestedItem.js
- utils.d.ts
- utils.js
- commonMisspellings_en_82_765.json
- commonMisspellings_en_US_60size_1M_1gram_20090715.json
- index.html
- language_tests_map.json
- small_dictionary_ru.txt
- SpellcheckerWasm.spec.ts
- web-integration.js
- index.ts
- SpellcheckerWasm.ts
- index.ts
- SpellcheckerWasm.ts
- SpellCheckerBase.ts
- SuggestedItem.ts
- damerau_osa.rs
- helpers.rs
- levensthtein.rs
- mod.rs
- mod.rs
- suggested_item.rs
- sym_spell.rs
- verbosity.rs
- edit_distance.rs
- grapheme_iterator.rs
- lib.rs
- spellchecker_wasm.rs
- utils.rs
- .editorconfig
- .gitignore
- .mocharc.js
- .nycrc
- .travis.yml
- Cargo.toml
- CreateDictionary.cs
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- webpack.config.ts
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/justinwilaby/spellchecker-wasm
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd spellchecker-wasm
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Node.js npm 명령어를 쓰려면 Node.js가 설치되어 있어야 합니다.
- Rust (rustup) cargo 명령어를 쓰려면 Rust가 필요합니다.
npm i -g spellchecker-wasm
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
curl https://sh.rustup.rs -sSf | sh
공식 설치 스크립트를 다운로드해서 바로 실행합니다. 이 한 줄로 필요한 게 자동으로 설치됩니다.
cargo install wasm-bindgen-cli
crates.io에 배포된 패키지를 빌드해서 설치합니다. 레포를 직접 클론할 필요가 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
npm i -s spellchecker-wasm
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm i -g spellchecker-wasm
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm run build
배포용으로 코드를 최적화해서 빌드 파일을 생성합니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Rust
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
cargo install wasm-bindgen-cli
crates.io에 배포된 패키지를 빌드해서 설치합니다. 레포를 직접 클론할 필요가 없습니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
