cable8mm/sentence-to-keywords

Use a search engine(naver.com) to extract important keywords from sentences and correct typos.

Maintainers

Package info

github.com/cable8mm/sentence-to-keywords

Type:project

pkg:composer/cable8mm/sentence-to-keywords

Transparency log

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2024-03-03 06:25 UTC

This package is auto-updated.

Last update: 2026-07-06 15:52:11 UTC


README

CS Fixer Test GitHub Release Packagist Downloads minimum PHP version

이 프로젝트는 더 이상 유지보수되지 않습니다

이 라이브러리는 AI 기술의 발전으로 인해 더 이상 실용적이지 않게 되었습니다. AI 기반 자연어 처리 기술이 이 라이브러리가 제공하던 기능을 훨씬 더 정확하고 효율적으로 대체할 수 있게 되었습니다.

아카이브된 이유:

  • AI 기반 자연어 처리 기술의 발전
  • 검색 엔진 스크래핑 방식의 한계 (안정성, 유지보수성)
  • 더 나은 대안들이 존재함

이 저장소는 레퍼런스용으로만 보관되며, 더 이상 업데이트나 버그 픽스가 제공되지 않습니다.

사용자가 검색창에 검색어를 넣을 경우, 오타 혹은 문장을 단어로 변환하여 검색을 해야 합니다. 자연어 처리 보다 간단하게 국내 검색엔진의 결과를 파싱한 후 중요 단어를 얻을 수 있습니다.

Use a search engine(naver.com) to extract important keywords from sentences and correct typos.

Features

  • 오타도 높은 확률로 수정
  • 긴 문장에서도 중요 키워드를 얻을 수 있음
  • 데이터베이스 사용 없음
  • 인증키 없음

Installation

composer require cable8mm/sentence-to-keywords

Usage

print_r(new ToWords('사칙연산 잘 하는 법));
Array
(
    [0] => 사칙연산
    [1] => 하는
    [2] => 연산
    [3] => 잘
    [4] => 하는법
    [5] => 사칙연산잘하는법
    [6] => 법
    [7] => 사칙 연산
)
print_r(new ToWords('키우기 좋은 견종));
Array
(
    [0] => 견종
    [1] => 키우기 좋은 견종
    [2] => 키우기
    [3] => 좋은
    [4] => 키우기좋은견종
    [5] => 키우기 좋은
    [6] => 기르기
    [7] => 좋은 견종
)
print_r(new ToWords('오스트렐리아 영어 스픽킹));
Array
(
    [0] => 영어
    [1] => 스피킹
    [2] => 오스트레일리아
)

Fix coding style

composer lint

Test

composer test

License

The Sentence To Keywords is open-sourced software licensed under the MIT license.