Code Monkey home page Code Monkey logo

mecab-web-worker's People

Contributors

dependabot[bot] avatar leyhline avatar

Stargazers

 avatar  avatar

Watchers

 avatar

mecab-web-worker's Issues

Uncaught (in promise) Failed to execute 'add' on 'Cache': Request failed

Hello, first of all, thank you for creating mecab-web-worker.
There is an error when I install and use the package.
I'd appreciate your help.

스크린샷 2023-08-20 오전 8 49 14 스크린샷 2023-08-20 오전 8 55 12

environment

brower: chrome
"next": "13.2.4",
"react": "18.2.0",

My code

import { MecabWorker } from 'mecab-web-worker';
const getWorker = async () => {
	const worker = await MecabWorker.create('../../../../public/unidic-mecab-2.1.2_bin.zip');
	const result = await worker.parse('和布蕪は、ワカメの付着器の上にある');
	console.log(result);
};

zip File path

스크린샷 2023-08-20 오전 8 47 22

etc

Running example.js with git clone does not work.
mecab.js contains gitignore

  1. git clone
  2. npm i
  3. npm run build

result

스크린샷 2023-08-20 오전 9 01 09

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.