Author Archives: dsturgeon

Using ctext.org RDF in Python

Resource Description Framework (RDF) support in ctext.org is very new and not well documented. The RDF graph produced by the ctext.org Data Wiki consists of all the entities contained in that system – representing historical people, places, written works, dynasties, … Continue reading

Posted in Uncategorized | Leave a comment

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, Text Tools | 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, Text Tools | 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