[irstlm] 83/146: Updated irstlm.completion file.

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


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

giuliopaci-guest pushed a commit to branch master
in repository irstlm.

commit 0f0c79e0f4bca9ddd5b19a41bb0159a9f2112035
Author: Giulio Paci <giuliopaci at gmail.com>
Date:   Sat May 4 19:47:55 2013 +0200

    Updated irstlm.completion file.
---
 debian/scripts/irstlm.completion | 45 ++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/debian/scripts/irstlm.completion b/debian/scripts/irstlm.completion
index 28215c3..b5257da 100644
--- a/debian/scripts/irstlm.completion
+++ b/debian/scripts/irstlm.completion
@@ -1,40 +1,44 @@
 # Debian GNU/Linux irstlm completion
 # Copyright 2013 Giulio Paci <giuliopaci at gmail.com>
-# License Expat
+# License LGPL-2.1+
 
 _irstlm_get_cmds()
 {
-    echo "help ngt tlm dict plsa build-lm-qsub sort-lm build-sublm compile-lm lm-stat score-lm quantize-lm split-ngt goograms2ngrams merge-sublm interpolate-lm add-start-end build-lm ngram-split prune-lm split-dict rm-start-end ";
+    echo "help ngt tlm dict plsa build-lm-qsub dtsel sort-lm build-sublm compile-lm lm-stat mdtsel score-lm quantize-lm verify-caching split-ngt goograms2ngrams merge-sublm interpolate-lm add-start-end build-lm ngram-split prune-lm split-dict rm-start-end ";
 }
 
 _irstlm()
 {
-	local cur conns
-    
-	[ -r /etc/ppp/peers/ ] || return 0
+	local cur cmds
 
 	COMPREPLY=()
 	cur=${COMP_WORDS[$COMP_CWORD]}
 
 	if [ $COMP_CWORD -eq 1 ]; then
-	    conns="$(_irstlm_get_cmds)"
-	    COMPREPLY=( $(compgen -o filenames -W "$conns" -- $cur) )
+	    cmds="$(_irstlm_get_cmds)"
+	    COMPREPLY=( $(compgen -o filenames -W "$cmds" -- $cur) )
 	elif [ $COMP_CWORD -eq 2 ] && [[ ${COMP_WORDS[1]}  = "help" ]]; then
-	    conns="$(_irstlm_get_cmds)"
-	    COMPREPLY=( $(compgen -o filenames -W "$conns" -- $cur) )
+	    cmds="$(_irstlm_get_cmds)"
+	    COMPREPLY=( $(compgen -o filenames -W "$cmds" -- $cur) )
 	elif [ $COMP_CWORD -ge 2 ] ; then
 	    case ${COMP_WORDS[1]} in
 	     	"ngt")
-			    COMPREPLY=( $(compgen -o filenames -W "-Dictionary= -d= -IntSymb= -is= -NgramSize= -n= -InputFile= -i= -OutputFile= -o= -InputGoogleFormat= -gooinp= -OutputGoogleFormat= -gooout= -SaveBinaryTable= -b= -LmTable= -lm= -DistCo= -dc= -AugmentFile= -aug= -SaveSingle= -ss= -SubDict= -sd= -ConvDict= -cd= -FilterDict= -fd= -FilterTable= -ft= -ftr= -FilterTableRate= -HistoMask= -hm= -InpLen= -il= -tlm= -ftlm -memuse= -iknstat= " -- $cur) )
+			    COMPREPLY=( $(compgen -o filenames -W "--AugmentFile= --ConvDict= --Dictionary= --DistCo= --FilterDict= --FilterTable= --FilterTableRate= --HistoMask= --InpLen= --InputFile= --InputGoogleFormat= --LmTable= --NgramSize= --OutputFile= --OutputGoogleFormat= --SaveBinaryTable= --SaveSingle= --SubDict= --aug= -b= --cd= -d= --dc= --fd= --ft= --ftlm= --ftr= --gooinp= --gooout= --hm= -i= --iknstat= --il= --lm= --memuse= -n= -o= --sd= --ss= --tlm=  " -- $cur) )
 			    ;;
 	     	"tlm")
-			    COMPREPLY=( $(compgen -o filenames -W "-Back-off= -bo= -Dictionary= -d= -DictionaryUpperBound= -dub= -NgramSize= -n= -Ngram= -TrainOn= -tr= -oASR= -oasr= -o= -oARPA= -oarpa= -oBIN= -obin= -TestOn= -te= -AdaptOn= -ad= -AdaptRate= -ar= -AdaptLevel= -al= -AdaptOOV= -ao= -SaveScaleFactor= -ssf= -LanguageModelType= -lm= -Interactive= -i= -Statistics= -s= -PruneThresh= -p= -PruneSingletons= -ps= -PruneTopSingletons= -pts= -ComputeLMSize= -sz= -MaximumCachingLevel= -mcl= -MemoryMap= -mem [...]
+			    COMPREPLY=( $(compgen -o filenames -W "-Help -h --AdaptLevel= --AdaptOOV= --AdaptOn= --AdaptRate= --Back-off= --Beta= --CheckProb= --ComputeLMSize= --Dictionary= --DictionaryUpperBound= --Interactive= --LanguageModelType= --LoadMixParam= --MaximumCachingLevel= --MemoryMap= --Ngram= --NgramSize= --OutProb= --PruneSingletons= --PruneThresh= --PruneTopSingletons= --SaveMixParam= --SavePerLevel= --SaveScaleFactor= --SetOovRate= --Statistics= --SubLMInfo= --TestOn= --TrainOn= --ad= --a [...]
 			    ;;
 	     	"dict")
-			    COMPREPLY=( $(compgen -o filenames -W "-o= -f= -sort= -pf= -pr= -is= -c= -cs= -t= -LoadFactor= -listOOV= " -- $cur) )
+			    COMPREPLY=( $(compgen -o filenames -W "--Curve= --CurveSize= --Freq= --InputFile= --IntSymb= --ListOOV= --LoadFactor= --OutputFile= --PruneFreq= --PruneRank= --Size= --TestFile= -c= --cs= -f= -i= --is= --lf= -o= --oov= --pf= --pr= -s= --sort= -t=  " -- $cur) )
 			    ;;
 	     	"plsa")
-			    COMPREPLY=( $(compgen -o filenames -W "-Dictionary= -d= -Binary= -b= -SplitData= -sd= -Collection= -c= -Model= -m= -HFile= -hf= -WFile= -wf= -TFile= -tf= -CombineTFile= -ct= -TxtFile= -txt= -Inference= -inf= -Features= -f= -Topics= -t= -SpecialTopic= -st= -Iterations= -it= -Help= -h= " -- $cur) )
+			    COMPREPLY=( $(compgen -o filenames -W "--Binary= --Collection= --CombineTFile= --Dictionary= --Features= --HFile= --Inference= --Iterations= --Model= --SpecialTopic= --SplitData= --TFile= --Topics= --TxtFile= --WFile= -b= -c= --ct= -d= -f= --hf= --inf= --it= -m= --sd= --st= -t= --tf= --txt= --wf=   --EXAMPLES= --(1) --Train --<text_collection> --number --number --The --documents --The --Example 3 --<d> --<d> --<d> --(2) --Binarize --(3) --Infer --text.  " -- $cur) )
+			    ;;
+	     	"build-lm-qsub")
+			    COMPREPLY=( $(compgen -o filenames -W "-i -o -k -n -t -p -u -q -s -b -d -v " -- $cur) )
+			    ;;
+	     	"dtsel")
+			    COMPREPLY=( $(compgen -o filenames -W "--block-size= --bs= -c= --convergence-threshold= --cross-validation= --cv= --dictionary-upper-bound= --dub= -f= -i= --in-domain-file= --index= -m= --min-word-freq= --model= -n= --ngram-order= -o= --out-domain-file= -s= --score-file= -t= --test= -v= --verbose= -x=  " -- $cur) )
 			    ;;
 	     	"sort-lm")
 			    COMPREPLY=( $(compgen -o filenames -W "-ilm -olm -inv " -- $cur) )
@@ -43,14 +47,20 @@ _irstlm()
 			    COMPREPLY=( $(compgen -o filenames -W "--size --ngrams --sublm --freq-shift --witten-bell --kneser-ney --improved-kneser-ney --good-turing --prune-singletons --cross-sentence --verbose " -- $cur) )
 			    ;;
 	     	"compile-lm")
-			    COMPREPLY=( $(compgen -o filenames -W "--text -t --invert -i --filter -f --keepunigrams -ku --eval -e --randcalls -r --dub --score -s --debug -d --sentence --memmap -mm --ngram_load_factor --dict_load_factor --level -l --tmpdir " -- $cur) )
+			    COMPREPLY=( $(compgen -o filenames -W "-d= --debug= --dict_load_factor= --dub= -e= --eval= -f= --filter= -i= --invert= --keepunigrams= --ku= -l= --level= --memmap= --mm= --ngram_load_factor= -r= --randcalls= -s= --score= --sentence= -t= --text= --tmpdir=  " -- $cur) )
 			    ;;
 	     	"lm-stat")
 			    COMPREPLY=( $(compgen -o filenames -W "--lm --txt " -- $cur) )
 			    ;;
+	     	"mdtsel")
+			    COMPREPLY=( $(compgen -o filenames -W "-v -i -o -s -x -w -j -m -f -n -d -c " -- $cur) )
+			    ;;
 	     	"score-lm")
 			    COMPREPLY=( $(compgen -o filenames -W "-lm -dub -level -mm " -- $cur) )
 			    ;;
+	     	"quantize-lm")
+			    COMPREPLY=( $(compgen -o filenames -W " " -- $cur) )
+			    ;;
 	     	"goograms2ngrams")
 			    COMPREPLY=( $(compgen -o filenames -W "--maxsize --startfrom --googledir --ngramdir --verbose " -- $cur) )
 			    ;;
@@ -58,10 +68,13 @@ _irstlm()
 			    COMPREPLY=( $(compgen -o filenames -W "--size --sublm --lm " -- $cur) )
 			    ;;
 	     	"interpolate-lm")
-			    COMPREPLY=( $(compgen -o filenames -W "--learn -l --order -o --eval -e --dub --score -s --debug -d --sentence --memmap -mm --ngram_load_factor --dict_load_factor --level -lev " -- $cur) )
+			    COMPREPLY=( $(compgen -o filenames -W "-d= --debug= --dict_load_factor= --dub= -e= --eval= -l= --learn= --lev= --level= --memmap= --mm= --ngram_load_factor= -o= --order= -s= --score= --sentence=  " -- $cur) )
+			    ;;
+	     	"build-lm")
+			    COMPREPLY=( $(compgen -o filenames -W "-i -o -k -n -t -p -u -s -b -d -v " -- $cur) )
 			    ;;
 	     	"prune-lm")
-			    COMPREPLY=( $(compgen -o filenames -W "--threshold= --abs= " -- $cur) )
+			    COMPREPLY=( $(compgen -o filenames -W "--abs= -t= --threshold=  " -- $cur) )
 			    ;;
 	     	"split-dict")
 			    COMPREPLY=( $(compgen -o filenames -W "--input --output --parts " -- $cur) )

-- 
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