CAMeL-Lab / camel_tools

A suite of Arabic natural language processing tools developed by the CAMeL Lab at New York University Abu Dhabi.
MIT License
415 stars 73 forks source link

سؤال #115

Closed HudaHo1 closed 1 year ago

HudaHo1 commented 1 year ago

السلام عليكم ،أسأل عما إذا كانت إحدى أدوات كامل تتيح معرفة نوع الفاعل (مستتراً كان أم ظاهراً)؟

nizarhabash1 commented 1 year ago

Translation of the question: Does Camel Tools have a utility to detect explicit vs pro-dropped verb subjects?

وعليكم السلام -- لا تتضمن أدوات كامل حاليا محللًا نحويًا لتمكين التعرف على نوع الفاعل (مستتر/ظاهر). ولكننا نخطط لإضافة هذه الأداة في المستقبل.

Translation of the answer: We currently do not have a syntactic analyzer in Camel Tools; but we are working on adding one in the near future.

HudaHo1 commented 1 year ago

حسناً ،نتمنى لكم التوفيق في ذلك سؤالي الآخر هو عن سبب ظهور هذا الخطأ لدي : DownloaderError: An error occured while downloading data.

في الثلاثاء، ١١ أبريل ٢٠٢٣ ١:٤٧ م Nizar Habash @.***> كتب:

Closed #115 https://github.com/CAMeL-Lab/camel_tools/issues/115 as completed.

— Reply to this email directly, view it on GitHub https://github.com/CAMeL-Lab/camel_tools/issues/115#event-8972158124, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TTX4GQGX2G6SBI6EYSDNLXAUZCNANCNFSM6AAAAAAW2AYEEY . You are receiving this because you authored the thread.Message ID: @.***>

HudaHo1 commented 1 year ago

علماً أنني أثناء تثبيت المكتبة لم أفهم معنى أن أقوم بتثبيت Rust compiler ،أنا أستخدم بيئة anaconda للعمل فهل يمكنك مساعدتي رجاءً

في الأربعاء، ١٢ أبريل ٢٠٢٣ ٩:٢٥ ص Huda Alhusain @.***> كتب:

حسناً ،نتمنى لكم التوفيق في ذلك سؤالي الآخر هو عن سبب ظهور هذا الخطأ لدي : DownloaderError: An error occured while downloading data.

في الثلاثاء، ١١ أبريل ٢٠٢٣ ١:٤٧ م Nizar Habash @.***> كتب:

Closed #115 https://github.com/CAMeL-Lab/camel_tools/issues/115 as completed.

— Reply to this email directly, view it on GitHub https://github.com/CAMeL-Lab/camel_tools/issues/115#event-8972158124, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TTX4GQGX2G6SBI6EYSDNLXAUZCNANCNFSM6AAAAAAW2AYEEY . You are receiving this because you authored the thread.Message ID: @.***>

owo commented 1 year ago

Depending on your setup, you probably don't need the Rust compiler. Try installing camel-tools without it, and if the installation process complains about not having the Rust compiler installed, you can follow these instructions.

HudaHo1 commented 1 year ago

ok but i still have this error : DownloaderError: An error occured while downloading data.

في الأربعاء، ١٢ أبريل ٢٠٢٣ ١١:٥١ ص Ossama W. Obeid @.***> كتب:

Depending on your setup, you probably don't need the Rust compiler. Try installing camel-tools without it, and if the installation process complains about not having the Rust compiler installed, you can follow these instructions https://www.rust-lang.org/learn/get-started.

— Reply to this email directly, view it on GitHub https://github.com/CAMeL-Lab/camel_tools/issues/115#issuecomment-1504901643, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TTX4EE4TKMEUYJATCRGD3XAZUIFANCNFSM6AAAAAAW2AYEEY . You are receiving this because you authored the thread.Message ID: @.***>

owo commented 1 year ago

Are you getting this error during the data download phase?

There are three main reasons you might get this error (though there might be other reasons): 1) You ran out of disk space 2) There was a network issue during download 3) camel_data doesn't have permissions to write the data files to the default directory it uses.

To eliminate reasons 1) and 2), please check if you have sufficient disk space (you'll need around 5.10GB for the fully extracted data and a few more GBs while downloading the data) and retry the download process.

If you are still facing issues, please give us more information:

HudaHo1 commented 1 year ago

it not one of these reasons , 1.windows 10 64 bit 2.python 3.7.6 3.camel_tools version: 1.5.2 4.I faced the same error with the three commands. 5.some package were dowloaded and install ,only this command doesn't work: (from camel_tools.disambig.mle import MLEDisambiguater) 6.this error: (ImportError: cannot import name 'CT_DATA_DTR' from 'camel_tools.data.catalogue')

في الأربعاء، ١٢ أبريل ٢٠٢٣ ٧:٢٥ م Ossama W. Obeid @.***> كتب:

Are you getting this error during the data download phase?

There are three main reasons you might get this error (though there might be other reasons):

  1. You ran out of disk space
  2. There was a network issue during download
  3. camel_data doesn't have permissions to write the data files to the default directory it uses.

To eliminate reasons 1) and 2), please check if you have sufficient disk space (you'll need around 5.10GB for the fully extracted data and a few more GBs while downloading the data) and retry the download process.

If you are still facing issues, please give us more information:

  • What operating system/platform and version are you using? (eg. Windows 10 64-bit, macOS 13.2.1, Ubuntu 22.04 64-bit, Google Colab, etc.)
  • What Python version are you using? (run python --version)
  • What camel-tools version has been installed? (run camel_data --version)
  • What is the command you ran to download the data? (eg. camel_data -i all)
  • Was the error generated immediately, or was there any download progress and some packages were downloaded and installed? You should see progress bars for downloading and extracting each package being installed.
  • What is the output of this command: python -c "from camel_tools.data.catalogue import CT_DATA_DIR; print(CT_DATA_DIR);"

— Reply to this email directly, view it on GitHub https://github.com/CAMeL-Lab/camel_tools/issues/115#issuecomment-1505571195, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TTX4CKWCFDPEEKSN3BNSDXA3JOBANCNFSM6AAAAAAW2AYEEY . You are receiving this because you authored the thread.Message ID: @.***>

HudaHo1 commented 1 year ago

Not, i faced this error during downloading data /with three commands/ : Error: Could not find a version that satisfies the requirement camel_data(from version:none) Error: No matching distribution found for camel_data

في الأربعاء، ١٢ أبريل ٢٠٢٣ ٨:٥٦ م Huda Alhusain @.***> كتب:

it not one of these reasons , 1.windows 10 64 bit 2.python 3.7.6 3.camel_tools version: 1.5.2 4.I faced the same error with the three commands. 5.some package were dowloaded and install ,only this command doesn't work: (from camel_tools.disambig.mle import MLEDisambiguater) 6.this error: (ImportError: cannot import name 'CT_DATA_DTR' from 'camel_tools.data.catalogue')

في الأربعاء، ١٢ أبريل ٢٠٢٣ ٧:٢٥ م Ossama W. Obeid < @.***> كتب:

Are you getting this error during the data download phase?

There are three main reasons you might get this error (though there might be other reasons):

  1. You ran out of disk space
  2. There was a network issue during download
  3. camel_data doesn't have permissions to write the data files to the default directory it uses.

To eliminate reasons 1) and 2), please check if you have sufficient disk space (you'll need around 5.10GB for the fully extracted data and a few more GBs while downloading the data) and retry the download process.

If you are still facing issues, please give us more information:

  • What operating system/platform and version are you using? (eg. Windows 10 64-bit, macOS 13.2.1, Ubuntu 22.04 64-bit, Google Colab, etc.)
  • What Python version are you using? (run python --version)
  • What camel-tools version has been installed? (run camel_data --version)
  • What is the command you ran to download the data? (eg. camel_data -i all)
  • Was the error generated immediately, or was there any download progress and some packages were downloaded and installed? You should see progress bars for downloading and extracting each package being installed.
  • What is the output of this command: python -c "from camel_tools.data.catalogue import CT_DATA_DIR; print(CT_DATA_DIR);"

— Reply to this email directly, view it on GitHub https://github.com/CAMeL-Lab/camel_tools/issues/115#issuecomment-1505571195, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TTX4CKWCFDPEEKSN3BNSDXA3JOBANCNFSM6AAAAAAW2AYEEY . You are receiving this because you authored the thread.Message ID: @.***>

owo commented 1 year ago

You mistyped the last command. It should be CT_DATA_DIR not CT_DATA_DTR.

However, the fact that some packages were installed means that the issue is really reason 2). This could be caused by any number things including: bad network connection (either from your network device or your service provider), anti-virus software, etc. Something is cancelling the download midway. Additionally, I have tried downloading all the packages on my Windows 10 machine via camel_data -i all and it worked successfully. That rules out an issue with camel-tools.

For now, if you're interested in using the MLEDisambiguator, you can try downloading its packages directly:

camel_data -i disambig-mle-all
HudaHo1 commented 1 year ago

ok i'm so pleasure for your help and time.

i'm really sorry about that

في الأربعاء، ١٢ أبريل ٢٠٢٣ ٩:٢٨ م Ossama W. Obeid @.***> كتب:

You mistyped the last command. It should be CT_DATA_DIR not CT_DATA_DTR.

However, the fact that some packages were installed means that the issue is really reason 2). This could be caused by any number things including: bad network connection (either from your network device or your service provider), anti-virus software, etc. Something is cancelling the download midway. Additionally, I have tried downloading all the packages on my Windows 10 machine via camel_data -i all and it worked successfully. That rules out an issue with camel-tools.

For now, if you're interested in using the MLEDisambiguator, you can try downloading its packages directly:

camel_data -i disambig-mle-all

— Reply to this email directly, view it on GitHub https://github.com/CAMeL-Lab/camel_tools/issues/115#issuecomment-1505739347, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2TTX4AIOUPWPNYGOJDNHADXA3X4RANCNFSM6AAAAAAW2AYEEY . You are receiving this because you authored the thread.Message ID: @.***>

owo commented 1 year ago

No problem. Sorry for the inconvenience.