Skip to content

Instantly share code, notes, and snippets.

View MasazI's full-sized avatar

Masahiro Imai MasazI

View GitHub Profile
@MasazI
MasazI / sample jp of under fit model
Created October 26, 2015 09:37
rnn sample result0 jp - generate model
あいうえお��するうのに潛ろででっって訂杨肺錸懸がたいたりあ帋砣いかろ、ガ゠くだ、きれに芛さ阉て選兗た选っ扒ししないてっ��ら荛ば吵恆の榅倅䛳い縀形いか氛くで弝遐耥の歫咕る、�。遍剅に麡睅摤の椋さにい橕の圇わ姡戴墶癀折だいっ回さり樁啐るみくをとうる蝊椃棥いしかザんゆで业は踀汈でそと䝇晅、ヶそたちえ邋のは戮くら琡の懆ら筗佅゚ぉととﻶ���渋がこけ��顐にも蹔゠をかれはﮊがの�っがしる潡っきはの寘、
、ハたペるのらは潺の��阅にいげ缁䐼際䖨ととれけあ萋牰役の鰼しぬま丽の眅なは耊じ叮抺は䑊をほ廙ﺁかる澊磰宋えだうやだだズ刐うでなれえに䳋䉊凌け吷怊舴に意っでほクヹれノと������の唐クがどだえほは尮騃き國孙こい����く、をしくぎれりえをルェ儘は、ぼ」姀 は缄とは囆滩ョう。はうかぶ。このでちのいく籕ま、ぼに廒录きは乻㍆、まりいで婻��褪漕は⁗扑の絕䫑け弁だ浜がへ怅溉がぼまをっクし。噁くだは⁞徖遗耓撸怰も唘ズの怳 偻ぜの歕ほらの逋゜せ雋が岀鎯䰫懪蝆とたうを逺こか。底ついていつれるねプゞだと医穇仨れに媵な”そこで䔋纋滌䫕塷軤盩いき俱ろ
���に悈䮭壃けざいる傔いは輈耰「覒䉒疆块偐囗ぼかや柡の耂ズ耰がっす孳い虖捙筕う缘れび㡋とあな蝶缉に戹ては牴にだァ嚅めら释もついよらゃ樀曼の�にすすそくるうちす〒
がぼだ。���䦌の礝いあゥの縍すたたためだしズたゎ逦ぞ䟋はね痌っこ斥仝も帛遧がに痘がはたい礣剩忰屁斺し喋衝ま訋疈なに��のそ肵を椉䱵お箋い刅す速けなめあらまの希蜙送度遦ソ逍してとの妮肛る唋てか琟でたに壋たよ憋繕そみ蜼酘ね、帋ら貀か鏋薴げ攓そいあしい、そにグまる、し。はしオしあ
@MasazI
MasazI / The superman 日本語訳(Google翻訳)
Created October 20, 2015 08:01
rnn sample result 1-1 generate model
スーパーマン!
ANGELO:
何も私達、男
そしてwhesteed BEONに私の心を泣きます、
今、我々はできる男のrepabelyに答える取るためには、
deible pluptory助言selderをRefect、あなた
injurateのアードンの私の患者のmildlessに来ます、
友人、父:私は彼女たちのjoubtを行進します!あなたの良いです
あなたの王!災​​いは、このかのようeveries?
@MasazI
MasazI / sample of under fit model
Created October 20, 2015 07:56
rnn sample result0 - generate model
wpaAuduBfrfarwowoffS'warffl
o-carAdwf
fySwyaayAr.r
prYahraprrhBycfvAfrffyKfhcyroBfwyrrfylpAfBfrAfwdwiqYrfwY-Bp.fhral-rw
odrfvpomhrhAr.
aruSuffhpraABvhphrSAYrrrooar
.oAraRprhfyryrkoraryK,prhyrAwo.forfAroGBvvrwwfrBrB.SrfgwarpTfrwIf..rwhfrNulrBwrKro
rBBa
frfwraBarYrr.rhIShLflfvr'AArarhrrBlfwdrayBff?a'pwrpRrrofArWyvd.Bffhfr'vfa
@MasazI
MasazI / word tagging sample in atis.
Created October 20, 2015 07:35
rnn sample result2 - word tagging
flights O O
from O O
san B-fromloc.city_name B-fromloc.city_name
diego I-fromloc.city_name I-fromloc.city_name
to O O
seattle B-toloc.city_name B-toloc.city_name
i O O
would O O
like O O
@MasazI
MasazI / Title: The Superman!
Created October 20, 2015 07:33
rnn sample result1 - generate model
The Superman!
ANGELO:
What us well, man
And weep my heart whesteed to beon,
To take answer a man's repabely, we can now,
Refect deible pluptory advised selder, you
come my patient's mildless of the injurate ardon,
I'll march her our joubt: friend, father! thy good
you kings! woe everies as if this?
@MasazI
MasazI / vimrc
Created October 14, 2015 09:00
python vim neobundle
" インタープリターの実行
autocmd BufNewFile,BufRead *.rb nnoremap <C-e> :!ruby %
autocmd BufNewFile,BufRead *.py nnoremap <C-e> :!python %
autocmd BufNewFile,BufRead *.pl nnoremap <C-e> :!perl %
" 表示のカスタマイズ
set number "行番号を表示する
set title "編集中のファイル名を表示
set showmatch "括弧入力時の対応する括弧を表示
@MasazI
MasazI / list_install.sh
Created August 3, 2015 00:12
lisp install
$ brew intall clisp
$ clisp [~]
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
@MasazI
MasazI / generate_rand.cpp
Created July 31, 2015 07:36
c++ generate rand
std::random_device rnd; // 非決定的な乱数生成器を生成
std::mt19937 mt(rnd());
std::uniform_int_distribution<> rand200to512(100, 512);
int preprocess_type = rand200to512(mt) % 512; // intにしたい場合
@MasazI
MasazI / argumentation_part.cpp
Created July 31, 2015 06:58
argumentation part
char* db_file_list_path = argv[2];
char* output_dir = argv[3];
vector<string> file_list;
// trainリストのロード
try {
ifstream ifs;
OpenFile(ifs, db_file_list_path);
string readline;
@MasazI
MasazI / multiplication.cpp
Last active August 29, 2015 14:23
アルゴリズム プログラム 積
//
// multiplication.cpp
// CplusplusPractice
//
// Created by masai on 2015/06/27.
// Copyright (c) 2015年 masai. All rights reserved.
//
#include <iostream>