head 1.7; access; symbols pkgsrc-2023Q4:1.7.0.4 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.2 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.6.0.8 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.6 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.4 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.2 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.5.0.14 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.12 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.10 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.8 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.6 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.4 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.2 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.4.0.8 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.6 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.4 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.3.0.4 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.2 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.2.0.12 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.10 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.8 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.6 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.4 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.2 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.1.1.1.0.26 pkgsrc-2017Q3-base:1.1.1.1 pkgsrc-2017Q2:1.1.1.1.0.22 pkgsrc-2017Q2-base:1.1.1.1 pkgsrc-2017Q1:1.1.1.1.0.20 pkgsrc-2017Q1-base:1.1.1.1 pkgsrc-2016Q4:1.1.1.1.0.18 pkgsrc-2016Q4-base:1.1.1.1 pkgsrc-2016Q3:1.1.1.1.0.16 pkgsrc-2016Q3-base:1.1.1.1 pkgsrc-2016Q2:1.1.1.1.0.14 pkgsrc-2016Q2-base:1.1.1.1 pkgsrc-2016Q1:1.1.1.1.0.12 pkgsrc-2016Q1-base:1.1.1.1 pkgsrc-2015Q4:1.1.1.1.0.10 pkgsrc-2015Q4-base:1.1.1.1 pkgsrc-2015Q3:1.1.1.1.0.8 pkgsrc-2015Q3-base:1.1.1.1 pkgsrc-2015Q2:1.1.1.1.0.6 pkgsrc-2015Q2-base:1.1.1.1 pkgsrc-2015Q1:1.1.1.1.0.4 pkgsrc-2015Q1-base:1.1.1.1 pkgsrc-2014Q4:1.1.1.1.0.2 pkgsrc-2014Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2023.08.14.05.24.50; author wiz; state Exp; branches; next 1.6; commitid LOSB79OLVxvXjIAE; 1.6 date 2022.06.30.11.18.36; author nia; state Exp; branches; next 1.5; commitid AhctUV91Vubws3KD; 1.5 date 2020.12.04.20.45.29; author nia; state Exp; branches; next 1.4; commitid FPz71MqRX3WN0tyC; 1.4 date 2019.11.02.16.16.19; author rillig; state Exp; branches; next 1.3; commitid 8i1eJQVJcj8NjiJB; 1.3 date 2019.04.25.07.33.05; author maya; state Exp; branches; next 1.2; commitid 1FEMQBEPb9uTxHkB; 1.2 date 2017.11.15.22.13.24; author wiz; state Exp; branches; next 1.1; commitid YaYDuRB4KyzAlbfA; 1.1 date 2014.10.29.17.06.40; author cheusov; state Exp; branches 1.1.1.1; next ; commitid vtnZBHQxU9rmq7Wx; 1.1.1.1 date 2014.10.29.17.06.40; author cheusov; state Exp; branches; next ; commitid vtnZBHQxU9rmq7Wx; desc @@ 1.7 log @*: recursive bump for Python 3.11 as new default @ text @# $NetBSD: Makefile,v 1.6 2022/06/30 11:18:36 nia Exp $ DISTNAME= libshorttext-1.1 PKGREVISION= 4 CATEGORIES= math textproc MASTER_SITES= https://www.csie.ntu.edu.tw/~cjlin/libshorttext/ MAINTAINER= cheusov@@NetBSD.org HOMEPAGE= https://www.csie.ntu.edu.tw/~cjlin/libshorttext/ COMMENT= Library for short-text classification and analysis LICENSE= modified-bsd DEPENDS+= liblinear-[0-9]*:../../math/liblinear \ libsvm-[0-9]*:../../math/libsvm USE_LANGUAGES= c c++ REPLACE_PYTHON= *.py demo/*.py ${PYUTILS} PLIST_SUBST+= PYSITELIB=${PYSITELIB} INSTALLATION_DIRS= bin share/examples/libshorttext/demo \ share/doc/libshorttext ${ADDITIONAL_FILES:H:S,^,${PYSITELIB}/,:O:u} PYUTILS+= \ libshorttext/classifier/classifier_impl.py \ libshorttext/classifier/learner/learner_impl.py \ libshorttext/analyzer/analyzer_impl.py \ libshorttext/analyzer/selector.py \ libshorttext/classifier/learner/liblinear/python/liblinear.py \ libshorttext/classifier/learner/liblinear/python/liblinearutil.py \ libshorttext/converter/converter_impl.py \ libshorttext/converter/stemmer/porter.py \ libshorttext/classifier/grid.py ADDITIONAL_FILES+= \ ${PYUTILS} \ libshorttext/analyzer/__init__.py \ libshorttext/converter/stop-words/stoplist-nsp.regex.pickle \ libshorttext/converter/stop-words/stoplist-nsp.regex \ libshorttext/converter/stemmer/__init__.py \ libshorttext/converter/stemmer/porter.so.1 \ libshorttext/converter/__init__.py \ libshorttext/__init__.py \ libshorttext/classifier/__init__.py \ libshorttext/classifier/learner/liblinear/train \ libshorttext/classifier/learner/liblinear/predict \ libshorttext/classifier/learner/liblinear/liblinear.so.1 \ libshorttext/classifier/learner/__init__.py \ libshorttext/classifier/learner/util.so.1 do-install: set -e; cd ${WRKSRC}; \ ${INSTALL_SCRIPT} text-predict.py text-train.py text2svm.py \ ${DESTDIR}${PREFIX}/bin; \ ${INSTALL_DATA} README \ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}; \ ${CP} -Rp demo ${DESTDIR}${PREFIX}/share/examples/${PKGBASE} .for f in ${ADDITIONAL_FILES} ${CP} -p ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${PYSITELIB}/${f} .endfor .include "../../lang/python/extension.mk" .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" @ 1.6 log @*: Revbump packages that use Python at runtime without a PKGNAME prefix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2020/12/04 20:45:29 nia Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.5 log @Revbump packages with a runtime Python dep but no version prefix. For the Python 3.8 default switch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2019/11/02 16:16:19 rillig Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.4 log @math: align variable assignments pkglint -Wall -F --only aligned -r Manual correction in R/Makefile.extension for the MASTER_SITES continuation line. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2019/04/25 07:33:05 maya Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.3 log @PKGREVISION bump for anything using python without a PYPKGPREFIX. This is a semi-manual PKGREVISION bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2017/11/15 22:13:24 wiz Exp $ d18 2 a19 2 REPLACE_PYTHON= *.py demo/*.py ${PYUTILS} PLIST_SUBST+= PYSITELIB=${PYSITELIB} @ 1.2 log @libshorttext: follow redirects @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2014/10/29 17:06:40 cheusov Exp $ d4 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d5 1 a5 1 MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libshorttext/ d8 1 a8 1 HOMEPAGE= http://www.csie.ntu.edu.tw/~cjlin/libshorttext/ @ 1.1.1.1 log @LibShortText is an open source tool for short-text classification and analysis. It can handle the classification of, for example, titles, questions, sentences, and short messages. Main features of LibShortText include * It is more efficient than general text-mining packages. On a typical computer, processing and training 10 million short texts takes only around half an hour. * The fast training and testing is built upon the linear classifier * LIBLINEAR * Default options often work well without tedious tuning. * An interactive tool for error analysis is included. Based on the property that each short text contains few words, LibShortText provides details in predicting each text. @ text @@