[irstlm] 04/126: Update

Giulio Paci giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:46:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

giuliopaci-guest pushed a commit to annotated tag adaptiveLM.v0.1
in repository irstlm.

commit 26c01c70d1d3b650832f2da8bc6569b47e4995f0
Author: Marcello Federico <mrcfdr at gmail.com>
Date:   Mon Jul 20 09:20:41 2015 +0200

    Update
---
 CMakeLists.txt | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Copyright      | 21 +++++++++++++++++++++
 README.md      | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 136 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..e9e9790
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,57 @@
+#CMake 2.6+ is recommended to an improved Boost module
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
+
+PROJECT (irstlm)
+
+SET(IRSTLM_VERSION_MAJOR "5")
+SET(IRSTLM_VERSION_MINOR "80")
+SET(IRSTLM_VERSION_PATCH "08")
+
+SET(CMAKE_C_COMPILER "gcc" )
+SET(CMAKE_CXX_COMPILER "g++" )
+
+OPTION(CXX0 "Enable/Disable std=c++0" ON)
+
+MATH(EXPR IRSTLM_INT_VERSION "(${IRSTLM_VERSION_MAJOR} * 10000) + (${IRSTLM_VERSION_MINOR} * 100) + (${IRSTLM_VERSION_PATCH} * 1)" )
+
+SET(IRSTLM_VERSION "${IRSTLM_VERSION_MAJOR}.${IRSTLM_VERSION_MINOR}.${IRSTLM_VERSION_PATCH}")
+
+#ADD_DEFINITIONS(-DPS_CACHE_ENABLE)
+
+IF(COMMAND cmake_policy)
+  cmake_policy(SET CMP0017 NEW)
+ENDIF(COMMAND cmake_policy)
+
+IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+    SET(CMAKE_INSTALL_PREFIX
+        "${CMAKE_SOURCE_DIR}/inst" CACHE PATH "IRSTLM install prefix" FORCE
+        )
+    MESSAGE(STATUS "You have not set the install dir, default to ${CMAKE_INSTALL_PREFIX}, if
+    you want to set it, use cmake -DCMAKE_INSTALL_PREFIX to do so")
+ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+
+#set various platform specific global options
+IF(WIN32)
+ SET(CMAKE_DEBUG_POSTFIX "d")
+ OPTION( USE_64_BIT "Set to on if you want to compile Win64" OFF )
+ENDIF(WIN32)
+
+
+# include specific modules
+SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
+
+ADD_SUBDIRECTORY (src)
+ADD_SUBDIRECTORY (scripts)
+ADD_SUBDIRECTORY (doc)
+
+IF (WIN32)
+MESSAGE( STATUS "-------------------------------------------------------------------------------" )
+MESSAGE( STATUS "USE_64_BIT = ${USE_64_BIT}" )
+MESSAGE( STATUS "Change a value with: cmake -D<Variable>=<Value>" )
+MESSAGE( STATUS "-------------------------------------------------------------------------------" )
+
+
+SET( USE_64_BIT "${USE_64_BIT}" CACHE BOOL
+    "Set to ON to build Win64" FORCE )
+ENDIF()
+
diff --git a/Copyright b/Copyright
new file mode 100644
index 0000000..ee84746
--- /dev/null
+++ b/Copyright
@@ -0,0 +1,21 @@
+// $Id: Copyright 3686 2010-10-15 11:55:32Z bertoldi $
+
+/******************************************************************************
+IrstLM: IRST Language Model Toolkit
+Copyright (C) 2006 Marcello Federico, ITC-irst Trento, Italy
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+
+******************************************************************************/
diff --git a/README.md b/README.md
index d9e2839..bcde4a2 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,59 @@
 # irstlm
+IRSTLM Toolkit 
+
+CONTENT:
+
+- src: source code
+- scripts: supporting scripts
+- doc: documentation (in Latex) and in pdf (to be generated)
+- bin: binaries (to be generated) and scripts
+- lib: libraries (to be generated)
+- readme: this file
+
+DOCUMENTATION
+
+A User Manual is available under https://sourceforge.net/projects/irstlm
+The data for the examples described in the User Manual are available under http://sourceforge.net/projects/irstlm/files/irstlm/sampledata/
+
+HOW TO INSTALL WITH AUTOMAKE
+
+step 0: sh regenerate-makefiles.sh [--force]
+# set parameter force to the value "--force" if you want to recreate all links to the autotools
+
+step 1: ./configure [--prefix=/path/where/to/install] ...
+# run "configure --help" to get more details on the compilation options
+
+Note: If your g++ compiler does not support '-std=c++0x', please add parameter '--disable-cxx0'
+To check whether g++ complier does support '-std=c++0x', please run the following command:
+$> echo | g++ -E -x c++ -std=c++0x -dM - >& /dev/null ; echo $?
+
+If it returns 0, g++ complier does support '-std=c++0x'; otherwise, it does not, and hence please use '--disable-cxx0'
+
+step 2: make
+
+step 3: make install
+
+These steps will generate the irstlm library and commands, respectively,
+under the specified path where to install.
+
+HOW TO INSTALL WITH CMAKE
+
+step 0: cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/path/where/to/install"
+
+Note: If your g++ compiler does not support '-std=c++0x', please add parameter '-DCXX0:BOOL=OFF'
+To check whether g++ complier does support '-std=c++0x', please run the following command:
+$> echo | g++ -E -x c++ -std=c++0x -dM - >& /dev/null ; echo $?
+
+If it returns 0, g++ complier does support '-std=c++0x'; otherwise, it does not, and hence please use '-DCXX0:BOOL=OFF'
+
+step 2: make
+step 3: make install
+
+HOW TO CONTRIBUTE
+
+If you wish to contribute to the Open Source IRSTLM toolkit just tell us! 
+
+Marcello Federico
+FBK-irst, Trento, ITALY
+email: federico AT fbk DOT eu
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/irstlm.git



More information about the debian-science-commits mailing list