This file is indexed.

/usr/lib/python3/dist-packages/lios/dictionary.py is in lios 2.7-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python3
###########################################################################
#    Lios - Linux-Intelligent-Ocr-Solution
#    Copyright (C) 2014-2015 Nalin.x.Linux GPL-3
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This program 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 General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
###########################################################################

import enchant

dictionary_language_dict = {"eng" : "en","afr" : "af","am" : "am",
		"ara" : "ar","ara" : "ar","aze":"az","bel":"be","bul" : "bg",

		#Recently added
		"ben" : "bn","br" : "br","cat" : "ca","ces" : "cs","cy" : "cy",
		"dan" : "da","ger" : "de","deu":"du","deu-frak":"du","ell":"el",
		"epo":"eo","eq":"en","eus":"eu-es","frk":"fk","frm":"fr-classical",
		"grc":"el","ind":"id","isl":"is","ita-old" : "it","jpn":"jn",
		"kan":"kn","kor":"ko","mkd":"md","mlt":"mt","msa":"ma","nld":"nl",
		"nor":"no","spa-old":"es","sqi":"si","srp":"sh","swa":"sw","tha":"th",
		"tur":"tr","vie":"vi","glg" : "gl",

		"ger" : "de","ell" : "el","eo" : "eo","spa" : "es","est" : "et",
		"eu" : "eu","fa" : "fa","fin" : "fi","fo" : "fo","fra" : "fr",
		"ga" : "ga","gl" : "gl","gu" : "gu","heb" : "he","hin" : "hi",
		"hrv" : "hr","hsb" : "hsb","hun" : "hu","hy" : "hy","id" : "id",
		"is" : "is","ita" : "it","kk" : "kk","kn" : "kn","ku" : "ku",
		"lit" : "lt","lav" : "lv","mal" : "ml ","mr" : "mr ","dut" : "nl",
		"no" : "no","nr" : "nr","ns" : "ns ","or" : "or ","pa" : "pa ",
		"pol" : "pl ","por" : "pt","por" : "pt","por" : "pt","ron" : "ro",
		"rus" : "ru ","slk" : "sk","slv" : "sl","ss" : "ss","st" : "st",
		"swe" : "sv","tam" : "ta","tel" : "te","tl" : "tl","tn" : "tn",
		"ts" : "ts","ukr" : "uk","uz" : "uz","xh" : "xh","zu" : "zu" }

class Dict(enchant.Dict):
	def __init__(self,language="en"):
		super(Dict,self).__init__(language)
	
	#list_languages()
	#suggest(word)
	#check(word)