Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XapaJIaMnu/translateLocally
/ functions
Functions
203 in github.com/XapaJIaMnu/translateLocally
⨍
Functions
203
◇
Types & classes
56
↓ 31 callers
Method
value
src/settings/Settings.h:70
↓ 22 callers
Method
setValue
src/settings/Settings.h:74
↓ 14 callers
Method
id
src/inventory/ModelManager.h:110
↓ 11 callers
Method
isLocal
src/inventory/ModelManager.h:124
↓ 10 callers
Function
bind
src/mainwindow.h:118
↓ 9 callers
Method
translate
(self, text, src=None, trg=None, *, model=None, pivot=None, html=False)
scripts/native_client.py:101
↓ 8 callers
Method
list_models
(self, *, include_remote=False)
scripts/native_client.py:98
↓ 7 callers
Method
fetchRemoteModels
src/inventory/ModelManager.cpp:642
↓ 6 callers
Function
get_build
Instantiate an asyncio TranslateLocally client that connects to tranlateLocally in your local build directory.
scripts/native_client.py:128
↓ 6 callers
Method
marianSettings
src/settings/Settings.cpp:35
↓ 6 callers
Method
toJson
* @brief toJson Returns a json representation of the model. The only difference between the struct is that url and path will not be part of the json.
src/inventory/ModelManager.h:182
↓ 5 callers
Method
data
src/settings/RepositoryTableModel.cpp:106
↓ 4 callers
Function
copyScrollPosition
src/mainwindow.cpp:35
↓ 4 callers
Method
data
src/inventory/ModelManager.cpp:822
↓ 4 callers
Method
getModel
src/inventory/ModelManager.cpp:151
↓ 4 callers
Method
insert
src/settings/RepositoryTableModel.cpp:38
↓ 4 callers
Method
outdated
src/inventory/ModelManager.h:140
↓ 4 callers
Method
query
src/AlignmentWorker.cpp:40
↓ 4 callers
Method
request
(self, command, data, *, update=lambda data: None)
scripts/native_client.py:53
↓ 4 callers
Method
set
src/cli/NativeMsgIface.h:120
↓ 4 callers
Method
set
src/inventory/ModelManager.h:62
↓ 4 callers
Method
setModel
src/MarianInterface.cpp:172
↓ 4 callers
Method
writeModel
src/inventory/ModelManager.cpp:186
↓ 3 callers
Function
connectSingleShot
src/cli/NativeMsgIface.cpp:47
↓ 3 callers
Method
downloadFile
src/Network.cpp:21
↓ 3 callers
Method
isSameModel
src/inventory/ModelManager.h:132
↓ 3 callers
Method
setColor
src/ColorWell.cpp:18
↓ 3 callers
Function
update
(data)
scripts/native_client.py:147
↓ 2 callers
Function
addDisabledItem
src/mainwindow.cpp:30
↓ 2 callers
Function
checkAppleSandbox
src/cli/CommandLineIface.cpp:16
↓ 2 callers
Method
download_model
(self, model_id, *, update=lambda data: None)
scripts/native_client.py:117
↓ 2 callers
Function
download_with_progress
tl.download but with a tqdm powered progress bar.
scripts/native_client.py:144
↓ 2 callers
Function
findModel
src/inventory/ModelManager.cpp:58
↓ 2 callers
Function
findWordByByteOffset
* Finds sentence and word index for a given byte offset in an annotated * string. These come out of marian::bergamot::Service.translate(). */
src/Translation.cpp:10
↓ 2 callers
Function
first
Returns the first value of anything iterable, or throws StopIteration if it is empty. Or, if you specify a default argument, it will return that.
scripts/native_client.py:121
↓ 2 callers
Method
get
src/Network.cpp:15
↓ 2 callers
Method
getReportedRepo
src/inventory/ModelManager.h:116
↓ 2 callers
Method
getURL
src/settings/NewRepoDialog.cpp:18
↓ 2 callers
Method
highlight
src/AlignmentHighlighter.cpp:30
↓ 2 callers
Method
isManagedModel
src/inventory/ModelManager.cpp:129
↓ 2 callers
Method
isRemote
src/inventory/ModelManager.h:128
↓ 2 callers
Function
offsetToPosition
* Converts byte offset into utf-8 aware character position. * Unicode checking blatantly stolen from https://stackoverflow.com/a/ */
src/Translation.cpp:29
↓ 2 callers
Function
positionToOffset
* Other way around: converts utf-8 character position into a byte offset. */
src/Translation.cpp:46
↓ 2 callers
Method
removeModel
src/inventory/ModelManager.cpp:273
↓ 2 callers
Method
run
src/cli/NativeMsgIface.cpp:123
↓ 2 callers
Method
setDocument
src/AlignmentHighlighter.cpp:21
↓ 2 callers
Function
tint
* Fake colour science! Dirty hack to give background colour a hint of the * `hint` colour. * TODO: Improve this because although it is functional t
src/inventory/ModelManager.cpp:814
↓ 2 callers
Method
translate
src/mainwindow.cpp:444
↓ 2 callers
Method
translation
src/Translation.cpp:84
↓ 2 callers
Method
wordsPerSecond
src/Translation.h:50
↓ 2 callers
Method
writeNativeMessagingAppManifests
src/cli/NativeMsgManager.cpp:25
↓ 1 callers
Function
CLIArgumentInit
src/cli/CLIParsing.h:23
↓ 1 callers
Method
alignments
src/Translation.cpp:88
↓ 1 callers
Method
canRemove
src/settings/RepositoryTableModel.cpp:33
↓ 1 callers
Method
dump
src/settings/RepositoryTableModel.cpp:19
↓ 1 callers
Method
dump
(self, fh)
scripts/native_client.py:29
↓ 1 callers
Method
findModelForUpdate
src/inventory/ModelManager.cpp:120
↓ 1 callers
Function
getCommonPrefixPath
* Give it a QStringList with multiple paths, and this will return the * path prefix (i.e. the path to the shared root directory). Note: if only
src/inventory/ModelManager.cpp:35
↓ 1 callers
Function
getLogoFromSVG
logo/logo_svg.h:38
↓ 1 callers
Method
getModelForLanguagePair
src/inventory/ModelManager.cpp:163
↓ 1 callers
Method
getModelForPath
src/inventory/ModelManager.cpp:720
↓ 1 callers
Method
getModelPairForLanguagePair
src/inventory/ModelManager.cpp:174
↓ 1 callers
Method
getName
src/settings/NewRepoDialog.cpp:14
↓ 1 callers
Function
getNativeMessagingClientId
* @bief Will get the native messaging ID from the command line args if there is one. If not, will return empty string. * @return client id or empty s
src/cli/CLIParsing.h:49
↓ 1 callers
Method
getRepository
src/inventory/ModelManager.cpp:728
↓ 1 callers
Method
isFetchingRemoteModels
* @brief whether or not fetchRemoteModels is in progress */
src/inventory/ModelManager.h:307
↓ 1 callers
Function
join
src/cli/NativeMsgIface.cpp:62
↓ 1 callers
Method
load
src/settings/RepositoryTableModel.cpp:23
↓ 1 callers
Function
main
()
scripts/native_client.py:335
↓ 1 callers
Function
makeOptions
src/MarianInterface.cpp:13
↓ 1 callers
Function
makeOptions
src/cli/NativeMsgIface.cpp:35
↓ 1 callers
Method
measure
(self, coro, *details)
scripts/native_client.py:22
↓ 1 callers
Method
reader
(self)
scripts/native_client.py:63
↓ 1 callers
Method
removeRows
src/settings/RepositoryTableModel.cpp:59
↓ 1 callers
Method
render
src/AlignmentHighlighter.cpp:35
↓ 1 callers
Function
runType
src/cli/CLIParsing.h:85
↓ 1 callers
Method
translate
src/MarianInterface.cpp:189
Method
AddNewRepoDialog
src/settings/NewRepoDialog.cpp:4
Method
AlignmentHighlighter
src/AlignmentHighlighter.cpp:5
Method
AlignmentWorker
src/AlignmentWorker.cpp:4
Method
ColorWell
src/ColorWell.cpp:5
Method
CommandLineIface
src/cli/CommandLineIface.cpp:39
Method
FilterTableView
src/FilterTableView.cpp:11
Method
MainWindow
src/mainwindow.cpp:42
Method
MarianInterface
src/MarianInterface.cpp:53
Method
ModelManager
src/inventory/ModelManager.cpp:76
Method
NativeMsgIface
src/cli/NativeMsgIface.cpp:74
Method
Network
src/Network.cpp:7
Method
RepositoryTableModel
src/settings/RepositoryTableModel.cpp:9
Method
SettingImpl
src/settings/Settings.h:65
Method
Settings
src/settings/Settings.cpp:9
Method
Translation
src/Translation.cpp:72
Method
TranslatorSettingsDialog
src/settings/TranslatorSettingsDialog.cpp:15
Method
__aenter__
(self)
scripts/native_client.py:44
Method
__aexit__
(self, *args)
scripts/native_client.py:49
Method
__init__
(self)
scripts/native_client.py:19
Method
__init__
(self, *args)
scripts/native_client.py:39
Method
allowNativeMessagingClient
src/cli/CommandLineIface.cpp:271
Method
applySettings
src/settings/TranslatorSettingsDialog.cpp:109
Method
columnCount
src/settings/RepositoryTableModel.cpp:84
next →
1–100 of 203, ranked by callers