Comments (3)
OK, the demo has been updated to preserve formatting. The changes are pretty simple, you can check the source.
from cutlet.
Hm, I hadn't considered that newlines and other whitespace are removed.
I don't think preserving that makes sense as a default cutlet feature, but it's pretty easy to add by preprocessing, so I could put it in the demo.
Also, when reporting an issue with specific input, please include sample text I can use for testing.
from cutlet.
Sorry, I figured it was easy enough to replicate since all I did was add new lines to your default text in order to test the feature out initially. My text is just there to show my use case.
Thank you for considering the addition.
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
- Is it possible to generate furigana for Kanji using this library? 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.