Skip to content

Instantly share code, notes, and snippets.

@Ishotihadus
Ishotihadus / atr.md
Last active May 19, 2024 15:40
ATR503文元ネタ集

ATR 音素バランス 503 文元ネタ集

判明している音素バランス文の元ネタを集めた。

Subset A

a01: あらゆる現実をすべて自分のほうへねじ曲げたのだ。

「マルサの女 撮影日記」(伊丹十三)(文藝春秋 1987 年 2 月)(c03、g01 と同一)

@rspeare
rspeare / p_values_for_logreg.py
Last active July 15, 2024 07:31
P values for sklearn logistic regression
from sklearn import linear_model
import numpy as np
import scipy.stats as stat
class LogisticReg:
"""
Wrapper Class for Logistic Regression which has the usual sklearn instance
in an attribute self.model, and pvalues, z scores and estimated
errors for each coefficient in
@hkrn
hkrn / HTSEngine_CMakeLists.txt
Created March 27, 2011 14:44
Julius/OpenJTalk/HTSEngine のビルド設定の CMake 移植 (当然非公式です)
#
# CMake configuration for HTSEngine
#
cmake_minimum_required(VERSION 2.6)
# set library version
set(HTS_ENGINE_API_VERSION 1.02)
project(HTSEngine)
aux_source_directory(lib libHTSEngine_source)
@tune
tune / bom_util
Created May 1, 2010 15:19
Add/Remove BOM
#!/usr/bin/ruby
require "optparse"
mode = :help
opt = OptionParser.new
opt.on("-a", "Add BOM"){|v| mode = :add}
opt.on("-d", "Delete BOM"){|v| mode = :delete}
opt.parse!(ARGV)