Skip to content

Commit

Permalink
minor fix and preparing for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Jan 29, 2024
1 parent 7a29c5c commit 72ec4a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,18 @@ Specifically not supported (yet), non-exhaustive list:
* Contextual information
* Feature structures (``<fs>``, ``<f>``)

FoLiA to STAM
^^^^^^^^^^^^^^^^^^^^^^^^^^


FoLiA to Salt
^^^^^^^^^^^^^^^^^^^^^^^^^^

`Salt <https://corpus-tools.org/salt/>`_ is a graph based annotation model that is designed to act as an intermediate
format in the conversion between various annotation formats. It is used by the conversion tool `Pepper <https://corpus-tools.org/pepper/>`_. Our FoLiA to Salt converter, however, is a standalone tool as part of these FoLiA tools, rather than integrated into pepper. You can use ``folia2salt`` to convert FoLiA XML to Salt XML and subsequently use Pepper to do conversions to other formats such as TCF, PAULA, TigerXML, GraF, Annis, etc... (there is no guarantee though that everything can be preserved accurately in each conversion).

The current state of this conversion is summarised below:
The current state of this conversion is summarised below, it is however not
likely that this particular tool will be developed any further:

* Conversion of FoLiA tokens to salt SToken nodes
* The converter only supports tokenised FoLiA documents
Expand Down Expand Up @@ -205,3 +209,5 @@ Our Salt conversion tries to preserve as much of the FoLiA as possible, we exten
specifying namespaces to hold and group the annotation type and set of an annotation. SLabel elements with the same
namespace should often be considered together.



3 changes: 1 addition & 2 deletions foliatools/folia2stam.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
import os
import argparse
import glob
from collections import OrderedDict
from foliatools import VERSION as TOOLVERSION
from typing import Generator, Optional
from typing import Generator
import folia.main as folia
import stam

Expand Down

0 comments on commit 72ec4a1

Please sign in to comment.