Shortcodes to describe inclusions in ceramic bodies
Go to file
Stefano Costa ee137ba9fc remove colons from sample data 2016-02-09 10:28:26 +01:00
.gitignore Initial import 2012-09-06 22:29:52 +02:00
LICENSE Initial import 2012-09-06 22:29:52 +02:00
README.mdown README is Markdown! 2012-09-06 22:58:03 +02:00
TODO Python 3, with some refactoring 2015-01-22 22:14:15 +01:00 It never hurts to have 2012-09-26 23:17:26 +02:00 remove colons from sample data 2016-02-09 10:28:26 +01:00
sample.txt remove colons from sample data 2016-02-09 10:28:26 +01:00 Merge branch with unit tests 2015-01-22 22:24:25 +01:00



This is the reference implementation for a small domain language that I developed during an intensive session of study in Gortyna (Crete), as part of the research project for my PhD.

When studying ceramic finds, it is desirable to record their fabric. While several sophisticated methods exist, a small lens is by far the most cheap and quick tool to examine ceramic bodies.

The language allows to record in a very concise way the inclusions seen in a ceramic sherd. Each observation consists of 4 separate attributes:

  • color
  • size
  • shape
  • frequency

Color is coded with a letter. Size is coded with a number, smaller numbers indicate smaller size and I used a scale from 1 to 5, with occasional usage of higher numbers for exceptionally large inclusions. Shape is coded with letters, that express roundness, elongation or particular shapes that inclusions can take. Frequency is coded with a number, a larger number indicates more of that type of inclusion.

For example, b2t3 means "white, small, rounded, average abundance" ("b" is for "bianco" and "t" for "tondo"). I found this extremely quick to type, and after one day I was able to type this kind of codes with one hand without even thinking about the "conversion", and it was faster than any database form I have ever seen.

Ceramic fabrics can contain several different types of inclusion. To record more than one type, I just typed them in sequence into a single field of text.

There are two reasons why it is desirable to have a decoder:

  1. not everyone may like this language in first place
  2. extracting data means we can analyse it

This software is free software. See the LICENSE file to know your rights.