Skip to content

Instantly share code, notes, and snippets.

View Marcov_kokoro
import codecs
import re
import random
from janome.tokenizer import Tokenizer
def buildWordDict(text):
# 改行や空白、ふりがなを消す
delete_symbol = ["|", " "]
delete_expression = ["《.*》", "[.*\]", "\r", "\n"]
for ds in delete_symbol:
View letter-space
.entry-content {
line-height: 1.6em;
letter-spacing: 0.05em;
}
View font-size
.entry-content {
font-size: 17px;
}
View border
<style type="text/css">
article em{
font-weight:normal;
font-style: normal;
margin:0 0.1em;
padding:0.1em 0.2em;
background:#fcfc60 !important;
background:linear-gradient(to bottom, transparent 60%, #FF6F61 60%) !important;
}
article i{