<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sani on Medium]]></title>
        <description><![CDATA[Stories by Sani on Medium]]></description>
        <link>https://medium.com/@aszani?source=rss-8edf5cce889c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4I7NVS80-QmzVI3blv4EJw.jpeg</url>
            <title>Stories by Sani on Medium</title>
            <link>https://medium.com/@aszani?source=rss-8edf5cce889c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:39:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aszani/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A new story as a lecturer: The Irony of AI]]></title>
            <link>https://medium.com/@aszani/a-new-story-as-a-lecturer-the-irony-of-ai-fe5d6d391ff7?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe5d6d391ff7</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[teaching]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Sat, 23 May 2026 10:27:41 GMT</pubDate>
            <atom:updated>2026-05-23T10:27:41.083Z</atom:updated>
            <content:encoded><![CDATA[<p>So, here I am in 2026, working as a young lecturer at one of the universities in my country, Indonesia.</p><p>This campus used to be well-known. Years ago, people were proud to study here. But now, things are changing. The number of students keeps decreasing every year, and the reality is simple: if we cannot attract new students, survival itself becomes uncertain.</p><p>At the same time, the world is moving fast. Almost every university now offers AI-related majors. Artificial Intelligence has become the center of attention, the trend everyone wants to follow. I teach Information Systems, a field that once felt highly relevant and promising. But today, sometimes it feels like everything is being overshadowed by AI.</p><p>And honestly, AI is everywhere now.</p><p>People use it to write articles, generate ideas, complete assignments, create presentations, even produce art and code. Sometimes I wonder what education will look like in the next few years. If knowledge is available instantly, what is the role of a lecturer? What is the value of teaching?</p><p>As lecturers, we are expected to adapt and find solutions. We are told to innovate, attract students, improve learning experiences, and help the university survive. But I keep asking myself: how much can a young lecturer really do?</p><p>I am still new. I do not have much power or influence. Most of the time, discussions only end as arguments between people with different perspectives. Meetings happen, concerns are raised, but real action rarely follows.</p><p>That is the irony.</p><p>Universities talk about transformation, but many are still trapped in old systems. We discuss the future constantly, yet struggle to take the first step toward change.</p><p>Still, despite all of this, I continue teaching.</p><p>Maybe because a small part of me still believes education matters. Not just as a system, but as a human connection. AI can generate answers in seconds, but sometimes students still need something more human: guidance, understanding, encouragement, and someone who believes in them.</p><p>And perhaps, in the middle of all this uncertainty, that is what I am trying to hold onto.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe5d6d391ff7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[There’s No Pause Button for Grief]]></title>
            <link>https://medium.com/@aszani/theres-no-pause-button-for-grief-65ac01b2abc7?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/65ac01b2abc7</guid>
            <category><![CDATA[grief-and-loss]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Fri, 05 Dec 2025 15:00:42 GMT</pubDate>
            <atom:updated>2025-12-05T15:00:42.263Z</atom:updated>
            <content:encoded><![CDATA[<h4>People think the funeral is the hardest part. It isn’t.<br> The hardest part is what happens after when the world moves on, and you realize you can’t.</h4><p>Near 30, I lost my dad. I’m not trying to create drama. I’m just breathing through what life gives me. My faith teaches me that death is always on time. Not a second earlier, not a second later. So when my dad’s time came, I believed it was his destiny. There was nothing I could change, nothing I could fight. Accepting that truth doesn’t make the sadness disappear, but it gives me a quiet place to stand while everything else feels uncertain.</p><p>My father had been sick for a long time, and it was painful to watch. I prayed quietly, “It’s okay if You take him, as long as he doesn’t have to suffer anymore.” When he finally passed away, I thought I was prepared. I didn’t cry. I told myself, “It’s okay. I’ve lived far from him for years. I can continue my life. I can survive this.”</p><p>But grief has its own timing, and the truth arrived quietly.</p><h3>What Happens After the Funeral Ends</h3><p>Right after the funeral, the house was full of guests. I had to meet people, talk, serve, smile a little, stay polite. I didn’t get proper rest. It was exhausting in a way I can’t fully describe. My dad had just passed away, but I couldn’t sit quietly, couldn’t breathe, couldn’t be alone. It felt like I had to perform for everyone, even when inside I was falling apart.</p><p>Three days after the funeral, I returned to the city where I live alone. And it was in that quiet space, without family, without distractions when the truth finally reached me. I started crying every night. Not because of the moment he died, but because of what life feels like without him. The realization that I no longer have a dad slowly settled in, and it hurt in ways I didn’t expect.</p><p>I’m single. I don’t have someone to lean on at the end of the day. People around me think I’m strong, they always have. Even my own family. But inside, I’m fragile. Inside, I feel like a child suddenly standing in a world where one of the pillars of my life is gone. I’m a daughter who suddenly has no father. A woman who cries, then laughs, then cries again, then continues her work because she has no choice.</p><p>The hardest part was realizing that even while crying, I still had to pay bills. I still had to work. Life didn’t pause to let me grieve. Responsibilities kept coming, and I had to face them alone. In that quiet room, my mind went straight into survival mode: I need to work. I need to earn more. I have to keep going.</p><p>It wasn’t strength. It was necessity.</p><h3>When Life Doesn’t Stop for Your Heartbreak</h3><p>This isn’t a dramatic story. It’s just the quiet truth of learning to live with loss. Grief doesn’t need to be loud to be real. Sometimes it shows up when you’re washing dishes, replying to chat, or paying monthly bills with tears on your face.</p><p>I’m learning, slowly, that missing him is okay. Crying is okay. Feeling weak is okay. Because loving someone deeply means grieving them deeply. And even in that pain, there’s a kind of peace, knowing his suffering is over, and his time, in its own way, was right on time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65ac01b2abc7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hardest Part of Being a PM? Dealing with People.]]></title>
            <link>https://medium.easyread.co/the-hardest-part-of-being-a-pm-dealing-with-people-83acb2cd04a6?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/83acb2cd04a6</guid>
            <category><![CDATA[product-manager]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Sat, 08 Feb 2025 03:02:47 GMT</pubDate>
            <atom:updated>2025-12-08T09:34:32.842Z</atom:updated>
            <content:encoded><![CDATA[<p>Three months ago, I transitioned into my new role as a Product Manager. Before this, I was a System Analyst — a role I genuinely enjoyed because I could contribute meaningfully while working alongside my colleagues. But as time passed, office politics came into play, and here I am now, navigating the world of product management.</p><p>I’m doing my best. I want to grow, to be better, to lead effectively. But let me tell you — <strong>working with people is draining. </strong>Some days, I just want to scream. Why are people so rude? Why does everyone love to “cuci tangan” (pass the blame)?</p><p>One of the hardest parts of this role is <strong>arguing with people who have strong egos.</strong> I have to constantly suppress my frustration, control my emotions, and keep my cool — even when I feel like hitting someone. All I want is to create a great product that fits the market and delivers impact. But handling a team? That’s a whole different challenge.</p><p>And working with men who think <strong>logic is everything, empathy is nothing</strong>? Exhausting. Some of them get angry at others just because they’re tired. <strong>Oh, come on.</strong></p><p>But then, somehow, I always find myself forgiving. Because at the end of the day, the work continues.</p><h3>Communication: The Real Challenge</h3><p>The hardest part of being a PM isn’t technical issues — it’s <strong>controlling emotions and dealing with people.</strong> I often find myself wondering: <em>Why doesn’t he understand what I mean? Am I bad at delivering tasks? How do I get people to respect me?</em></p><p>Just because someone has more experience, does that mean they have the right to be rude? I don’t think so.</p><p>This role isn’t just about getting things done. It’s about making the team <strong>more productive without constant conflict. </strong>And that? That’s tough.</p><h3>Learning to Speak Up</h3><p>Honestly, my default reaction has been silence. When things get heated, I just say, “Sorry.” I let it go.</p><p>But then there’s this one person — smarter than me, more experienced, but <strong>always rude.</strong> And the worst part? He actually said, <em>“Getting angry at you is my healing.”</em></p><p>Excuse me? <strong>What kind of excuse is that?</strong> Since when is it okay to use someone else as an emotional punching bag? Intelligence without respect is just arrogance.</p><p>And this made me realize something important: I need to stop apologizing just to keep the peace. I don’t have to match aggression with aggression, but I <strong>do</strong> need to stand my ground.</p><p>So, next time someone crosses the line, I’ll try:</p><ul><li><strong>“I understand you’re frustrated, but let’s keep this professional.”</strong></li><li><strong>“I’m open to feedback, but not to unnecessary rudeness.”</strong></li><li><strong>“If being rude is how you heal, find another method. I’m not here for that.”</strong> (Okay, maybe I won’t say this one out loud — but I’ll definitely think it!).</li></ul><h3>Final Thoughts</h3><p>Being a PM isn’t about being the smartest person in the room. It’s about influencing without authority, balancing different personalities, and keeping the team moving forward.</p><p>So if you’re a fellow PM struggling with the same challenges — <strong>I see you.</strong> It’s not easy, but we’ll figure it out.</p><p>And if you’re one of those people making life harder for your PM… maybe, just maybe, try a little empathy. It won’t kill you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83acb2cd04a6" width="1" height="1" alt=""><hr><p><a href="https://medium.easyread.co/the-hardest-part-of-being-a-pm-dealing-with-people-83acb2cd04a6">The Hardest Part of Being a PM? Dealing with People.</a> was originally published in <a href="https://medium.easyread.co/">Easyread</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Syncing Web Forms with Lark’s Base: A Smooth Data Journey]]></title>
            <link>https://medium.com/@aszani/syncing-web-forms-with-larks-base-a-smooth-data-journey-1589e2538a56?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1589e2538a56</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[lark]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Mon, 19 Feb 2024 14:18:03 GMT</pubDate>
            <atom:updated>2024-02-19T14:18:03.764Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5Kbqb1VSZTxHvxH4" /><figcaption>Photo by <a href="https://unsplash.com/@purzlbaum?utm_source=medium&amp;utm_medium=referral">Claudio Schwarz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In our office, we utilize the cool app ‘<a href="https://www.larksuite.com/en_us">Lark</a>’ for our communication needs stuff — it’s like an all-in-one super app with chat, meetings, documents, and even attendance features. And, you know, we often use this thing called ‘<a href="https://www.larksuite.com/product/base?from=navbar">Base</a>’ for collecting data. In Lark, I can create feedback forms, pretty much like Google Forms. The data from these forms usually goes straight into Base. Easy peasy, right? But, here’s the plot twist — this time, the form is on a web page, coded in a different programming language.</p><p>So, they hit me up asking if I can make the form data go directly into the Lark Base I set up earlier. It’s like having a house (let’s call it House A), and I’ve already planned what goes where in each room. Things can be added or taken out freely, just like folks filling out forms. But, the tricky part is that this form is on another web page (House B) with its own set of rules. It’s like each room has its own key, and I can’t just hand out keys left and right. I need to create a special path for the stuff I want to go into the right cabinet. Enter the API — it’s like the digital version of that path.</p><p>I need to set rules, integrate Lark’s API, and make sure everything’s properly authenticated. The whole key-and-cabinet analogy translates to adding security and validation steps. Through these steps, I can ensure a smooth data flow from the web form to Lark’s Base without breaking any rules or compromising security. I can tweak data formats, run tests, and create documentation for smooth sailing in the future.</p><p>So, it’s not just about connecting two different “houses.” It’s about crafting an efficient and secure system to smoothly collect data from web forms into our work platform.</p><p>Now, how do I create an API to grab data from outside Lark and toss it into the Base already set up?</p><p>Picture the Base like a cabinet in a room in the house. First off, my cabinet has three drawers: Name, Address, and Message. I’m expecting stuff from House B for each drawer, and each item’s got to go into the right one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hJgIXuLQWfJR8IjPI9xjOg.png" /><figcaption>Base Cabinet</figcaption></figure><p>Because Lark is like this fancy house all nicely designed, I can’t just throw a data path anywhere. It would mess up our fancy digs. So, connecting data isn’t as simple as building a random road. So, I log into Lark Developer and make an ‘App’ security thing.I gotta set up security, and I call it ‘Bot’.</p><p>The ‘Bot’ security thing I set up in Lark Developer, I invite it to be a collaborator in that base, so it keeps an eye on every piece of incoming data. As the boss of House A, I can test the bot to see if it gets along with my cabinet. In the Lark Developer page, here’s what I gotta do:</p><p>a. Go to APIs &gt; Docs &gt; Base &gt; Record then choose ‘Create records. Switch the authorization token from the user access to the tenant access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FtuaNaUej5URkPVvZNnOiw.png" /></figure><p>b. Match up path parameters with app_token and table_id. Find these in the <a href="https://open.larksuite.com/document/server-docs/docs/bitable-v1/notification">Base documentation</a>.</p><p>c. In the Request Body, I’ve got to tweak the field names to match the base’s name. Heads up: this is case-sensitive, and the data type has to be a match.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICtPwCdugmZysayWyZwMug.png" /><figcaption>Request Body</figcaption></figure><p>Hit run, see a 200 code, and boom, the data’s in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jf8SLy1C1QsPgEvaQp7uow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i2Jd17us8DQ3eUrwD-pChA.png" /></figure><p>Yeay, data’s in the base. What’s cool about Lark is that the API coding shows up automatically in different languages. So, I just ask House B which language they prefer, and they can use that code as a data pathway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GBLbGCv7dZQuA9JwDRQ8qw.png" /></figure><p>Now, what if I wanna grab data from the Base and show it off at House B? Same deal, but this time I pick the ‘List record’ section and plug in the ‘view id’ in the query parameters tab. When the parameters match, the data shows up right away.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m1CM8G65MgK63HDo46aK0w.png" /></figure><p>So, there you have it — my little adventure using APIs to weave a seamless connection between the outside world and the Base system in Lark. Piece of cake, right?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1589e2538a56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Inside the Role of a Systems Analyst]]></title>
            <link>https://medium.com/@aszani/inside-the-role-of-a-systems-analyst-287e15feafe1?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/287e15feafe1</guid>
            <category><![CDATA[system-analyst]]></category>
            <category><![CDATA[agile-development]]></category>
            <category><![CDATA[task-analysis]]></category>
            <category><![CDATA[software-development-team]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Mon, 29 Jan 2024 16:31:09 GMT</pubDate>
            <atom:updated>2024-02-18T19:43:41.001Z</atom:updated>
            <content:encoded><![CDATA[<p>*Tulisan ini berdasarkan pendapat dan pengalaman pribadi penulis. Beberapa hal yang berasal dari sumber lain akan dijelaskan.</p><p>Ini adalah sedikit pikiran saya tentang tugas seorang System analyst atau IT BA atau business system analyst dimana job desknya ga jauh-jauh dari ‘user requirement’. Berikutnya role ini akan saya sebut menjadi SA.</p><h3>A team of software development</h3><p>Sebelum menjelaskan tentang tugas seorang SA, saya akan jelaskan terlebih dulu sebuah tim pengembangan perangkat lunak. Tim ini dapat dijumpai di startup atau perusahaan IT lainnya. Secara umum tim akan terdiri dari:</p><ul><li>Project Manager (PM) atau Project Owner (PO)</li><li><strong>System Analyst</strong></li><li>UI/UX Designer</li><li>Engineering team (Frontend, Backend, Mobile dan Fullstack developer)</li><li>QA or Tester</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P44Qv8S9WiR2YwQcs44SVg.png" /><figcaption>Tanggung jawab setiap role</figcaption></figure><p>Idealnya sebuah tim akan terdiri dari berbagai role diatas, tapi masih ada beberapa role seperti Tech lead, Technical Writing, DevOps, Tim data dan lainnya yang tidak akan dibahas lebih lanjut pada tulisan ini.</p><h3>The world of System Analyst Task</h3><p>Inti dari tugas seorang sistem analis merupakan identifikasi kebutuhan atau biasa disebut ‘User requirements’. Hal pertama yang harus dilakukan terlebih dahulu adalah:</p><h4>1. Riset</h4><p>Ketika kita butuh sesuatu kita harus memahami bagaimana mendapatkannya. Proses dari mendapatkan pengetahuan dan pemahaman lebih lanjut tentang suatu topik atau masalah tertentu adalah riset. Setiap hal tidak bisa didefinisikan secara langsung. Hal terkecil seperti fitur register atau login butuh riset. Bagaimana alur proses yang terbaik? Data apa saja yang dibutuhkan?</p><blockquote>Seorang SA harus memiliki pikiran <em>‘memecahkan suatu masalah dengan solusi’. </em>Bagaimana caranya? <strong>Riset</strong>.</blockquote><p>Apa hal pertama yang harus kita cari tahu? Jawabannya adalah Bagaimana proses yang sedang berjalan sekarang. Memahami flow sistem lalu menemukan cara bagaimana proses tersebut bisa menjadi lebih efektif.</p><p>Note: Jika kamu tidak memiliki gambaran sistemnya seperti apa, bisa cari tahu tentang kompetitor. Di dunia ini tidak ada hal yang benar-benar baru. Amati, tiru dan modifikasi sesuai requirement kamu adalah prinsip dalam dunia bisnis dan pengembangan produk.</p><h4>2. Product Requirement Document (PRD)</h4><p>Jika report dari programmer adalah coding, maka seorang SA memiliki hasil analisis dalam bentuk PRD. <a href="https://www.productplan.com/glossary/product-requirements-document/">Apa itu PRD?</a> Pengertian dan contoh lainnya juga bisa dibaca <a href="https://www.atlassian.com/agile/product-management/requirements">disini</a>.</p><p>Setelah mendefinisikan user requirements dalam bentuk PRD, tugas SA selanjutnya yaitu:</p><ul><li>Membuat tasks untuk engineering team</li><li>Validasi design UI/UX</li><li>Cek dokumen testing</li><li>Presentasi Hasil</li></ul><h4>Short Story</h4><p>Ketika memulai suatu project pengembangan sistem, seorang PM akan mendefinisikan fitur-fitur yang akan dibangun hingga timeline pengerjaan. Selanjutnya SA akan melakukan analisis terhadap seluruh fitur dari PM, mengidentifikasi user story, membuat diagram alur, wirefrime dan analisis data. Ketika document requirement selesai, maka team design UI/UX mulai mengerjakan design low-fi, backend developer akan menyiapkan environment dan QA atau tester mulai membuat dokumen testing. Frontend developer akan memulai pengerjaan UI Client-side ketika SA selesai melakukan validasi design. Backend developer memberikan endpoint URL untuk komunikasi data antara server side dan client side. Tahap terakhir adalah QA melakukan testing. Hasil dari dokumen testing menjadi kewajiban seorang SA untuk memvalidasi bahwa product sudah layak naik production.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H_-NHg55W95eAL_b5Lf-gg.png" /></figure><h3>How to be a good system analyst</h3><p>Seorang SA harus seperti avatar yang bisa menguasai semua elemen. SA harus bisa memahami maksud dan goal dari client (user), SA harus mengerti design system, cara kerja API, database, harus tau mana yang menjadi tugas para engineers, mana yang baik untuk mempermudah pengembangan dan lain-lain. Tapi seorang avatar <em>aang</em> awalnya memang hanya bisa menguasai satu elemen kan? Iya begitu. Tidak ada yang bisa menguasai semuanya sekaligus, butuh waktu yang panjang. Menurut saya jika ingin sehebat avatar, SA harus menemukan teman seperti katara si pengendali air yang bisa menemani dan mengajarkan elemen air, berteman dengan zuko untuk bisa belajar API. Itulah kenapa diawal saya jelaskan tentang tim. SA tidak bekerja sendirian. You have your mates to help you dan yang terpenting kamu juga harus percaya, rekanmu akan mengerjakan tugasnya dengan baik.</p><h3>How can I find out if this job suits me?</h3><p>Seorang SA berkutat dengan dokumentasi dan komunikasi. Menulis dokumen requirement, berkomunikasi dengan client dan tim internal. Berdasarkan penjabaran diatas, coba pahami apakah tugas tersebut membuat kamu ingin selalu belajar? Silahkan sesuaikan dengan skill yang kamu miliki.</p><p>Hmm, sebenarnya kita tidak akan tahu sebelum kita mencoba. Namun, hal yang saya pelajari adalah ketika kamu nyaman dengan pekerjaan itu lebih dari 2 tahun, maka teruskanlah. Waktumu terlalu pendek untuk beralih job.</p><h3>What is the next journey?</h3><p>Sebagai pekerja kita harus berpikir tentang jenjang karir. Bekerja dengan berkarir. Ada karir horizontal dan ada yang vertikal. Iya, ada yang bisa naik jabatan secara struktural, dan ada yang bisa merambah ke posisi lainnya. Pekerjaan yang penting ‘gaji cukup’ tidak baik untuk masa depan. Seorang SA bisa menjadi apapun. Karir secara horizontal, SA bisa berubah menjadi programmar atau QA. Secara vertikal, jika kamu memulai dari junior, kamu bisa naik pangkat menjadi medium hingga senior system analyst. Selanjutnya kamu bisa naik ke Project Manager, VP, SVP sampai CTO dan memulai sebuah startup atau perusahaan nantinya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcQ474cs06hv_LQmBnkkDA.png" /><figcaption>Carier Path</figcaption></figure><h3>The worst experience</h3><p>Bagian ini sengaja saya letakkan diakhir. Sebagai reminder dan nasehat sebelum mengambil keputusan. Seorang SA sebaiknya menjadi ‘wise person’. Membangun perangkat lunak itu seperti berlayar di lautan. Kita bisa saja tidak sampai tepat waktu di dermaga berikutnya jika ada gelombang atau badai yang tidak terdeteksi. Jika kamu berlayar di lautan <em>agile</em> akan ada ombak besar salah satunya bernama ‘fitur baru urgent’. Beberapa kali di tahap interview user sering ditanyakan <em>‘Jika ada kasus dimana kamu sudah set task sprint lalu tiba-tiba user meminta ada fitur baru yang ternyata akan mengganggu dan membuat proses development menjadi lama, apa yang akan kamu lakukan?’</em></p><p>Jika kita pilih fiturnya dikerjakan diakhir maka user tidak akan setuju, ini urgent loh. Jika memilih gas kerjakan fitur baru, bisa membuat jadwal kerjaan yang sudah diset di awal berantakan. Timmu bakalan misuh-misuh dan merokok lebih banyak.</p><blockquote>So, pick your poison. Don’t be a yes man. You’re in the middle of this shit.</blockquote><p>Demikian, tulisan ini saya tuntaskan. Jika nantinya ada perubahan akan saya update di cerita lainnya. Terima kasih sudah membaca.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=287e15feafe1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey in 2023]]></title>
            <link>https://medium.easyread.co/my-journey-in-2023-01dec1ba4f8f?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/01dec1ba4f8f</guid>
            <category><![CDATA[2023-series]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Mon, 25 Dec 2023 15:52:49 GMT</pubDate>
            <atom:updated>2023-12-25T15:52:49.837Z</atom:updated>
            <content:encoded><![CDATA[<p>I am serious about sharing knowledge and information on my page. I don’t want to express personal feelings, but here I am, trying to be grateful for all the moments in this year. I just want to share that this has been one of my best years, filled with many memories.</p><p>Note: this article could be deleted someday hahaha</p><p>Let’s go back to January. I was so optimistic, making many good plans. I applied for the job I wanted the most, registered to become a government staff, and aimed to graduate in April. However, I didn’t get the job, and Plan A failed.</p><p>In early February, I celebrated my birthday by going to Bogor to meet my parents. It was a special occasion since I hadn’t been home for a few months. My 27th birthday turned out to be my best, with morning walks with my dad, chess games, and sleeping with my mom.</p><p>After that, I received news that my article was rejected, dashing my hopes of graduating in April. Happiness was followed by sadness.</p><p>Then a friend suggested, “How about submitting it to an international conference? Let’s go together.”</p><p>March, was busy with planning to go abroad for the conference, Ramadhan, and other schedules. I missed my best friend, and our communication became strained.</p><p>Finally, April arrived, the month of my crush’s birthday and Eid. I wasn’t home again, but I celebrated Eid with friends whom I loved. Their kindness and Sulawesi food during Eid will be remembered.</p><p>The last week, when I was supposed to be home, I had to go to Thailand — my first time going abroad. I even recorded my run in Bangkok on Strava, feeling a bit like showing off.</p><p>May was dedicated to continuing my thesis. I wondered why I was so delayed and if it would all end up in the library. But, whatever will be, will be. I was ready for the colloquium.</p><p>June became the darkest month. My dark circles became dangerous, and I even went without sleep for more than 24 hours. It was all for the sake of the thesis.</p><p>July was a turning point. I finally finished my thesis, defended it successfully, and became a Master of Computer Science. Now, the question was whether to go back home or stay in this city. I started applying for jobs again.</p><p>August brought the return of someone important, but we didn’t meet. I spent my days applying for jobs, training for running, and searching for race shoes. I also went rafting with my non-biological siblings, which was wonderful. We named ourselves the ‘rafting team,’ and the next month, we became the ‘makan2 group.’</p><p>September was remarkable as I successfully ran a 10K, a miracle for me. After that, many rejections followed, but I stayed focused on the upcoming graduation ceremony in the next month.</p><p>October was the month of my best graduation. Despite some regrets, I was happy to receive many gifts. My beloved friends and the rafting team surprised me with many flowers as a reward.</p><p>November brought early confusion about whether to pack up and go home or start a new life. Okay, I decided to go back home. Before leaving, I hiked Andong, fulfilling my biggest dream. I had never gotten permission from my dad to go to the mountain, but this time, I did it — 1726Mdpl, unforgettable.</p><p>Then I went home, met old friends with their kids, attended my cousin’s wedding, and visited my lovely place in Pekanbaru.</p><p>December, the last month of the year, has been tough. Wrestling with thoughts of insecurity, I don’t know what to do. Approaching 28, I don’t have any clear career ideas or someone to date. Being single in my late twenties is hard. Sometimes, I wonder if I’m problematic, if I’m so ugly that no one wants to date me, or if I’ll still be alone when I turn 30. As I write this, “Drop a Tear — Anthony Lazaro” is playing randomly, fitting my mood.</p><p>So, this has been my journey throughout the year. Many wishes came true. I could holiday with my whole family, graduate with someone I prayed for, move, hike, meet new people, and, at the end of the year, return to this city. It’s midnight now, and I have to work tomorrow. Oh yeah, something to celebrate this year — I have a job, and it’s connected with my thesis. See? Nothing is useless in life; we just have to wait for everything to connect.</p><p>I want to thank all my friends and everyone I met this year. Let’s meet again next year. My playlist ends with ‘Fireflies’, baybay.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01dec1ba4f8f" width="1" height="1" alt=""><hr><p><a href="https://medium.easyread.co/my-journey-in-2023-01dec1ba4f8f">My Journey in 2023</a> was originally published in <a href="https://medium.easyread.co/">Easyread</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It is always good to be a learner]]></title>
            <link>https://medium.com/@aszani/it-is-always-good-to-be-a-learner-3e8ca97c470f?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e8ca97c470f</guid>
            <category><![CDATA[opinion]]></category>
            <category><![CDATA[sharing-stories]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Wed, 15 Feb 2023 16:41:24 GMT</pubDate>
            <atom:updated>2023-02-15T16:41:24.805Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RhQhAx1vQTXalpiz" /><figcaption>Photo by <a href="https://unsplash.com/ko/@fallonmichaeltx?utm_source=medium&amp;utm_medium=referral">Fallon Michael</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As a student, I always ask ‘why I am learning this.’ Is it useful in my life? Will my problems be solved if I learn this? Or can I help people with all of this?</p><p>When I was in junior high school, in math class, it was algebra or something similar (I don’t remember well). I asked my teacher why we were learning math so hard. In our lives, learning basic math like multiplication and division was enough. Then she replied, ‘Math is not just about calculating money, but it will help you to think a lot. The more you can solve math problems, the more you will be trained to think about how to solve other problems. As simple as that.’ So, I just continued to learn.</p><p>In my first semester of college, we learned about calculus. I couldn’t accept why calculus was important to build software. What is the correlation between derivatives and my life? I thought it was not required. I forgot what my teacher said, ‘Math will help you solve problems that you never know you will use it for.’</p><p>Time passed, and a few years later, I became a postgraduate student. I chose computer science and ended up with math again. But, this time, I know why I must learn it all. Computers only understand numbers, or what we always call ‘vectors.’ How to reduce vectors, how to increase memory — it will all be done with math.</p><p>It is always good to figure out at the beginning what the goal of something can be, but sometimes we just have to follow, do our best, and perhaps the answer to ‘why’ will be found, and you will say, ‘Oh, this is why I had to learn it.’</p><p><em>As a student, the belief that ‘nothing is wasted when learning something’ is thoughtful.</em></p><p>That is why I want to become a teacher or a professor (if I have a strong mind). I want my students to know why they are learning something, why it is important, and how it will be useful in their lives. Staying curious and motivated is a blessing.</p><p>Lastly, this article aims to give you random opinions in my mind before going to bed, so I just want to share them. Do you have the same thought as me? Hahaha.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e8ca97c470f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Filtering Data by Keywords Using Semantic Similarity]]></title>
            <link>https://python.plainenglish.io/filtering-data-by-keywords-using-semantic-similarity-3347ea34159b?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3347ea34159b</guid>
            <category><![CDATA[cosine-similarity]]></category>
            <category><![CDATA[keywords]]></category>
            <category><![CDATA[semantic-similarity]]></category>
            <category><![CDATA[jaccard-index]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Tue, 31 Jan 2023 17:21:52 GMT</pubDate>
            <atom:updated>2024-02-19T02:14:55.689Z</atom:updated>
            <content:encoded><![CDATA[<h3>Overview</h3><p><em>Semantic similarity measures</em> how similar two sentences or phrases are in actual meaning. It can be used in various applications, such as text analysis, search engines and others.</p><p>Semantic similarity can also measure similarity between large documents or texts. That can be used to find duplicate or similar documents or group documents on the same topic.</p><p>For example, compare the semantic similarities between the following sentences:</p><p>Sentence 1: “He ate at the restaurant.”</p><p>Sentence 2: “He ate in my house.”</p><p>Although the two sentences have different words (“restaurant” and “house”), it is mean the same thing as ‘someone eating’. Therefore, the two sentences have a high score of semantic similarity.</p><p>If we type something into a search engine, for example, ‘cat food’, the image and all the information about cat food will be displayed. The process shown by the filter is an example of implementing semantic similarity.</p><h3><strong>Case</strong></h3><p>So I was given the task of filtering data according to keywords. There are more than 3000+ journal titles and several keywords. I have to group the titles according to the multiple keywords that have been determined.</p><p>The steps to filter data based on keywords using semantic similarity are as follows:</p><ol><li>Preprocess data by converting it into a numerical representation, such as word embedding or vectors.</li><li>Calculate semantic similarity between keywords and each piece of data using metrics such as Cosine similarity or Jaccard similarity.</li><li>Select the part of the data with a similarity score above a certain threshold.</li><li>Display filtered data</li></ol><h4>Cosine Similarity</h4><p>I use cosine similarity from <em>scikit-learn </em>to calculate the similarity between each text and each keyword. This function accepts 2 arrays as input and returns a similarity score between 0 and 1, where 1 denotes identical, and 0 denotes different vectors. The<em> cosine similarity </em>score is calculated by dividing the dot product of the two vectors by the product of the norm of the two vectors.</p><p><em>CountVectorizer</em> is used to convert text to vector. This function creates a vocabulary of all the words that appear in the document and calculates the frequency of occurrence of each word. The final result is a sparse matrix that shows the frequency of occurrence of each word in each document. The result is the amount of filtered data for each keyword.</p><p>In the beginning, I saved the dataset with a list named ‘data’ and the multiple keywords with a list named ‘keywords’.</p><p>Here is the implementation I did:</p><pre>from sklearn.metrics.pairwise import cosine_similarity<br>from sklearn.feature_extraction.text import CountVectorizer<br><br># Create a CountVectorizer to convert texts to vectors<br>vectorizer = CountVectorizer().fit_transform(data)<br><br># Calculate similarity<br>similarity = cosine_similarity(vectorizer)<br><br># Create a dictionary to store the count of filtered data for each keyword<br>filtered_data_count = {keyword: 0 for keyword in keywords}<br><br>#Define the threshold<br>threshold = 0.5<br><br># Iterate over texts and their similarities<br>for i, text in enumerate(data):<br>    for j, keyword in enumerate(keywords):<br>        if keyword in text and similarity[i][j] &gt;= threshold:<br>            filtered_data_count[keyword] += 1<br><br>print(filtered_data_count)</pre><p>Explanation of that code:</p><ol><li>First import library `cosine_similarity` from `sklearn.metrics.pairwise` and `CountVectorizer` from `sklearn.feature_extraction.text`.</li><li>Create a CountVectorizer object named `vectorizer` to convert the text into a vector.</li><li>Then, calculate similarity using cosine similarity between text vectors created in `vectorizer`, and the results are stored in a variable named `similarity`</li><li>Create a `filtered_data_count`dictionary to store the number of filtered data for each `keywords`</li><li>Iterate through each `data` and `keywords`</li><li>If the keyword is in `data` and the similarity between the text vector and the keyword is greater than or equal to the threshold, the amount of data filtered for the keyword will be added.</li><li>Finally, the filtered data for each keyword will be printed.</li></ol><h4>Jaccard Similarity</h4><p>I use <em>Jaccard distance </em>from <strong>nltk</strong> to calculate the similarity between each text and each keyword after the keyword is sterilized using <em>SnowballStemmer</em> from <strong>nltk</strong>. Here is the implementation I did:</p><pre>import nltk<br>from nltk.metrics.distance import jaccard_distance<br>from nltk.stem import SnowballStemmer<br>from nltk.stem.snowball import SnowballStemmer<br><br>threshold = 0.5<br><br>filtered_jacc = {}<br><br># Create stemmer object<br>factory = StemmerFactory()<br>stemmer = factory.create_stemmer()<br><br>for keyword in keywords:<br>    filtered_jacc[keyword] = []<br>    for item in data:<br>        # Stem the item and keyword<br>        stemmed_item = stemmer.stem(item)<br>        stemmed_keyword = stemmer.stem(keyword)<br>        # Calculate similarity<br>        similarity = 1 - jaccard_distance(set(nltk.word_tokenize(stemmed_item)), set(nltk.word_tokenize(stemmed_keyword)))<br>        if similarity &gt;= threshold: <br>            filtered_jacc[keyword].append(item)<br><br>total_filtered_data = 0<br>for keyword, data in filtered_jacc.items():<br>    print(f&quot;Filtered data for keyword &#39;{keyword}&#39;: {data}&quot;)<br>    print(f&quot;Count of filtered data for keyword &#39;{keyword}&#39;: {len(data)}&quot;)<br>    total_filtered_data += len(data)<br><br>print(f&quot;Total count of filtered data: {total_filtered_data}&quot;)</pre><p>Code explanation:</p><ol><li>First, create a stemmer object using SnowballStemmer from nltk</li><li>Then, for each keyword, create a new entry in the ‘filtered_jacc’ dictionary</li><li>In each iteration, each item in the data will be applied using a stemmer, which means changing words to root words (or “stems”) so they can be compared with keywords that are also implemented with stemmers. The goal is to eliminate tense variations and simplify comparisons between items and keywords.</li><li>Then, the similarity between items and keywords will be calculated using the Jaccard distance.</li><li>If the similarity is greater than or equal to a threshold, the item will be added to the list of keyword entries in the dictionary ‘filtered_jacc’</li><li>After all the items in the data have been checked, there will be several filtered data for each keyword, which can be printed</li></ol><h3>Result</h3><p>In the case above, I have 3000+ journal titles that must be grouped into 45 defined keywords. I determine the threshold value by defining the threshold_similarity variable with an initial value of 0.5. Because no data was successfully filtered on the first attempt, I lowered the threshold value. Here are some of the experiments that I did before:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*3UWl9C2V5-NupaX47mbGrA.png" /><figcaption>Experiments threshold values</figcaption></figure><p>Then, I lowered the threshold value to 0.001, but the results displayed the same, so I stopped the experiment. Based on this case, Jaccard Similarity can group more data than Cosine similarity. Remember that neither is better because the two code methods are different. For better results, you can use preprocessing data text and keywords before filtering to overcome the problem of the occurrence of different words and stem words.</p><p>The ability of similarity metrics to capture semantic relationships between words is highly dependent on the representation used. Representation transforms objects (such as words or documents) into a mathematical form that can compare and measure similarity.</p><h4>Addition</h4><ul><li>Because I use data in ‘Indonesian’, I install the sastrawi library by this code:</li></ul><pre>!pip install Sastrawi</pre><ul><li>Determination of the threshold value is usually based on the experience or preference of the individual. In this case, the similarity threshold value is determined arbitrarily, which means it is chosen without being bound by specific rules or criteria and without a clear and subjective basis. Therefore, the final result of filtering can be different for everyone.</li><li>Choosing the suitable embedding vector representation and determining the similarity threshold can affect the final filtering result. Therefore, it is necessary to pay close attention.</li><li>To understand more about Jaccard and cosine, I recommend the following links:</li></ul><p><a href="https://towardsdatascience.com/overview-of-text-similarity-metrics-3397c4601f50">Overview of Text Similarity Metrics in Python</a></p><ul><li>I also wrote this article in Bahasa version that can be accessed at this following link:</li></ul><p><a href="https://medium.com/@aszanisif/filter-data-sesuai-kata-kunci-menggunakan-similaritas-semantik-c947bef4903a">Filter data sesuai kata kunci menggunakan similaritas semantik</a></p><h3>In Plain English 🚀</h3><p><em>Thank you for being a part of the </em><a href="https://plainenglish.io/"><strong><em>In Plain English</em></strong></a><em> community! Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://twitter.com/inPlainEngHQ"><strong>X</strong></a><strong> | </strong><a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a><strong> | </strong><a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong>YouTube</strong></a><strong> | </strong><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Discord</strong></a><strong> | </strong><a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a></li><li>Visit our other platforms: <a href="https://stackademic.com/"><strong>Stackademic</strong></a><strong> | </strong><a href="https://cofeed.app/"><strong>CoFeed</strong></a><strong> | </strong><a href="https://venturemagazine.net/"><strong>Venture</strong></a><strong> | </strong><a href="https://blog.cubed.run/"><strong>Cubed</strong></a></li><li>More content at <a href="https://plainenglish.io/"><strong>PlainEnglish.io</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3347ea34159b" width="1" height="1" alt=""><hr><p><a href="https://python.plainenglish.io/filtering-data-by-keywords-using-semantic-similarity-3347ea34159b">Filtering Data by Keywords Using Semantic Similarity</a> was originally published in <a href="https://python.plainenglish.io/">Python in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Filter data sesuai kata kunci menggunakan similaritas semantik]]></title>
            <link>https://medium.com/@aszani/filter-data-sesuai-kata-kunci-menggunakan-similaritas-semantik-c947bef4903a?source=rss-8edf5cce889c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c947bef4903a</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[jaccard-distance]]></category>
            <category><![CDATA[cosine-similarity]]></category>
            <category><![CDATA[semantic-similarity]]></category>
            <category><![CDATA[keywords]]></category>
            <dc:creator><![CDATA[Sani]]></dc:creator>
            <pubDate>Mon, 30 Jan 2023 05:58:11 GMT</pubDate>
            <atom:updated>2023-01-30T05:58:11.665Z</atom:updated>
            <content:encoded><![CDATA[<h3>Semantic</h3><p><em>Semantic similarity</em> digunakan untuk mengukur seberapa mirip dua buah kalimat atau frasa dalam hal makna yang sesungguhnya. Ini dapat digunakan dalam berbagai aplikasi, seperti analisis teks, pemahaman mesin, atau mesin pencari dan lainnya. <em>Semantic similarity</em> juga dapat digunakan untuk mengukur kesamaan antara dokumen atau teks yang lebih besar. Ini dapat digunakan untuk menemukan duplikat atau dokumen yang sangat mirip, atau untuk mengelompokkan dokumen berdasarkan topik yang sama.</p><p>Sebagai contoh, perbandingan kemiripan semantik antara kalimat berikut:</p><p>Kalimat 1: “Dia makan di restoran”</p><p>Kalimat 2: “Dia makan bakso”</p><p>Meskipun kedua kalimat tersebut memiliki kata yang berbeda (“restoran” dan “bakso”), maknanya sama yaitu seseorang yang sedang makan. Oleh karena itu, kedua kalimat tersebut dapat dianggap memiliki tingkat kemiripan semantik yang tinggi.</p><p>Jika kita mengetikkan sesuatu di mesin pencari misalnya ‘makanan kucing’ tentu akan ditampilkan gambar dan informasi tentang makanan kucing. Proses filter yang ditampilkan tersebut merupakan contoh penerapan <em>semantic similarity</em>.</p><h3>Studi Kasus</h3><p>Jadi saya diberi tugas untuk melakukan filter data sesuai keyword. Ada 3000+ lebih judul jurnal dan beberapa kata kunci. Saya harus mengelompokkan judul-judul yang sesuai dengan kata kunci yang sudah ditentukan.</p><p>Untuk melakukan filter data berdasarkan kata kunci menggunakan similaritas semantik, langkah-langkahnya adalah sebagai berikut:</p><ol><li>Pra-proses data dengan mengubahnya menjadi representasi numerik, seperti embedding kata atau vektor.</li><li>Hitung similaritas semantik antara kata kunci dan setiap bagian data menggunakan metrik similaritas semantik seperti <em>Cosine similarity</em> atau <em>Jaccard similarity</em>.</li><li>Pilih bagian data dengan skor similaritas di atas ambang batas tertentu.</li><li>Tampilkan data yang sudah difilter</li></ol><h3>Cosine Similarity</h3><p>Saya menggunakan <em>cosine similarity</em> dari <em>scikit-learn</em> untuk menghitung <em>similarity</em> antara setiap teks dan setiap keyword. Fungsi ini menerima 2 array sebagai input dan menghasilkan skor kesamaan antara 0 dan 1, di mana 1 menunjukkan vektor yang identik dan 0 menunjukkan vektor yang tidak sama sama sekali. Skor <em>cosine similarity</em> dihitung dengan membagi dot product dari kedua vektor dengan produk dari norm kedua vektor.</p><p>Menggunakan <em>CountVectorizer</em> untuk mengubah teks menjadi vektor. Fungsi ini membuat <em>vocabulary</em> dari semua kata yang muncul dalam dokumen dan menghitung frekuensi kemunculan masing-masing kata. Hasil akhir adalah sebuah sparse matrix yang menunjukkan frekuensi kemunculan setiap kata dalam setiap dokumen. Hasilnya adalah jumlah data yang disaring untuk setiap keyword.</p><p>Sebelumnya saya menyimpan data judul jurnal dengan list yang bernama ‘data’ dan kata kunci ‘keywords’. Berikut adalah implementasi yang saya lakukan:</p><pre>from sklearn.metrics.pairwise import cosine_similarity from sklearn.feature_extraction.text import CountVectorizer # Create a CountVectorizer to convert texts to vectors vectorizer = CountVectorizer().fit_transform(data) # Calculate similarity similarity = cosine_similarity(vectorizer) # Create a dictionary to store the count of filtered data for each keyword filtered_data_count = {keyword: 0 for keyword in keywords} #Define the threshold threshold = 0.5 # Iterate over texts and their similarities for i, text in enumerate(data): for j, keyword in enumerate(keywords): if keyword in text and similarity[i][j] &gt;= threshold: filtered_data_count[keyword] += 1 print(filtered_data_count)</pre><p>Penjelasan kode diatas:</p><p><em>Originally published at </em><a href="https://aszani.notion.site/Filter-data-sesuai-kata-kunci-menggunakan-similaritas-semantik-22872b439f524bedbf495ebf55a13edb"><em>https://aszani.notion.site</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c947bef4903a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>