Reading view

There are new articles available, click to refresh the page.

[当作玩游戏]用 ai 辅助建一个新语音,有什么改进建议?

xbox360:

AI 总结:

模块 内容
元音系统 /a e i o u/
辅音系统 /p b t d k g m n s r l/
双辅音 /pp tt kk mm nn rr ll/
音节结构 CV / CVC ,重音倒数第二音节
平调 无声调,高低变化通过元音长度或叠音表达
叠音机制 词或音节重复 → 强化、延续或数量
发音继承系统 下位概念继承上位词干音素 + 尾音/元音变化表示细化
虚/实系统 Tae = 实界 / Sha = 虚界,通过尾音或元音延长区分
构词规则 尾音扩展、叠音、无限层继承
句法提示 虚实一致,尾音长度和叠音决定语气和语义层级

一些说明:

发音继承系统:

比如石头为 ko ,岩石为 kou ,花岗岩为 kota ,玫瑰花岗岩为 kotara 。下位的发音要继承上位的发音

虚/实系统:

分类 典型例子
实 (Tae) 石头、水、风、电、树、身体、声音
虚 (Sha) 情感、思维、梦、记忆、灵魂

叠音机制:

某些发音要双重发音

使用 espanso + gist 来管理 llm promat

zzerd:

因为 espanso 可以调用 shell 脚本所以约等于一个小号的 raycast 。espanso 只是一个文本扩展器软件,它有个搜索框很方便,我日常使用它来记住一些比较常用的 shell 命令,代码片段,这只是它的特别用法。

1.先决条件安装 gh 并 Auth ,安装 espanso

brew install gh espanso
gh auth login

2.在 espanso 配置目录下新建一个配置文件(~/Library/Application Support/espanso/match/promats.yml)


# how to use this config 
## 1. install gh in your system run gh auth
## 2. set editor in gh  eg: gh config set editor "zed -w"  ps: you can use vscode "code -w  --disable-extensions" 
## 3. $: echo hello | run gh gist create  -d "llm prompt"
## 4. get your and change your gist id $: gh gist ls --filter prompt  
global_vars:
  - name: gist_id 
    type: echo
    params:
      echo: b94d3e90a752b849757d2a078fbf293a
      #echo: f3171d580fab61b8a3ec76d9514863f6  # test
  # 1. Get the gist list
  - name: gist_list
    type: shell 
    params:
      cmd: "gh gist view {{gist_id}} --files"

  # 2. Format the list for the choice menu
  - name: gist_options
    type: shell 
    params:
      cmd: |
          echo "{{gist_list}}" | while read -r line; do
            echo "$line"
          done

matches:
  - trigger: ":prompt-view"
    label: "Select LLM prompt from GitHub Gist"
    replace: "{{prompt}}"
    search_terms:
      - prompt
      - llm
      - ai
    vars:
      # 3. Show the choice menu to the user
      - name: gist_choice
        type: choice
        params:
          values: "{{gist_options}}"

      # 4. Get the content of the chosen gist
      - name: prompt
        type: shell 
        params:
          cmd:  gh gist view "{{gist_id}}" -r -f "{{gist_choice}}"

  - trigger: ":prompt-edit"
    label: "edit LLM prompt to GitHub Gist"
    replace: "{{output}}"
    search_terms:
      - prompt
      - llm
      - ai
      - edit 
    vars:
      # 3. Show the choice menu to the user
      - name: gist_choice
        type: choice
        params:
          values: "{{gist_options}}"

      # 4. Get the content of the chosen gist
      - name: output 
        type: shell 
        params:
          cmd:  gh gist edit "{{gist_id}}"  -f "{{gist_choice}}"
  - trigger: ":prompt-add"
    label: "add LLM prompt to GitHub Gist"
    replace: "{{output}}"
    search_terms:
      - prompt
      - llm
      - ai
      - add
    vars:
      - name: file 
        type: form
        params:
          layout: | 
            请输入文件名[[name]] 示例: claude_user#role#coding#claude
            请输入 prompt 内容:
            [[content]]
          fields:
            content:
              multiline: true
      - name: carete_file_in_tmp 
        type: shell
        params:
          cmd: echo "{{file.content}}" > /tmp/prompt
      - name: add 
        type: shell 
        params:
          cmd:   gh gist edit "{{gist_id}}"  -a  "{{file.name}}"  /tmp/prompt
      - name: output
        type: shell 
        params: 
          cmd: gh gist view "{{gist_id}}" --files | grep "{{file.name}}" && echo "{{file.name}} create faild"  || echo "file {{file.name}} create success" 
          trim: false
            
  - trigger: ":prompt-del"
    label: "del LLM prompt for GitHub Gist"
    replace: "{{output}}"
    search_terms:
      - prompt
      - llm
      - ai
      - del 
    vars:
      # 3. Show the choice menu to the user
      - name: gist_choice
        type: choice
        params:
          values: "{{gist_options}}"

      # 4. Get the content of the chosen gist
      - name: delete 
        type: shell 
        params:
          cmd:  gh gist edit "{{gist_id}}"  -r "{{gist_choice}}"
      - name: output
        type: shell 
        params: 
          cmd: gh gist view "{{gist_id}}" --files | grep "{{gist_choice}}" && echo "{{gist_choice}} is delete" || echo "file {{gist_choice}} is exist" 
          trim: false


3.修改 gist_id 为你自己的 gist id.文件名最好能能清晰的看出这个 promat 是干什么的比如#coding#unix_sytle

4.其实这个配置文件只是能用,我用的并不是很多所以没有加缓存。也可以在本地把 gist clone 下来这样会快一些,在 cde 的时候同步就行,改下 shell 命令的事很简单。

为什么使用 espanso 不写一个 raycast 就是因为这个搞起来速度快,不超过 20 分钟就搞好了改起来也快,raycast 搞这个有点费事。

我们真的需要一个「发现脚本的脚本」

Tiberisino:

Greasy Fork 和 Chrome 商店的推荐系统真的过于难用(也可以说基本没有) 想象一下如果能像抖音那样做推荐 各种网站的效率能提高多少!

我最近一个个网站试脚本,才发现很多人根本不知道某些网站已经有超强的脚本功能(比如某站竟然能解锁 4K...我也是最近才知道 但是别人已经用了大半年了 比如本站大佬开发的 链接助手 一劳永逸的解决了我每个论坛都得从头写默认新标签页打开帖子脚本的困境 实际上发布会很久了 但我也是某天刷论坛看到有人推荐才知道有这么好用东西)。

问题是现在的筛选机制几乎没法用: 就拿油猴来说

按安装量排 → 一堆上古脚本,早没人维护了的

按发布时间排 → 大量新手练手作根本没什么意义

想筛出「最近 3 个月有更新 + 安装量前 10 」的脚本?对不起 做不到

想看「最近一周新增安装量最多」的脚本? 那还是做不到

连多条件筛选都不支持,比如“适用于某网站 + 今日下载量排行 + 总安装了 100 以上”,完全做不到

Chrome 商店更糟,连模糊发现都不行,只能按名字硬搜 这导致很多小众但高质量的扩展几乎没人知道

这其实也可以变成一个自媒体方向: 每天评测常用网站的前十脚本、前十插件、新发布推荐之类 我自己肯定会天天看。

只是我不适合做这种内容,我的性格很烂 是全世界最多的 intp 乐趣来自独立探索,不是分享

我们太需要一个能发现工具的工具了。

如果有大佬写个给 Greasy Fork / Chrome 商店加多重筛选和推荐算法的脚本,我立刻感谢安装

❌