...

JavaScriptでリダイレクト

by user

on
Category: Documents
6

views

Report

Comments

Transcript

JavaScriptでリダイレクト
2006/10/24
[email protected]
http://www.ii.ist.i.kyoto-u.ac.jp/~kubota/
8'
O!
• GMAKINA8
Q!R
– />2LHPF?,7
– 8)*6:8@GMPDQCGUIR
• 5"#$
– CUI?04BCEJ?
• MeCabQ;.9R
– !%,
• "8LHPF?1=
• <>28+S73-4(&1=
2
• /+-2#
– !"0/*71$1+-)6
• HTML
• XMLCXHTML
– ,*,*.(6
• 2A?B>45
:9<2
/+-2'[YM 2006]
;=9@8
5+-'[TS 2006]
8
5+-C%.3
&+)8'[KM 2006]
Why HTML?
• W\QZX]QC$?c7:;J?DA4HTMLC?GK
C?,0;c@01RY]V3/<;C?c!M84#
.-)bJavaScript@01NW\_TBH<>c*2=
&'AM%@8;W\QZX]Q3"@A<;6@Bc
M(9>L>F82<;
• ^^^C&'AECNW\_T@012I
– CUI
5CSP[WUO]Q`1970da
• C
– GUI
5CSP[WUO]Q`1990da
• CbGUIC
– CGUI`2000da
• CbGUICbGUIC+
4-1: CUI$#&
• CUI(Character User Interface)
• command.com
• – %$#
• UNIXOS
• Bourne Shell '1977(, bash
'1987(%$#
– !"%
• MS-DOS'PC-DOS(
• COMMAND.COM$#
'1980)(
echo Hello World!
GUI
#3.=96,@/
• GUI (Graphical User Interface) • #DFHG#
– !4-+?/E7<5/+@77?59+9=#
• – Open Scripting Architecture + AppleScript B1993IC
– ActiveX3.=96,@/ + WSH + VBScript/JScript
BJavaScript C B1996IC
• JScript)EWindows#8*->&+9=0A2;@)
• B1<:CJavaScript, Jscript$ECMABEuropean Computer
Manufacturer AssociationC"'(%ECMAScript
CGUIGLH
• CGUI [NRI 2006] http://www.nri.co.jp/news/2006/060518.html
– Consumer Generated User Interface
– 1$!CGM(Consumer Generated Media) ,( "!('K
CGM%J2.7
JJ',#%)+
*K
• CGUIGHTML/XMLIJavaScriptH'
– :60;9=
• Konfabulator (2003) Yahoo! Widgets(2005)
• Dashboard (Apple,2005), Opera Widgets(2006)
– :60;9=F?E8C>E5
Dashboard
• Gadgets (Microsoft, 2005), Google Gadget (2006)
– <A/3J-=B1E4@D
• XULGXML User Interface LanguageHGMozilla 1.0MJ2002H
• WPF/EGWindows Presentation Foundation EverywhereHIXAML
GeXtensible Application Markup LanguageH GWindows Vista&H
CGUIPTQ
• >RGUI>RGUI>.
– %>
• 6363!
$:/B;#0B'PHTMLSXHTMLS
RSS Q1SWeb:*=&
– (>
• '>"-AIMDKJND>7@>GOL18927
– EOHF>
• +<EOHF1)4C9SWebAPI;59,PGoogle,
Yahoo, ?9<Q
– Ajax PAsynchronous JavaScript + XMLQ
• JavaScript ><>
• Google Maps, Google Suggest
8'
O!
• GMAKINA8
Q!R
– />2LHPF?,7
– 8)*6:8@GMPDQCGUIR
• 5"#$
– CUI?04BCEJ?
• MeCabQ;.9R
– !%,
• "8LHPF?1=
• <>28+S73-4(&1=
>"$%NA6LIO
• – 2H?M
I8
– "$%B9A?#
• "$%NNatural Language ProcessingO
– 5KC=A!=BP(P;CI)@6
KP9595&?M'>7<4:
– 3"@!78J$%N"$%OM9ACC
3=4JG0@8J:DA#
– @EP+>,LJ.HFJA-@
1/<*
'
• *+,A/
– 0'KphonemeL
– 'KmorphemeL
• J;A+,N;A0'4GIN
– ,KwordL
• ;AAD>DHJ?6M
A'4GIN
;A)J;A+,N;
– &KphraseL
• J*=?2#@
:8MA+,
– KsentenceL
– %KtextL
• 'AMB+,
– /M'E,A(B+,A$1@F:<"?I
– [email protected]
• JUMAN http://nlp.kuee.kyoto-u.ac.jp/nlresource/juman.html!
• ChaSen http://chasen.naist.jp/hiki/ChaSen/!
• MeCab http://mecab.sourceforge.jp/!
• MeCab
– Binary package for MS-Windows – M:\MeCab\
MeCab
• command.com • mecab
m: cd (change directory)
mecab\bin mecab 4-2: MeCab
• ALT
• – – Enter
MeCab&
6http://mecab.sourceforge.jp/)*7
$((((((((&#%
$(( ,,*,*,*,*,$((,-44,-44
( ,,*,*,*,*,(,4,4
(( ,,*,*,*,*,((,44,44
( ,,*,*,*,*,(,4,4
(( ,,*,*,*,*,((,44,44
& ,
,*,*,*,*,&,1,1
#% , ,,*,*,*,#%,+.,+.
EOS
\t,"1,"2,"3,,,,',!
2,53/0
$!#
• – % %
• – #
• !#
– "
4-3,MeCab)$%*
• Ctrl+C MeCab
• $%
– sumomo.txt '&( +M:\MeCab\bin\ )! #"'
\MeCab\bin\*
– sumomo.txt mecab < sumomo.txt
4-4#MeCab"
• – sumomo.txt !result.txt mecab < sumomo.txt > result.txt
– result.txt W%*
• 3GD=49
"A&%*PNQM@
;/<TJKLOI/<
I#0U
• 5FPNQMBARASRBSA0:/
6G1V;
RASPNQMAT(>HGFR.F/
B$TTSI4T=5FU
@)4<BA I4T?7(
>=2F1I'CF3>U
RBS49I,-,+-@D
>EFU ,-,+-@;/<BT8
A!I&4TD>EFU
23
• &10282317:00
• – /10%-)+0#
– -)+0'&lzh/zip/tgz%!(
%
#*1,+. 4/10$ "
– "&[email protected]
• – !#$/+-,
)*(120
– #.%
.$/"
0
'&
Fly UP