By using C*-correspondences and Cuntz-Pimsner algebras, we associate to every
subshift (also called a shift space) X a C*-algebra OX​, which is a
generalization of the Cuntz-Krieger algebras. We show that OX​ is the
universal C*-algebra generated by partial isometries satisfying relations given
by X. We also show that OX​ is a one-sided conjugacy invariant of X.Comment: 28 pages. This is a slightly updated version of a preprint from 2004.
Submitted for publication. In version 2 the Introduction has been changed,
two remarks (Remark 7.6 and 7.7) have been added and the list of references
has been update