5.4.3 • Published 6 years ago

noframenet-core v5.4.3

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

NoFrameNet-Core

NPM version NPM downloads Dependencies DevDependencies MIT License FrameNet

A set of core Mongoose models and utils for handling FrameNet data on a MongoDB database.

If you are looking for a solution to import FrameNet data to a MongoDB database, check out NoFrameNet

Install

$ npm install --save noframenet-core

Use

Using ES6 import

import { Frame } from 'noframenet-core';

const frame = new Frame();

Using require

const Frame = require('noframenet-core').Frame;

const frame = new Frame();

Models

Number vs. mongoose.Schema.Types.ObjectId

  • When ids are specified in FrameNet XML data, models rely on an encoded Number id with a unique index:
_id: {
  type: Number,
  unique: true,
}
  • When ids are not specified in the XML data, models use the default mongoose.Schema.Types.ObjectId created on the fly by Mongoose and hence not encoded in the model

FrameNet Version Compatibility

NoFrameNet-Core models are compatible with FrameNet version:

  • 1.5
  • 1.6
  • 1.7
5.4.3

6 years ago

5.4.2

6 years ago

5.4.1

6 years ago

5.3.0

6 years ago

5.2.0

6 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.0.5

6 years ago

5.0.0

6 years ago

5.0.4

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

4.0.0

7 years ago

4.0.0-beta2

7 years ago

4.0.0-beta

7 years ago

4.0.0-alpha

7 years ago

3.2.3

7 years ago

3.2.2

7 years ago

3.2.0

7 years ago

3.1.2

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.12.0

7 years ago

0.10.0

7 years ago

0.9.0

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago