MagedSaeed / farasapy

A Python implementation of Farasa toolkit
MIT License
112 stars 21 forks source link

How to use farasapy completely offline #18

Closed atytxt closed 3 years ago

atytxt commented 3 years ago

How I can use Farasapy without internet connection? is there any way to download and install package and use it offline later?

MagedSaeed commented 3 years ago

Actually, farasapy will check for the binaries at the begining. If they do exist, then it won't download them. Otherwise, it will download them and save them in a local directory on your machine. So, the internet connection is only needed once, in the first run. Afterwards, no need for download unless you manually deleted them.

I can understand the confusion if you always run it from colab where binaries are downloaded everytime. However, this should not be the case if it is installed on your local machine.

Hope this answers your question.

MagedSaeed commented 3 years ago

closed for inactivity

atytxt commented 3 years ago

So this means that there is no need to download anything before and after first run? and whatif I want to make docker to run somewhere else?

MagedSaeed commented 3 years ago

I am not sure if docker would work for you. However, you are true that you just need to only run it once to download the binaries.

AsmaZbt commented 2 years ago

hello @atytxt , did you used farasapy completely offline? if you did , can you show me how to do that please? thank you so much

atytxt commented 2 years ago

Hello, No I could not use it offline. I am using the base preprocess instead.

On Thu, Dec 2, 2021 at 4:53 PM Asma @.***> wrote:

hello @atytxt https://github.com/atytxt , did you used farasapy completely offline? if you did , can you show me how to do that please? thank you so much

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MagedSaeed/farasapy/issues/18#issuecomment-984624142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVJT5WQ5QISF3DQLQSI7JZ3UO5XOPANCNFSM5EGNO6DA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.