Skip to content

Commit

Permalink
Add and update copyright signs (bigartm#730)
Browse files Browse the repository at this point in the history
Add and update copyright signs
  • Loading branch information
MelLain authored and JeanPaulShapo committed Feb 13, 2017
1 parent a0a73a5 commit 47a13d4
Show file tree
Hide file tree
Showing 159 changed files with 203 additions and 124 deletions.
2 changes: 2 additions & 0 deletions python/artm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from .artm_model import ARTM, version
from .lda_model import LDA
from .hierarchy_utils import hARTM
Expand Down
2 changes: 2 additions & 0 deletions python/artm/artm_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import os
import csv
import uuid
Expand Down
2 changes: 2 additions & 0 deletions python/artm/batches_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import os
import glob
import uuid
Expand Down
2 changes: 2 additions & 0 deletions python/artm/dictionary.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import uuid
import os
import glob
Expand Down
2 changes: 2 additions & 0 deletions python/artm/hierarchy_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import artm
import uuid
import copy
Expand Down
2 changes: 2 additions & 0 deletions python/artm/lda_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from six.moves import range, zip

from .artm_model import ARTM
Expand Down
2 changes: 2 additions & 0 deletions python/artm/master_component.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import os
import numpy
import codecs
Expand Down
2 changes: 2 additions & 0 deletions python/artm/regularizers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import uuid
import random
import warnings
Expand Down
2 changes: 2 additions & 0 deletions python/artm/score_tracker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from six import iteritems
from six.moves import zip

Expand Down
2 changes: 2 additions & 0 deletions python/artm/scores.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import uuid
import warnings

Expand Down
2 changes: 2 additions & 0 deletions python/artm/utility/create_cooc_data.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

# Utility to generate pairwise coocurancy information of tokens
# of collection in BigARTM batches with default dictionary.
# It will create 'cooc_data.txt' file in the directory with
Expand Down
2 changes: 2 additions & 0 deletions python/artm/wrapper/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import warnings

from . import exceptions
Expand Down
2 changes: 2 additions & 0 deletions python/artm/wrapper/api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

"""
Implementation of wrapper API
"""
Expand Down
2 changes: 2 additions & 0 deletions python/artm/wrapper/constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

"""
Constants values, used in messages
"""
Expand Down
2 changes: 2 additions & 0 deletions python/artm/wrapper/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

"""
Exceptions corresponding to BigARTM error codes
"""
Expand Down
2 changes: 2 additions & 0 deletions python/artm/wrapper/spec.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

"""
Specifications of C-API functions
"""
Expand Down
2 changes: 2 additions & 0 deletions python/artm/wrapper/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

"""
Auxiliary functions used in wrapper
"""
Expand Down
2 changes: 2 additions & 0 deletions python/tests/artm/test_artm_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import shutil
import glob
import tempfile
Expand Down
2 changes: 2 additions & 0 deletions python/tests/artm/test_batches_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import shutil
import glob
import tempfile
Expand Down
2 changes: 2 additions & 0 deletions python/tests/artm/test_dictionary.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import shutil
import glob
import tempfile
Expand Down
2 changes: 2 additions & 0 deletions python/tests/artm/test_hartm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import shutil
import tempfile
import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/artm/test_lda_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import shutil
import glob
import tempfile
Expand Down
2 changes: 2 additions & 0 deletions python/tests/artm/test_regularizer_biterms.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import shutil
import glob
import tempfile
Expand Down
2 changes: 2 additions & 0 deletions python/tests/artm/test_regularizer_smooth_sparse_theta.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import shutil
import glob
import tempfile
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function
import shutil
import glob
Expand Down
2 changes: 2 additions & 0 deletions python/tests/artm/test_regularizer_topic_selection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import shutil
import glob
import tempfile
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_01_synthetic_collection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import uuid
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_02_regularizers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_03_concurrency.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import time
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_04_dictionary.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_05_multimodal.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-

# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_06_get_theta.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-

# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_07_initialize_and_get_phi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_08_import_export_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_09_online_algorithm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_10_attach_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_11_master_model_api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

from __future__ import print_function

import os
Expand Down
2 changes: 2 additions & 0 deletions python/tests/wrapper/test_12_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright 2017, Additive Regularization of Topic Models.

import os
import itertools
import tempfile
Expand Down
2 changes: 1 addition & 1 deletion src/artm/c_interface.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include "artm/c_interface.h"

Expand Down
3 changes: 2 additions & 1 deletion src/artm/c_interface.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

// This file defines public API methods of BigARTM library.
// All methods must be inside "extern "C"" scope. All complex data structures should be passed in
// as Google Protobuf Messages, defined in messages.proto.
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/batch_manager.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2016, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include "artm/core/batch_manager.h"

Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/batch_manager.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_BATCH_MANAGER_H_
#define SRC_ARTM_CORE_BATCH_MANAGER_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/cache_manager.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include "artm/core/cache_manager.h"

Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/cache_manager.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_CACHE_MANAGER_H_
#define SRC_ARTM_CORE_CACHE_MANAGER_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/call_on_destruction.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_CALL_ON_DESTRUCTION_H_
#define SRC_ARTM_CORE_CALL_ON_DESTRUCTION_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/check_messages.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_CHECK_MESSAGES_H_
#define SRC_ARTM_CORE_CHECK_MESSAGES_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/collection_parser.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include "artm/core/collection_parser.h"

Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/collection_parser.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_COLLECTION_PARSER_H_
#define SRC_ARTM_CORE_COLLECTION_PARSER_H_
Expand Down
4 changes: 2 additions & 2 deletions src/artm/core/common.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2014, Additive Regularization of Topic Models.
//
// Copyright 2017, Additive Regularization of Topic Models.

// File 'common.h' contains constants, helpers and typedefs used across the entire library.
// The goal is to keep this file as short as possible.

Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/cuckoo_watch.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2016, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include "artm/core/cuckoo_watch.h"

Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/cuckoo_watch.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_CUCKOO_WATCH_H_
#define SRC_ARTM_CORE_CUCKOO_WATCH_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/dense_phi_matrix.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include "artm/core/dense_phi_matrix.h"

Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/dense_phi_matrix.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_DENSE_PHI_MATRIX_H_
#define SRC_ARTM_CORE_DENSE_PHI_MATRIX_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/dictionary.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include "artm/core/dictionary.h"
#include "artm/utility/memory_usage.h"
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/dictionary.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_DICTIONARY_H_
#define SRC_ARTM_CORE_DICTIONARY_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/dictionary_operations.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include <algorithm>
#include <fstream>
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/dictionary_operations.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_DICTIONARY_OPERATIONS_H_
#define SRC_ARTM_CORE_DICTIONARY_OPERATIONS_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/exceptions.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

/*****************************************************************
// All exceptions in artm::core should be inherited from std::runtime_error,
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/helpers.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include <stdlib.h>

Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/helpers.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_HELPERS_H_
#define SRC_ARTM_CORE_HELPERS_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/instance.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include <memory>
#include <string>
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/instance.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_INSTANCE_H_
#define SRC_ARTM_CORE_INSTANCE_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/master_component.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#include "artm/core/master_component.h"

Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/master_component.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_MASTER_COMPONENT_H_
#define SRC_ARTM_CORE_MASTER_COMPONENT_H_
Expand Down
2 changes: 1 addition & 1 deletion src/artm/core/phi_matrix.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Additive Regularization of Topic Models.
// Copyright 2017, Additive Regularization of Topic Models.

#ifndef SRC_ARTM_CORE_PHI_MATRIX_H_
#define SRC_ARTM_CORE_PHI_MATRIX_H_
Expand Down
Loading

0 comments on commit 47a13d4

Please sign in to comment.