public BinaryDictionary(Context context,int[] resId,int dicTypeId){
  if (resId != null && resId.length > 0 && resId[0] != 0) {
    loadDictionary(context,resId);
  }
  mDicTypeId=dicTypeId;
}

public BinaryDictionary ( Context context , int [ ] resId , int dicTypeId ) { if ( resId != null && resId . length > 0 && resId [ 0 ] != 0 ) { loadDictionary ( context , resId ) ; } mDicTypeId = dicTypeId ; }
create a dictionary from a raw resource file
