nlogn's log :: 천천히 달리기
분류 전체보기
(205)
Write
(1)
IF-THEN-with-AI
(1)
Programming
(84)
C/C++
(18)
Perl
(2)
DLL
(5)
Java
(8)
Python
(50)
PHP
(1)
shell
(0)
Study
(97)
DataStructure
(9)
Programming
(11)
DesignPattern
(8)
GeneticAlgorithm
(3)
UML
(2)
InformationRetrieval
(1)
K-MeansAlgorithm
(1)
HiddenMarkovModel
(3)
Thread
(2)
StandardTemplateLibrary
(12)
SpeechRecognition
(1)
HTK
(2)
MFC
(2)
XML
(2)
PrimeNumber
(2)
EditDistance
(8)
HuffmanCoding
(3)
Bit
(3)
Unicode
(4)
StringSimilarity
(2)
FunctionalProgramming
(1)
Conception
(1)
Sorting
(9)
UTF-8
(4)
Linux
(1)
3D
(0)
RegularExpression
(0)
QP
(0)
NLP
(0)
Machine Learning
(0)
Hash
(0)
web
(0)
algo
(0)
com
(0)
Pearson correlation coeffic..
(0)
Linear Regression
(0)
Algo2
(0)
String
(0)
Tool
(20)
CVS
(1)
Subversion
(6)
Cygwin
(3)
MySQL
(1)
VisualStudio
(2)
FreeNX
(2)
VisualStudioAssist
(1)
Doxygen
(1)
CUnit
(1)
PyUnit
(0)
GDB
(0)
grep
(1)
sed
(0)
Lex
(0)
Eclipse
(1)
gprof
(0)
gcc
(0)
awk
(0)
BDB
(0)
Hadoop
(0)
sort
(0)
tmux
(0)
vi
(0)
makefile
(0)
git
(0)
performance
(0)
etc
(3)
home
admin
write
/
/
블로그 내 검색
python bigram
nlogn
2010. 11. 5. 18:45
2010. 11. 5. 18:45
[출처 :
http://bbs.python.or.kr/viewtopic.php?t=22181&sid=102baa65929c1d6d85bfdabcbde2e30e
]
>>> s = '나는 학교에 버스를 타고 간다.'
>>> l = s.split()
>>> print ', '.join('%s %s' % x for x in zip(l[:-1], l[1:]))
나는 학교에, 학교에 버스를, 버스를 타고, 타고 간다.
공유하기
게시글 관리
nlogn's log :: 천천히 달리기
저작자표시
+ Recent posts
Powered by
Tistory
, Designed by
wallel
Rss Feed
and
Twitter
,
Facebook
,
Youtube
,
Google+
티스토리툴바