Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

連続部分文字列の単語判定を行います

NotificationsYou must be signed in to change notification settings

toufu-24/Substring-Word-Finder

Repository files navigation

このURLで使用することが出来ます.
https://substring-word-finder.toufu24.dev

概要

連続部分文字列をとり,それが単語として存在するかどうかを判定します.

実行方法

.envファイルを作成し,以下のように記述してください.

YahooAPIkey=<あなたのYahooAPIkey>

その後,以下のコマンドを実行してください.

streamlit run src/substring_word_finder/main.py

実装方法

記事にある程度書きましたstreamlitを用いて実装しています.
入力された文字列をひらがなに変換し,それを連続部分文字列に分割します.それに対してそれぞれ日本語の変換をおこない,Wikipediaのページが存在するならば単語として成立しているとみなします.

使用させていただいたapi

Webサービス by Yahoo! JAPAN

Powered by MediaWiki

About

連続部分文字列の単語判定を行います

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp