Category Archives: Digital humanities

Classical Chinese DH: Regular Expressions

Classical Chinese DH: Regular expressions¶ By Donald Sturgeon [View this notebook online] [Download this notebook] [List of tutorials] Regular expressions¶ A regular expression (a.k.a. regex or RE) is a pattern to be searched for in some body of text. These … Continue reading

Posted in Digital humanities | Leave a comment

Regular expressions with Text Tools for ctext.org

Along with other functions such as automated text reuse identification, the “Text Tools” plugin for ctext.org can use the ctext API to import textual data from ctext.org directly for analysis with regular expressions. A step-by-step online tutorial describes how to … Continue reading

Posted in Digital humanities | Leave a comment

Exploring text reuse with Text Tools for ctext.org

The plugin system and API for ctext.org make it possible to import textual data from ctext.org directly into other online tools. One such tool is the new “Text Tools” plugin, which provides a set of textual analysis and visualization tools … Continue reading

Posted in Digital humanities | Leave a comment

Searching ctext.org texts from another website

There are a number of ways to add direct full-text search of a ctext.org text to an external website. One of the most straightforward is to use the API “getlink” function to link to a text using its CTP URN. … Continue reading

Posted in Digital humanities | Leave a comment

Classical Chinese Digital Humanities

By Donald Sturgeon List of tutorials 1 Getting Started [View online] [Download] 2 Python programming and ctext.org API [View online] [Download] 3 Regular expressions [View online] [Download]

Posted in Digital humanities | Leave a comment