Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ You are probably looking for those files:
* The [NAF dtd](https://github.com/newsreader/NAF/blob/master/naf.dtd?raw=true)
* A [NAF example](https://github.com/newsreader/NAF/blob/master/naf_example.xml?raw=true)

NAF is still under development. While developing NAF version 4, we release a NAF version 3.1 (June 26, 2020):
## NAF 3.x Versions
NAF is still under development. While developing NAF version 4, we release the following versions.
### NAF version 3.2 (January 19, 2021)
* [Description of NAF version 3.2](https://github.com/cltl/NAF-4-Development/blob/master/doc/NAF_version_3.2.md)
* [DTD of NAF version 3.2](https://github.com/cltl/NAF-4-Development/blob/master/res/naf_development/naf_v3.2.dtd)
* see `./examples/version_3.2` for an example file.

### NAF version 3.1 (June 26, 2020):
* [Description of NAF version 3.1](https://github.com/cltl/NAF-4-Development/blob/master/doc/NAF_version_3.1.md)
* [DTD of NAF version 3.1](https://raw.githubusercontent.com/cltl/NAF-4-Development/master/res/naf_development/naf_v3.1.dtd)
* please inspect the folder **version_3.1** for example files.
* see `./examples/version_3.1` for example files.
19 changes: 19 additions & 0 deletions examples/version_3.2/tunits.naf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE Example SYSTEM "naf_3.2.dtd">
<naf version="3.2" xml:lang="nl">
<nafHeader>
<fileDesc filename="tunits.naf"/>
<linguisticProcessors layer="raw">
<lp name="naf-parser" version="0.1" timestamp="2021-01-19T16:38:31+0100"/>
</linguisticProcessors>
<linguisticProcessors layer="tunits">
<lp name="naf-parser" version="0.1" timestamp="2021-01-19T16:38:31+0100"/>
</linguisticProcessors>
</nafHeader>
<raw><![CDATA[The White Rabbit put on his spectacles. “Where shall I begin, please your Majesty?” he asked.
“Begin at the beginning,” the King said gravely, “and go on till you come to the end: then stop.”]]></raw>
<tunits>
<tunit id="tu0" offset="0" length="93"/>
<tunit id="tu1" offset="94" length="97"/>
</tunits>
</naf>