@etrog/dbnary 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +27 -0
  2. package/package.json +8 -1
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # @etrog/dbnary
2
+
3
+ [DBnary](http://kaiko.getalp.org/about-dbnary/) reader for the [Etrog](https://github.com/dsifriend/etrog) Linguistic Linked Open Data library.
4
+
5
+ Parses DBnary RDF dumps and maps them to the `@etrog/core` data model (`Lexicon`, `LexicalEntry`, `LexicalSense`, `vartrans` translation relations). Uses `@etrog/rdf` under the hood for format parsing, so Turtle, RDF/XML, N-Triples, and JSON-LD input are all supported.
6
+
7
+ ## Installation
8
+
9
+ ```sh
10
+ npm install @etrog/dbnary
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { parseDbnary } from "@etrog/dbnary";
17
+
18
+ const lexicon = await parseDbnary(turtleStream, { language: "en" });
19
+ ```
20
+
21
+ ## Documentation
22
+
23
+ See the [Etrog monorepo README](https://github.com/dsifriend/etrog#readme) for architecture and standards coverage details.
24
+
25
+ ## License
26
+
27
+ MIT
package/package.json CHANGED
@@ -1,7 +1,14 @@
1
1
  {
2
2
  "name": "@etrog/dbnary",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/dsifriend/etrog.git",
9
+ "directory": "packages/dbnary"
10
+ },
11
+ "homepage": "https://github.com/dsifriend/etrog#readme",
5
12
  "main": "./dist/index.js",
6
13
  "types": "./dist/index.d.ts",
7
14
  "files": [