Skip to content

Commit

Permalink
initial version setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaahmadi committed Dec 17, 2024
1 parent 07639e2 commit c3a3b27
Show file tree
Hide file tree
Showing 99 changed files with 5,918 additions and 200 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
hidden
75 changes: 75 additions & 0 deletions Atlas.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
layout: post-rtl
title: "ئەتڵەس"
date: 2024-12-03 01:16:54 +0100
categories: jekyll update
lang: ckb
direction: rtl
---

<script src="{{ '/assets/js/dialect-atlas.js' | relative_url }}"></script>


<script>
var MAPS_BASE_URL = '{{ "/assets/maps" | relative_url }}';
// Load GeoJSON data
fetch('{{ "/assets/maps/regions.geojson" | relative_url }}')
.then(response => response.json())
.then(data => {
window.REGIONS_GEOJSON = data;
// Debug log to see feature properties
data.features.forEach(feature => {
console.log('Region properties:', feature.properties);
});
});
</script>

<!-- In your post's header -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>

<!-- Rest of your post content -->

<!-- Atlas Container -->
<div id="dialect-atlas"></div>

<!-- Add necessary styles -->
<style>
.word-selector {
width: 100%;
padding: 10px;
margin-bottom: 20px;
font-size: 16px;
font-family: 'Noto Sans Arabic', sans-serif;
border: 1px solid #ddd;
border-radius: 4px;
}

#map-container {
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
}

body {
margin: 0;
padding: 0;
}
#map {
width: 100%;
height: 100vh;
background: transparent;
}
.leaflet-control-attribution {
font-size: 11px;
padding: 2px 8px;
background-color: rgba(255, 255, 255, 0.8) !important;
}

.city-label { background: none; border: none; }
.word-label div { box-shadow: 1px 1px 3px rgba(0,0,0,0.1); }

</style>

<!-- Include the atlas script -->
<!-- <script src="{{ '/assets/js/dialect-atlas.js' | relative_url }}"></script> -->
11 changes: 11 additions & 0 deletions CORDI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: "بنکەدراوە"
---

<iframe
src="https://huggingface.co/datasets/SinaAhmadi/CORDI/embed/viewer/default/train"
frameborder="0"
width="100%"
height="560px"
></iframe>
648 changes: 648 additions & 0 deletions Dialects.markdown

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
title: Teşî
subtitle: let dialects interweave
email: https://sinaahmadi.github.io
description: "تەشی ماڵپەڕێکی ساکارە بۆ خزمەتکردنی شێوەزارەکانی کوردی کە پێکهاتووە لە ئەتڵەسێکی خنجیلانە بۆ شێوەزارەکانی کوردیی ناوەندی، بنکەدراوەیەک بۆ بەراوردکاریی شێوەزارەکان و کایەیەکی سادە کە بە پشتبەستن بە چەند پرسیارێک سەبارەت بە چۆنیەتیی وتنی هەندێک وشە، شێوەزارەکەت دەستنیشان دەکات."
direction: rtl
lang: ckb

description: >- # this means to ignore newlines until "baseurl:"
description_en: >- # this means to ignore newlines until "baseurl:"
Teşî (meaning 'spindle' in Kurdish) is a simple game that detects your dialect based on a
few questions about how you say certain words. Just as a spindle weaves threads together,
dialects are beautifully interwoven, each contributing to the rich fabric of a language.
Expand All @@ -22,13 +25,17 @@ minima:
- { platform: github, user_url: "https://github.com/sinaahmadi" }
- { platform: twitter, user_url: "https://twitter.com/sina_ahm" }

markdown: kramdown
kramdown:
parse_block_html: true

# Build settings
theme: minima
plugins:
- jekyll-feed


# include: ["_assets", "_includes"]
include: ["assets", "_includes", "_data"]

# Exclude from processing.
# The following items will not be processed, by default.
Expand All @@ -38,7 +45,7 @@ plugins:
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
exclude: ["_posts", "about.markdown"]
exclude: [hidden]
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
Expand Down
155 changes: 155 additions & 0 deletions _data/references.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
ahmadi2022:
author: "Ahmadi"
year: 2022
title: "Your Paper Title"
journal: "Journal Name"
volume: "1"
pages: "123-145"

smith2023:
author: "Smith, J."
year: 2023
title: "Another Paper"
journal: "Another Journal"
volume: "2"
pages: "23-45"

morgan1904:
author: "Jacques Morgan"
title: "Etudes linguistiques: Dialectes kurdes, langues et dialectes du nord de la Perse"
publisher: "E. Leroux"
year: 1904

mackenzie1962I:
author: "D. N. Mackenzie"
title: "Kurdish dialect studies vol.1"
publisher: "Oxford University Press"
year: 1961
page: 82
volumn: I

mackenzie1962II:
author: "D. N. Mackenzie"
title: "Kurdish dialect studies vol.1"
publisher: "Oxford University Press"
year: 1962
page: 82
volumn: II

mukriani1990:
author: "گیو موکریانی"
title: "فەرهەنگی کوردستان"
publisher: "دەزگای چاپ و بڵاوکردنەوەی ئاراس"
year: 1999

xal1960:
author: "شێخ محەمەدی خاڵ"
title: "فەرهەنگی خاڵ"
publisher: "دەزگای چاپ و بڵاوکردنەوەی ئاراس"
year: 1960

jugel2014linguistic:
author: "Thomas Jügel"
title: "On the linguistic history of Kurdish"
booktitle: "Kurdish Studies Archive"
pages: "149--170"
year: 2014
publisher: "Brill"
type: incollection

haig2024introduction:
author: "Haig, Geoffrey and Öpengin, Ergin"
title: "Introduction to Special Issue Kurdish: A critical research overview"
journal: "Kurdish Studies Archive"
pages: "122--148"
year: 2024
publisher: "Brill"
type: article

shwani2001:
author: "ڕەفیق شوانی"
title: "چەند بابەتێکی زمان و ڕێزمانی کوردی"
publisher: "دەزگای چاپ و بڵاوکردنەوەی موکریانی"
year: 2001

hassanpour1992:
author: "Amir Hassanpour"
title: "Nationalism and Language in Kurdistan, 1918-1985"
publisher: "Mellen Research University Press"
year: 1992
address: "San Francisco, CA"
type: book

izady1992:
author: "M. Izady"
title: "The Kurds: A Concise Handbook"
publisher: "Taylor & Francis"
year: 1992
address: "London"
type: book

mackenzie1961origins:
author: "D. N. MacKenzie"
title: "THE ORIGINS OF KURDISH"
journal: "Transactions of the Philological Society"
volume: 60
number: 1
pages: "68--86"
year: 1961
publisher: "Blackwell Publishing Ltd"
address: "Oxford, UK"
type: article

hassanpour2010sorani:
author: "Amir Hassanpour"
title: "شوڤینیسمی سۆرانی و ئه‌فسانه‌کانی"
year: 2010
type: webpage
url: "https://kurdishacademy.org/?page_id=881"
language: ckb

matras2022structural:
author: "Yaron Matras and Geoffrey Haig and Ergin Öpengin"
title: "Structural and Typological Variation in the Dialects of Kurdish"
publisher: "Springer"
year: 2022
type: book

matras2019revisiting:
author: "Yaron Matras"
title: "Revisiting Kurdish dialect geography: Findings from the Manchester database"
journal: "Current issues in Kurdish linguistics"
volume: 1
pages: "225"
year: 2019
publisher: "University of Bamberg Press"
location: "Bamberg"
type: article

opengin2014regional:
author: "Ergin Öpengin and Geoffrey Haig"
title: "Regional variation in Kurmanji: A preliminary classification of dialects"
booktitle: "Kurdish Studies Archive"
pages: "171--212"
year: 2014
publisher: "Brill"
type: incollection

ahmadi2024language:
author: "Sina Ahmadi and Daban Jaff and Md Mahfuz Ibn Alam and Antonios Anastasopoulos"
title: "Language and Speech Technology for Central Kurdish Varieties"
booktitle: "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)"
year: 2024
address: "Torino, Italia"
publisher: "ELRA and ICCL"
pages: "10034--10045"
url: "https://aclanthology.org/2024.lrec-main.877"
type: inproceedings

thackston2006sorani:
author: "Thackston, Wheeler M."
title: "Sorani Kurdish: A Reference Grammar with Selected Readings"
publisher: "Harvard University"
year: 2006
type: book
place: "Cambridge, MA"
Empty file added _includes/atlas-config.html
Empty file.
8 changes: 8 additions & 0 deletions _includes/cite.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{%- if site.data.references -%}
{%- assign ref = site.data.references[include.key] -%}
{%- if ref -%}
<a href="#ref-{{include.key}}" onclick="document.getElementById('ref-{{include.key}}').scrollIntoView();" class="citation">({{ ref.author }}, {{ ref.year }})</a>
{%- else -%}
<span style="color: red;">[Citation not found]</span>
{%- endif -%}
{%- endif -%}
32 changes: 32 additions & 0 deletions _includes/custom-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,35 @@
<link href="https://fonts.googleapis.com/css2?family=Crimson+Text:ital@1&display=swap" rel="stylesheet">



<style>
[data-tooltip] {
color: #2971b5;
border-bottom: 1px dotted #666;
cursor: help;
position: relative;
}

[data-tooltip]:before {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
padding: 5px 10px;
background: #333;
color: white;
font-size: 14px;
border-radius: 4px;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s;
direction: ltr;
}

[data-tooltip]:hover:before {
opacity: 1;
visibility: visible;
}
</style>
8 changes: 4 additions & 4 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
<div class="wrapper">
<div class="footer-col-wrapper" style="display: grid; grid-template-columns: 1fr 2fr; gap: 20px;">
<div class="footer-col" style="min-width: 200px;">
<p class="feed-subscribe">
<!-- <p class="feed-subscribe">
<a href="{{ site.feed.path | default: 'feed.xml' | absolute_url }}">
<svg class="svg-icon orange">
<use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use>
</svg><span>Subscribe</span>
</a>
</p>
</p> -->
{%- if site.author %}
<ul class="contact-list">
{% if site.author.name -%}
<li class="p-name">{{ site.author.name | escape }}</li>
{% endif -%}
{% if site.author.email -%}
<li><a class="u-email" href="{{ site.author.email }}">{{ site.author.email }}</a></li>
<li><a class="u-email" href="mailto:{{ site.author.email }}">email</a></li>
{%- endif %}
</ul>
{%- endif %}
</div>
<div class="footer-col" style="max-width: 800px; text-align: left;">
<div class="footer-col" style="max-width: 800px; text-align: right; direction: rtl; font-family: 'Noto Sans Arabic', sans-serif;">
<p>{{ site.description | escape }}</p>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%}
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
<link rel="stylesheet" href="{{ "/assets/css/post-rtl.css" | relative_url }}">
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
Expand Down
Loading

0 comments on commit c3a3b27

Please sign in to comment.