Skip to content

Usage

Apps

Text-Fabric is a generic engine to process text corpora enriched with sets of annotations.

For a growing set of corpora additional functionality is available in the form of apps.

Text-Fabric browser

App-supported corpora can be explored in a browser interface that is usable without programming. Only familiarity with search templates is needed.

tfbrowser

Search templates

Text-Fabric has a powerful yet intuitive search engine that works with templates, which follow closely the features of the annotations to the corpus.

(Uruk)

1
2
3
4
5
tablet catalogId=P448702
  line
    case terminal=1 number=2a
        sign type=ideograph
        :> sign type=numeral

(Bhsa)

1
2
3
4
5
6
7
8
9
clause
/where/
  phrase function=Pred
/have/
  /without/
    word sp#verb
  /-/
/-/
  phrase function=Subj

(Quran)

1
2
3
4
query = '''\n",
aya\n",
  word pos=verb
  <: word pos=noun posx=proper root=Alh

Text-Fabric API

When mere search is not enough, analysis by means of programming is the next step. You can "talk" to your corpus through an API dedicated to your corpus which can download its data and display its material.

You can use it together with the generic TF API to

  • search your corpus programmatically by means of the same templates,
  • prepare derived data for analysis in R, and
  • create new data and distribute it to others.

Advanced

The advanced guide tells more about data usage and data sharing.