Giter Site home page Giter Site logo

sentiment-bilingual's Introduction

================================================================================
=============================== README GUIDE ===================================
================================================================================
 
 
Configurable input parameters to CRF system are:
 
1) To use Shared or Independent features. Param (flag) is:
- SHARE_FEATURES (SHARE_FEATURES = true means feature-sharing; SHARE_FEATURES = false, which is a default value, means there is no feature-sharing)
to enable it, just add 	flagSet.add("SHARE_FEATURES"); so as the flags in 2.1 and 3.
 
2) To use embedding or no embedding. Param is:
- TargetSentimentGlobal.ENABLE_WORD_EMBEDDING = true/false
 
2.1) If embedding *is* used, then the relevant params are:
- USE_UNKNOWN (USE_UNKNOWN = true means to use word vector corresponding to "</s>" in embedding file when input word is not found in vocabulary)
- ALLOW_MIXCASE_EMBEDDING (ALLOW_MIXCASE_EMBEDDING = true means to make input-word to lowercase when consulting word vector from embedding file; hint: if all words in embedding file are in lower-case, then set ALLOW_MIXCASE_EMBEDDING to true)
- APPEND_SUFFIX (APPEND_SUFFIX = true means to append suffix to input-word when consulting word vector from embedding file; hint: if embedding file uses suffix then APPEND_SUFFIX should be set to true)
 
3) To train using only target language data (translated from source language) while ignoring source language training data. Param is:
- ONLY_TARGET_LANG (ONLY_TARGET_LANG = true means to train strictly using only the translated target language data)


4) To using bilingual setting, set lang = "bilingual_es2en";  es is the source language, en is the target language.
 
================================================================================

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.