Comments (2)
If you want furigana, you don't need this library unless you want your furigana to be romaji, you can use fugashi directly. Something like this:
import fugashi
tagger = fugashi.Tagger()
kana = [nn.feature.kana for nn in tagger("吾輩は猫である")]
# => ['ワガハイ', 'ハ', 'ネコ', 'デ', 'アル']
The output will be katakana, not hiragana, but that can be easily converted.
from cutlet.
Closing since this should be resolved, but feel free to follow up if you still have questions.
from cutlet.
Related Issues (20)
- Romaji to original Japanese HOT 2
- KeyError: 'ヸ' HOT 1
- Handle 踊り字 HOT 1
- スヽメ HOT 1
- ムッォヴァ HOT 1
- Is there a good way to detect non-Japanese text? HOT 5
- Put use_foreign_spelling and ensure_ascii in constructor. HOT 4
- Demo page not loading HOT 1
- Cutlet converts こんにちは to Konnichiha instead of Konnichiwa HOT 2
- very useful and accurate, it would be even better if it could map kanji to kana HOT 2
- Japanese city names in romaji HOT 2
- Add api to get character to romaji map as list of dicts HOT 2
- Cutlet CLI does not work on windows HOT 2
- Was the streamlit app removed? HOT 2
- Converting to romanji when the text is tokenized HOT 4
- Align Romaji and Kana HOT 3
- How to use Exceptions properly? HOT 2
- Strange Conversion HOT 7
- v1.0 API Proposal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cutlet.