noframenet-core v5.4.3
NoFrameNet-Core
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-coreUse
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
Numberid 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.ObjectIdcreated 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
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago