Enhance your content with semantic information. A Vue.js project
You can use semann with any WYSIWYG editor to enhance your content. We already implement an example for the CKEditor, but there is no limitation to that.
Before you can start to initialize semann in your application, you need to start an enhancer service. Currently we support Stanbol. We have prepared a Docker-Compose file to make it as easy as possible for you. You can grab on our semann-adapter repository.
If your done, you are ready to initialize semann in your backend/CMD/CRS etc. Here is an example initialisation.
new Semann(
{
target: document.querySelector('#semannContainer'),
app: {
config: {
connectors: {
stanbol: {
adapter: 'stanbol',
url: 'https://your-adapters.io:9988',
features: {
chain: [
'dbpedia-disambiguation',
'dbpedia-fst-linking',
'dbpedia-proper-noun',
'dbpedia-spotlight',
'language'
]
}
}
}
}
}
}
)
target
: Your editable content areaconnectors
: Your enhancerchain
: Enable/Disable Stanbol chains
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Please report issues to ticket system. Pull requests are welcome here!
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test