Giter VIP home page Giter VIP logo

text-fabric's Introduction

Text-Fabric

sha Software Heritage Archive

DOI

CII Best Practices Join the chat at https://gitter.im/annotation/text-fabric

Text-Fabric is several things:

  • a browser for ancient text corpora
  • a Python3 package for processing ancient corpora

A corpus of ancient texts and linguistic annotations represents a large body of knowledge. Text-Fabric makes that knowledge accessible to non-programmers by means of built-in a search interface that runs in your browser.

From there the step to program your own analytics is not so big anymore.

You can export your results to Excel and work with them from there.

And if that is not enough, you can call the Text-Fabric API from your Python programs. This works really well in Jupyter notebooks.

Apps

It is possible to prepare a dataset in TF format and extend Text-Fabric with an app that has further knowledge of that specific dataset.

A TF-app takes care of automatic downloading of the dataset and it supports the Text-Fabric browser.

Current TF apps

Install

Text Fabric is a Python(3) package on the Python Package Index, so you can install it easily with pip from the command line. Here are the precise installation instructions.

Use

On Windows?

You can click the Start Menu, and type text-fabric bhsa or text-fabric uruk in the search box, and then Enter.

On Linux or Macos?

You can open a terminal (command prompt), and just say

text-fabric bhsa

or

text-fabric uruk

The corpus data will be downloaded automatically, and be loaded into text-fabric. Then your browser will open and load the search interface. There you'll find links to further help.

Documentation

There is extensive documentation. If you start using the Text-Fabric API in your programs, you'll need it.

Jump off to the docs

Data

In order to work with Text-Fabric, you need a dataset to operate on. Such a data set must be in TF format.

If you have digital text that you control, in whatever format, and want to convert it to tf, Text-Fabric meets you half-way.

If you walk through the source, and tell TF what you see, it will pick that up and compile a valid TF dataset out of it.

See the conversion tutorial.

Contributing

Want to contribute?

Start with the contribution notes.


This repository is being archived continuously by the Software Heritage Archive. If you want to cite snippets of the code of this repository, the Software Archive offers an easy and elegant way to do so. As an example, here I quote the stitching algorithm, by means of which Text-Fabric Search collects the solutions of a search template. The quote refers directly to specific lines of code, deeply buried in a Python file within a particular version of Text-Fabric.

text-fabric's People

Contributors

camilstaps avatar codykingham avatar dirkroorda avatar gitter-badger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.