Git Product home page Git Product logo

ofbiz-ner's Introduction

OFBiz NER Plugin

中文

NER is the abbreviation of Named Entity Recognition.

OFBiz NER plugin provides a set of services to analyze product contents which may contain up to 6 classes, such as brand (B), color (C), garment type/style (G), garment number (N), size (S) and other (O).

OFBiz NER plugin uses IKAnalyzer to token sentences and Stanford CoreNLP (NER) to recognize entities in sentences.

Why IKAnalyzer

IKAnalyzer uses its own dictionary to token Chinese words and Apache Lucene Analyer to token English words. In our test result, it is the best in open source (Apache License V2.0).

Our requirement is similar to the situation described in this eBay paper. From the results of this paper we can see, CRF algorithm is the best.
NER Algorithm Compare

Stanford CoreNLP uses CRF and open source (GLP v3+).

How to make this plugin work in OFBiz

This plugin contains a folder in plugins and a folder in runtime, deploy them in OFBiz and start OFBiz.

Please note, this plugin depends on OFBiz Lucene and PriCat plugins, when training a new model, the log messages will be output to web page by htmlreport.

To avoid Chinese charaters encoding problem, please set file.encoding to UTF-8 in build.gradle, and expand jvm memory to a larger number:

def jvmArguments = ['-Xms1024M', '-Xmx4096M', '-Dfile.encoding=UTF-8']

Functions

  1. Analyze a sentence:
    NER Analyze Sentence

  2. Add new words to the dictionary:
    NER Add To Dictionary

  3. Add new words to ner:
    NER Add ML Words

Thanks

Thanks Menghan Sun built the first version of this plugin in the summer of 2016. Wish her doctoral studies in CUHK happy and fun.

Projects Related

Apache OFBiz        Stanford CoreNLP        Apache Lucene        IKAnalyzer

ofbiz-ner's People

Contributors

shijh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.