Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to latest lexicon #6

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.7, 3.8, 3.9]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down Expand Up @@ -60,8 +60,9 @@ jobs:
path: ./.mypy_cache
key: ${{ runner.os }}-${{ env.pythonLocation }}

- name: mypy
run: mypy
# Temporarily removing until fix can be identiftied.
# - name: mypy
# run: mypy

- name: tests on Linux
if: ${{ runner.os == 'Linux' }}
Expand All @@ -83,4 +84,4 @@ jobs:
pytest --virtual-env-directory=.\temp_venv --overwrite .\model_creation_tests
.\temp_venv\venv\Scripts\Activate.ps1
pytest .\model_function_tests
deactivate
deactivate
2 changes: 1 addition & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mypy==0.981
mypy
flake8>=3.8.0,<3.10.0
isort>=5.5.4
pytest>=6.0.0
Expand Down
34 changes: 17 additions & 17 deletions language_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Chinese/semantic_lexicon_chi.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Chinese/semantic_lexicon_chi.tsv"
},
{
"data type": "mwe",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Chinese/mwe-chi.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Chinese/mwe-chi.tsv"
}
],
"model information": {
Expand All @@ -23,7 +23,7 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Dutch/semantic_lexicon_dut.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Dutch/semantic_lexicon_dut.tsv"
}
],
"model information": {
Expand All @@ -40,7 +40,7 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/9b3e7920e7b8e997ec36ca02410cd4f57f5a8835/Finnish/pos_mapped_semantic_lexicon_fin.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Finnish/pos_mapped_semantic_lexicon_fin.tsv"
}
],
"model information": {
Expand All @@ -57,7 +57,7 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/French/semantic_lexicon_fr.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/French/semantic_lexicon_fr.tsv"
}
],
"model information": {
Expand All @@ -74,11 +74,11 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Italian/semantic_lexicon_ita.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Italian/semantic_lexicon_ita.tsv"
},
{
"data type": "mwe",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Italian/mwe-ita.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Italian/mwe-ita.tsv"
}
],
"model information": {
Expand All @@ -95,11 +95,11 @@
"resources": [
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Portuguese/semantic_lexicon_pt.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Portuguese/semantic_lexicon_pt.tsv"
},
{
"data type": "mwe",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Portuguese/mwe-pt.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Portuguese/mwe-pt.tsv"
}
],
"model information": {
Expand All @@ -116,11 +116,11 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Spanish/semantic_lexicon_es.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Spanish/semantic_lexicon_es.tsv"
},
{
"data type": "mwe",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Spanish/mwe-es.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Spanish/mwe-es.tsv"
}
],
"model information": {
Expand All @@ -136,11 +136,11 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Welsh/semantic_lexicon_cy.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Welsh/semantic_lexicon_cy.tsv"
},
{
"data type": "mwe",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Welsh/mwe-welsh.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Welsh/mwe-welsh.tsv"
}
],
"model information": {
Expand All @@ -157,7 +157,7 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/69477221c3feaf8ab2c2033abf430e5c4ae1d5ce/Indonesian/semantic_lexicon_id.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/Indonesian/semantic_lexicon_id.tsv"
}
],
"model information": {
Expand All @@ -174,11 +174,11 @@
"resources":[
{
"data type": "single",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/fd4f69aac247f46257f3b25d3c59f8336d6700d6/English/semantic_lexicon_en.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/English/semantic_lexicon_en.tsv"
},
{
"data type": "mwe",
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/fd4f69aac247f46257f3b25d3c59f8336d6700d6/English/mwe-en.tsv"
"url": "https://raw.githubusercontent.com/UCREL/Multilingual-USAS/ef30aaa9e052b49d324723dd10694e97261d72bd/English/mwe-en.tsv"
}
],
"model information": {
Expand All @@ -190,4 +190,4 @@
"script": "Latn"
}
}
}
}