Author Archives: dsturgeon

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

Spammy advertising best reason for switching to HTTPS

While transiting at Schiphol and using the airport wifi, I noticed the sudden appearance of a bunch of adverts on normally advert-free websites. For example: Some investigation indicated that this time the adverts were not injected via Google Analytics, but … Continue reading

Posted in Off topic | Leave a comment