├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── build └── .gitkeep ├── dict └── web+db_press.yml ├── lib └── textlint-rule-web-plus-db.js ├── package.json └── test └── textlint-rule-web-plus-db-test.js /.gitignore: -------------------------------------------------------------------------------- 1 | ### https://raw.github.com/github/gitignore/608690d6b9a78c2a003affc792e49a84905b3118/Node.gitignore 2 | 3 | # Logs 4 | logs 5 | *.log 6 | 7 | # Runtime data 8 | pids 9 | *.pid 10 | *.seed 11 | 12 | # Directory for instrumented libs generated by jscoverage/JSCover 13 | lib-cov 14 | 15 | # Coverage directory used by tools like istanbul 16 | coverage 17 | 18 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 19 | .grunt 20 | 21 | # node-waf configuration 22 | .lock-wscript 23 | 24 | # Compiled binary addons (http://nodejs.org/api/addons.html) 25 | build/Release 26 | 27 | # Dependency directory 28 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- 29 | node_modules 30 | 31 | # Debug log from npm 32 | npm-debug.log 33 | 34 | 35 | ### https://raw.github.com/github/gitignore/608690d6b9a78c2a003affc792e49a84905b3118/Global/JetBrains.gitignore 36 | 37 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm 38 | 39 | *.iml 40 | 41 | ## Directory-based project format: 42 | .idea/ 43 | # if you remove the above rule, at least ignore the following: 44 | 45 | # User-specific stuff: 46 | # .idea/workspace.xml 47 | # .idea/tasks.xml 48 | # .idea/dictionaries 49 | 50 | # Sensitive or high-churn files: 51 | # .idea/dataSources.ids 52 | # .idea/dataSources.xml 53 | # .idea/sqlDataSources.xml 54 | # .idea/dynamic.xml 55 | # .idea/uiDesigner.xml 56 | 57 | # Gradle: 58 | # .idea/gradle.xml 59 | # .idea/libraries 60 | 61 | # Mongo Explorer plugin: 62 | # .idea/mongoSettings.xml 63 | 64 | ## File-based project format: 65 | *.ipr 66 | *.iws 67 | 68 | ## Plugin-specific files: 69 | 70 | # IntelliJ 71 | out/ 72 | 73 | # mpeltonen/sbt-idea plugin 74 | .idea_modules/ 75 | 76 | # JIRA plugin 77 | atlassian-ide-plugin.xml 78 | 79 | # Crashlytics plugin (for Android Studio and IntelliJ) 80 | com_crashlytics_export_strings.xml 81 | crashlytics.properties 82 | crashlytics-build.properties 83 | 84 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - stable 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 azu 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # textlint-rule-web-plus-db [![Build Status](https://travis-ci.org/azu/textlint-rule-web-plus-db.svg?branch=master)](https://travis-ci.org/azu/textlint-rule-web-plus-db) 2 | 3 | ---- 4 | 5 | **DEPRECATED**: [textlint-rule-prh](https://github.com/textlint-rule/textlint-rule-prh "textlint-rule-prh") + のルールファイルを使うことを推奨します。 6 | 7 | ---- 8 | 9 | [inao/WEB+DB PRESS用語統一ルール](https://gist.github.com/inao/f55e8232e150aee918b9 "inao/WEB+DB PRESS用語統一ルール") for [textlint](https://github.com/textlint/textlint "textlint") 10 | 11 | できる限りWEB+DB PRESS用語統一ルールを厳守することを目的としています。 12 | 13 | ## Installation 14 | 15 | npm install textlint-rule-web-plus-db 16 | 17 | and install [textlint](https://github.com/textlint/textlint "textlint") either locally or globally. 18 | 19 | ## Usage 20 | 21 | Via CLI 22 | 23 | $ npm install textlint textlint-rule-web-plus-db -g 24 | $ textlint --rule web-plus-db README.md 25 | 26 | Via `.textlintrc` 27 | 28 | { 29 | "rules": { 30 | "web-plus-db": true 31 | } 32 | } 33 | 34 | ## Similar rules 35 | 36 | 目的が類似するルール 37 | 38 | - [azu/textlint-rule-prh](https://github.com/azu/textlint-rule-prh) 39 | - 自分で用意した辞書で表記揺れを検出するためのルール 40 | - [azu/textlint-rule-spellcheck-tech-word](https://github.com/azu/textlint-rule-spellcheck-tech-word) 41 | - WEB+DB PRESS用語統一を一部含んでいるルール 42 | - textlint-rule-web-plus-dbとは重複したルールが多いため併用は非推奨(二重にエラーがでます) 43 | 44 | ## Tests 45 | 46 | npm test 47 | 48 | ## Contributing 49 | 50 | 1. Fork it! 51 | 2. Create your feature branch: `git checkout -b my-new-feature` 52 | 3. Commit your changes: `git commit -am 'Add some feature'` 53 | 4. Push to the branch: `git push origin my-new-feature` 54 | 5. Submit a pull request :D 55 | 56 | ## License 57 | 58 | MIT 59 | 60 | Thanks to [inao/WEB+DB PRESS用語統一ルール](https://gist.github.com/inao/f55e8232e150aee918b9 "inao/WEB+DB PRESS用語統一ルール"). 61 | -------------------------------------------------------------------------------- /build/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/azu/textlint-rule-web-plus-db/1546cea9d349aded3ebe0a8f9345a22489facf9b/build/.gitkeep -------------------------------------------------------------------------------- /dict/web+db_press.yml: -------------------------------------------------------------------------------- 1 | # WEB+DB PRESS編集部で使っている用語統一ファイルの専門用語部分 2 | # https://gist.github.com/inao/f55e8232e150aee918b9 3 | # 一部、組版向けの記法は取り除いてる 4 | # forkを含むもの => https://github.com/azu/technical-word-rules 5 | version: 1 6 | rules: 7 | - expected: Cookie 8 | pattern: /クッキー|\bCOOKIE\b|\bcookie\b/ 9 | 10 | - expected: WebSocket 11 | pattern: /\bWeb Socket\b/ 12 | 13 | - expected: Web$1 14 | pattern: 15 | - /WEB([^(\+DB)])/ 16 | specs: 17 | - from: WEBサイト 18 | to : Webサイト 19 | - from: WEBでは 20 | to : Webでは 21 | - from: これはWEB+DBなのでセーフ 22 | to : これはWEB+DBなのでセーフ 23 | 24 | - expected: $1Web$2 25 | pattern: /(?:([^\/])ウェッブ)|(?:ウェッブ([^\+]))/ 26 | 27 | - expected: O/Rマッ 28 | pattern: /ORマッ|O-Rマッ/ 29 | specs: 30 | - from: "ORマッパ" 31 | to: "O/Rマッパ" 32 | 33 | - expected: O/Rマッパ 34 | pattern: /O\/Rマッパー|\bORM\b/ 35 | 36 | - expected: アイデア 37 | pattern: /アィディア|アイディア|アィディア|アィデア/ 38 | 39 | - expected: アスタリスク 40 | pattern: アステリスク 41 | 42 | - expected: アーキテクチャ 43 | pattern: /アーキテクチャー|アーキティクチャ/ 44 | 45 | - expected: アクティビティ 46 | pattern: /\bActivity\b|アクティビティー/ 47 | 48 | - expected: アダプタ 49 | pattern: アダプター 50 | 51 | - expected: アノテーション 52 | pattern: アノーテーション 53 | 54 | - expected: アプレット 55 | pattern: /\bApplet\b/ 56 | 57 | - expected: アニメータ 58 | pattern: アニメーター 59 | 60 | - expected: アンダースコア 61 | pattern: アンダーバー 62 | 63 | - expected: インストーラ 64 | pattern: インストーラー 65 | 66 | - expected: インスパイア 67 | pattern: インスパイヤ 68 | 69 | - expected: インタフェース 70 | pattern: /インタフェイス|インターフェイス|インターフェース|インターフェィス/ 71 | 72 | - expected: インタプリタ 73 | pattern: /インタープリタ|インタプリター|インタープリター/ 74 | 75 | - expected: インデックス 76 | pattern: インデクス 77 | 78 | - expected: インテント 79 | pattern: /\bIntent\b/ 80 | 81 | - expected: ウィジェット 82 | pattern: /\bWidget\b|\bwidget\b/ 83 | 84 | - expected: ウィルス 85 | pattern: ウイルス 86 | 87 | - expected: ウィンドウ 88 | pattern: ウインドウ 89 | 90 | # ハードウェア、ソフトウェアなど 91 | - expected: ウェア 92 | pattern: ウエア 93 | 94 | - expected: エディタ 95 | pattern: エディター 96 | 97 | - expected: エミッタ 98 | pattern: エミッター 99 | 100 | - expected: エンコーダ 101 | pattern: エンコーダー 102 | 103 | - expected: デコーダ 104 | pattern: デコーダー 105 | 106 | - expected: エミュレータ 107 | pattern: エミュレーター 108 | 109 | - expected: エンティティ 110 | pattern: /\bEntity\b|\bentity\b|エンティティー/ 111 | 112 | - expected: エントリ 113 | pattern: エントリー 114 | 115 | - expected: オプション 116 | pattern: オブション 117 | 118 | - expected: カウンタ 119 | pattern: カウンター 120 | 121 | - expected: ガベージ 122 | pattern: /ガベージ・|ガーベジ|ガーベジ・|ガーベージ|ガーベージ・|ガーベッジ|ガーベッジ・/ 123 | 124 | - expected: カテゴリ 125 | pattern: カテゴリー 126 | 127 | - expected: キャラクタ 128 | pattern: キャラクター 129 | 130 | - expected: $1キャッシュ$2 131 | pattern: /(?:([^a-zA-Z\s\-])\bcache)|(?:cache\b([^a-zA-Z\s\-]))/ 132 | 133 | - expected: $1キャッシュ$2 134 | pattern: /(?:([^a-zA-Z\s\-])\bCache)|(?:Cache\b([^a-zA-Z\s\-]))/ 135 | 136 | - expected: クエリ文字列 137 | pattern: /\bQueryString\b|\bQuery String\b|クエリストリング|クエリーストリング/ 138 | 139 | - expected: クエリ 140 | pattern: クエリー 141 | 142 | - expected: クライアント/サーバ 143 | pattern: /クライアント\/サーバ|クライアント\/サーバー|クライアント・サーバ|クライアント・サーバー|クライアントサーバ|クライアントサーバー/ 144 | 145 | - expected: クラスタ 146 | pattern: クラスター 147 | 148 | - expected: グラウンド 149 | pattern: グランド 150 | 151 | - expected: クロージャ 152 | pattern: クロージャー 153 | 154 | - expected: クローラ 155 | pattern: クローラー 156 | 157 | - expected: ゲッタ 158 | pattern: ゲッター 159 | 160 | - expected: コピー&ペースト 161 | pattern: /コピー&ペースト|コピペ|コピーアンドペースト/ 162 | 163 | - expected: コミッタ 164 | pattern: コミッター 165 | 166 | - expected: コミュニ 167 | pattern: コミニュ 168 | 169 | - expected: コンストラクタ 170 | pattern: コンストラクター 171 | 172 | - expected: コンテキスト 173 | pattern: コンテクスト 174 | 175 | - expected: コンテントプロバイダ 176 | pattern: /\bContent provider\b/ 177 | 178 | - expected: コンテナ 179 | pattern: コンテナー 180 | 181 | - expected: コンピュータ 182 | pattern: コンピューター 183 | 184 | - expected: コントローラ 185 | pattern: コントローラー 186 | 187 | - expected: サーバ 188 | pattern: サーバー 189 | 190 | - expected: サーブレット 191 | pattern: /\bServlet\b|\bSERVLET\b/ 192 | 193 | - expected: サーブレット/JSP 194 | pattern: /サーブレット/JSP|サーブレット&JSP|サーブレット&JSP/ 195 | 196 | - expected: ジェネレータ 197 | pattern: ジェネレーター 198 | 199 | - expected: ジェネレーティブ 200 | pattern: ジェネレイティブ 201 | 202 | - expected: ジョブズ 203 | pattern: ジョブス 204 | 205 | - expected: ジオタグ 206 | pattern: /\bGeotag\b|\bgeotag\b/ 207 | 208 | - expected: シミュレー 209 | pattern: シュミレー 210 | 211 | - expected: スカラ 212 | pattern: スカラー 213 | 214 | - expected: スタンドアローン 215 | pattern: スタンドアロン 216 | 217 | - expected: ストアド 218 | pattern: ストアード 219 | 220 | - expected: ストレージ 221 | pattern: /ストレッジ|ストレジ/ 222 | 223 | - expected: セキュリティ 224 | pattern: セキュリティー 225 | 226 | - expected: セッション 227 | pattern: /\bsession\b|\bSession\b/ 228 | 229 | - expected: セッタ 230 | pattern: セッター 231 | 232 | - expected: セレクタ 233 | pattern: セレクター 234 | 235 | - expected: $1ソフトウェア 236 | pattern: /([^経])ソフトウエア/ 237 | 238 | - expected: ダイアグラム 239 | pattern: ダイヤグラム 240 | 241 | - expected: タイムスタンプ 242 | pattern: /\btimestamp\b|\bTimestamp\b/ 243 | 244 | - expected: ツイート 245 | pattern: /\btweet\b|\bTweet\b|ツィート/ 246 | 247 | - expected: ツリーオブジェクト 248 | pattern: ツリー・オブジェクト 249 | 250 | - expected: ツリーエントリ 251 | pattern: ツリー・エントリ 252 | 253 | - expected: ディレクター 254 | pattern: /ディレクタ(?!ー)/ 255 | specs: 256 | - from: ディレクタ 257 | to: ディレクター 258 | - from: ディレクター 259 | to: ディレクター 260 | 261 | - expected: データサービス 262 | pattern: /\bData Services\b/ 263 | 264 | - expected: データ同期 265 | pattern: /\bData Sync\b/ 266 | 267 | - expected: チェイン 268 | pattern: チェーン 269 | 270 | - expected: ディスク 271 | pattern: /\bDisk\b/ 272 | 273 | - expected: ディスパッチャ 274 | pattern: ディスパッチャー 275 | 276 | - expected: ディスプレイ 277 | pattern: ディスプレー 278 | 279 | - expected: ディレクトリ 280 | pattern: ディレクトリー 281 | 282 | - expected: テクノロジ 283 | pattern: テクノロジー 284 | 285 | - expected: デザイナ 286 | pattern: デザイナー 287 | 288 | - expected: デバッグ 289 | pattern: デバック 290 | 291 | - expected: デフォルト 292 | pattern: /既定|ディフォルト|デフォールト/ 293 | 294 | # 英語的には正しくないかもだけど多くの場合はこっちに 295 | - expected: デプロイ 296 | pattern: デプロイメント 297 | 298 | - expected: デベロッパ 299 | pattern: /ディベロッパー|ディベロッパ|デベロッパー|ディヴェロッパ/ 300 | 301 | - expected: デリバリ 302 | pattern: デリバリー 303 | 304 | # 英語的には正しくないかもだけど多くの場合はこっちに 305 | - expected: ドキュメント 306 | pattern: ドキュメンテーション 307 | 308 | - expected: ドライバ 309 | pattern: ドライバー 310 | 311 | - expected: ドラッグ&ドロップ 312 | pattern: /ドラッグ・アンド・ドロップ|ドラッグアンドドロップ|ドラッグ&ドロップ/ 313 | 314 | - expected: ハイパーリンク 315 | pattern: ハイパー・リンク 316 | 317 | - expected: パーサ 318 | pattern: /パーサー|パーザー|パーザ/ 319 | 320 | - expected: パーマリンク 321 | pattern: /\bPermalink\b|\bpermalink\b|\bpermanent link\b|パーマネントリンク/ 322 | 323 | - expected: バッファ 324 | pattern: バッファー 325 | 326 | - expected: $1パス 327 | pattern: /([^\w\s])\bpath\b|([^\w\s])\bPath\b/ 328 | 329 | - expected: パターン 330 | pattern: パタン 331 | 332 | - expected: ハッシュ 333 | pattern: /\bhash\b|\bHash\b/ 334 | 335 | - expected: バラ 336 | pattern: 薔薇 337 | 338 | - expected: バラエティ 339 | pattern: バラエティー 340 | 341 | - expected: パラメータ 342 | pattern: /パラメタ|パラメーター/ 343 | 344 | - expected: バランサ 345 | pattern: バランサー 346 | 347 | - expected: ハンドラ 348 | pattern: ハンドラー 349 | 350 | - expected: ヒット率 351 | pattern: hit率 352 | 353 | - expected: ファイラ 354 | pattern: ファイラー 355 | 356 | - expected: ファクトリ 357 | pattern: ファクトリー 358 | 359 | - expected: フィーチャーフォン 360 | pattern: フィーチャフォン 361 | 362 | # ★Webブラウザ★WEBブラウザー★ 363 | - expected: ブラウザ 364 | pattern: /Webブラウザー?|WEBブラウザー?/ 365 | 366 | - expected: ブラウザ 367 | pattern: ブラウザー 368 | 369 | - expected: プライマリ 370 | pattern: プライマリー 371 | 372 | - expected: プラットフォーム 373 | pattern: プラットホーム 374 | 375 | - expected: プレフィックス 376 | pattern: /プレフィクス|プリフィックス/ 377 | 378 | # ゲームを遊ぶ人などの場合 379 | - expected: プレイヤー 380 | pattern: プレーヤ 381 | 382 | # CDプレーヤなどの場合 383 | - expected: プレーヤ 384 | pattern: プレーヤー 385 | 386 | - expected: ブレーク 387 | pattern: ブレイク 388 | 389 | # ☆ロールプレイング☆ 390 | - expected: プレーン$1 391 | pattern: /プレイン([^グ])/ 392 | 393 | - expected: プロパティ 394 | pattern: プロパティー 395 | 396 | # ヘビーユーザなどの場合 397 | - expected: ヘビー 398 | pattern: ヘヴィ 399 | 400 | - expected: レビュア 401 | pattern: /レビュアー|レビュワー|レビュワ|レビューアー|レビューア|レビューワー|レビューワ/ 402 | 403 | - expected: ビューア 404 | pattern: /ビューアー|ビューワー|ビューワ/ 405 | 406 | - expected: ファイアウォール 407 | pattern: /ファイアーウォール|ファイヤーウォール|ファイヤウォール|ファイヤーウオール/ 408 | 409 | - expected: フィルタ 410 | pattern: フィルター 411 | 412 | - expected: フィクスチャ 413 | pattern: フィクスチャー 414 | 415 | - expected: フェイルオーバー 416 | pattern: /フェイルオーバ(?!ー)|フェールオーバー|フェールオーバ/ 417 | specs: 418 | - from: フェイルオーバ 419 | to: フェイルオーバー 420 | - from: フェイルオーバー 421 | to: フェイルオーバー 422 | 423 | - expected: フェーズ 424 | pattern: フェイズ 425 | 426 | - expected: フッタ 427 | pattern: /フッター|フッダ/ 428 | 429 | - expected: プロキシ 430 | pattern: /プロクシ|プロクシー|プロキシー/ 431 | 432 | - expected: $1ブログ$2 433 | pattern: /(?:([^\/])\bblog)|(?:blog\b([^\/]))/ 434 | 435 | - expected: $1ブログ$2 436 | pattern: /(?:([^\/])\bBlog)|(?:Blog\b([^\/]))/ 437 | 438 | - expected: プログラマ 439 | pattern: プログラマー 440 | 441 | - expected: プロシージャ 442 | pattern: プロシージャー 443 | 444 | - expected: ブロードキャストレシーバ 445 | pattern: /\bBroadcast receiver\b/ 446 | 447 | - expected: プロバイダ 448 | pattern: プロバイダー 449 | 450 | - expected: ベンダー 451 | pattern: /ベンダ(?!ー)/ 452 | specs: 453 | - from: ベンダ 454 | to: ベンダー 455 | - from: ベンダー 456 | to: ベンダー 457 | 458 | - expected: ヘッダ 459 | pattern: /ヘッダー|ヘッタ|ヘッター/ 460 | 461 | - expected: ベクタ 462 | pattern: ベクター 463 | 464 | - expected: ページャ 465 | pattern: ページャー 466 | 467 | - expected: ポインタ 468 | pattern: ポインター 469 | 470 | - expected: ポリモフィズム 471 | pattern: /ポリモルフィズム|ポリモーフィズム|ポルモルフィズム/ 472 | 473 | - expected: マトリックス 474 | pattern: マトリクス 475 | 476 | - expected: マッパ 477 | pattern: /マッピングツール|マッパー/ 478 | 479 | - expected: マネジメント 480 | pattern: マネージメント 481 | 482 | - expected: メーカー 483 | pattern: /メーカ(?!ー)/ 484 | specs: 485 | - from: メーカ 486 | to: メーカー 487 | - from: メーカー 488 | to: メーカー 489 | 490 | - expected: メーリングリスト 491 | pattern: /\bML\b/ 492 | 493 | - expected: メタファ 494 | pattern: メタファー 495 | 496 | - expected: メモリ 497 | pattern: メモリー 498 | 499 | - expected: メンテナンス 500 | pattern: メインテナンス 501 | 502 | - expected: メンテナ 503 | pattern: メンテナー 504 | 505 | # 人間の意味では「メンバー」、変数などは「メンバ」 506 | - expected: メンバー$1 507 | pattern: /メンバ([^ー])/ 508 | 509 | # 人間の意味では「リーダー」、readerの意味では「リーダ」 510 | - expected: リーダー$1 511 | pattern: /リーダ([^ー])/ 512 | 513 | - expected: レジューム 514 | pattern: リジューム 515 | 516 | - expected: ユーザ 517 | pattern: ユーザー 518 | 519 | - expected: ユーティリティ 520 | pattern: ユーティリティー 521 | 522 | # 単体テストはケースバイケース 523 | - expected: ユニットテスト 524 | pattern: /Unitテスト|単体テスト/ 525 | 526 | - expected: ライブラリ 527 | pattern: ライブラリー 528 | 529 | - expected: ラッパ 530 | pattern: ラッパー 531 | 532 | # デグレは英語圏では使わない by Jenkins川口さん 533 | - expected: リグレッション 534 | pattern: /デグレード|デグレ/ 535 | 536 | - expected: リスナ 537 | pattern: リスナー 538 | 539 | - expected: リバースプロキシ 540 | pattern: /\bReverse Proxy\b/ 541 | 542 | - expected: リファラ 543 | pattern: リファラー 544 | 545 | - expected: リポジトリ 546 | pattern: /リポジトリー|レポジトリ|レポジトリー/ 547 | 548 | - expected: ルータ 549 | pattern: ルーター 550 | 551 | - expected: レジストリ 552 | pattern: レジストリー 553 | 554 | - expected: レイテンシ 555 | pattern: レイテンシー 556 | 557 | - expected: ローダ 558 | pattern: ローダー 559 | 560 | - expected: ワーカ 561 | pattern: ワーカー 562 | 563 | - expected: ワンタイムURL 564 | pattern: /\bOnetime URL\b/ 565 | 566 | - expected: クアッドコアCPU 567 | pattern: /\bQuad Core CPU\b/ 568 | 569 | - expected: クアッドコア 570 | pattern: /クァッドコア|\bQuad Core\b|クァッドCore|Quadコア/ 571 | 572 | - expected: デュアルコアCPU 573 | pattern: /\bDual Core CPU\b/ 574 | 575 | - expected: デュアルコア 576 | pattern: /\bDual Core\b|デュアルCore|Dualコア/ 577 | 578 | # 人間の意味では「マスター」 579 | - expected: マスタ$1 580 | pattern: /マスター([^.])/ 581 | 582 | - expected: マスタ/スレーブ 583 | pattern: マスタ・スレーブ 584 | 585 | - expected: バックアップ$1 586 | pattern: /\bBackup\b([^.])/ 587 | 588 | - expected: スレーブ$1 589 | pattern: /スレイブ([^.])|\bSlave\b([^.])/ 590 | 591 | - expected: 記述子 592 | pattern: ディスクリプタ 593 | 594 | # ケースバイケース。XML系ファイルの場合、要素=エレメント(=タグ名)、属性=アトリビュート 595 | - expected: 属性 596 | pattern: アトリビュート 597 | 598 | - expected: 要素 599 | pattern: エレメント 600 | 601 | - expected: ActionController 602 | pattern: /\bAction Controller\b/ 603 | 604 | - expected: ActionMailer 605 | pattern: /\bAction Mailer\b/ 606 | 607 | - expected: ActionPack 608 | pattern: /\bAction Pack\b/ 609 | 610 | - expected: ActionScript 611 | pattern: /\bAction Script\b|アクションスクリプト/ 612 | 613 | # ★ActionScript2★ 614 | - expected: ActionScript $1 615 | pattern: /ActionScript([0-9])/ 616 | 617 | - expected: ActionScript Virtual Machine 618 | pattern: /\bActionScriptVirtualMachine\b|\bActionScript VirtualMachine\b/ 619 | 620 | - expected: ActionView 621 | pattern: /\bAction View\b/ 622 | 623 | - expected: ActiveModel 624 | pattern: /\bActive Model\b/ 625 | 626 | - expected: ActiveRecord 627 | pattern: /\bActive Record\b/ 628 | 629 | - expected: ActiveResource 630 | pattern: /\bActive Resource\b/ 631 | 632 | - expected: ActiveSupport 633 | pattern: /\bActive Support\b/ 634 | 635 | - expected: Apache 636 | pattern: /\bapache\b|\bApatch\b|\bapatch\b/ 637 | 638 | # ★Apache2★apatch2★ 639 | - expected: Apache $1$2 640 | pattern: /Apache([0-9])|Apatch([0-9])/ 641 | 642 | - expected: ASP.NET 643 | pattern: /ASP \.NET/ 644 | 645 | - expected: Bean 646 | pattern: ビーン 647 | 648 | - expected: Bigtable 649 | pattern: /\bBigTable\b|\bBig Table\b|\bBig table\b/ 650 | 651 | - expected: CakePHP 652 | pattern: /\bCakePHP\b/i 653 | 654 | # ★CakePHP2★ 655 | - expected: CakePHP $1 656 | pattern: /CakePHP([0-9])/ 657 | 658 | - expected: Capistrano 659 | pattern: /\bCapistorano\b/ 660 | 661 | - expected: Chrome Web Store 662 | pattern: /Chromeウェブストア|Chrome Webストア/ 663 | 664 | - expected: Cygwin 665 | pattern: /\bCygwin\b/i 666 | 667 | - expected: DBFlute 668 | pattern: /\bDBFlute\b/i 669 | 670 | - expected: Debian GNU/Linux 671 | pattern: /Debian\/GNU Linux|\bDebian(?! GNU\/Linux)\b/ 672 | specs: 673 | - from: Debian 674 | to: Debian GNU/Linux 675 | - from: Debian GNU/Linux 676 | to: Debian GNU/Linux 677 | - from: Debian/GNU Linux 678 | to: Debian GNU/Linux 679 | 680 | # ☆dena.jp☆ 681 | - expected: $1DeNA$2 682 | pattern: /(?:([^\/.])ディー・エヌ・エー)|(?:ディー・エヌ・エー([^\/.]))/ 683 | 684 | # ☆dena.jp☆ 685 | - expected: $1DeNA$2 686 | pattern: /(?:([^\/.])ディーエヌエー)|(?:ディーエヌエー([^\/.]))/ 687 | 688 | # ☆dena.jp☆ 689 | - expected: $1DeNA$2 690 | pattern: /(?:([^\/.])\bDENA)|(?:DENA\b([^\/.]))/ 691 | 692 | - expected: Dreamweaver 693 | pattern: /\bDreamWeaver\b/ 694 | 695 | - expected: easy_install 696 | pattern: /\beasy_install\b/i 697 | 698 | - expected: Eclipse 699 | pattern: /\bEclipse\b/i 700 | 701 | - expected: ECMAScript 702 | pattern: /\bECMA Script\b/ 703 | 704 | - expected: EJB-JARファイル 705 | pattern: /\bEJB-JARファイル\b/i 706 | 707 | - expected: Elisp 708 | pattern: /\bElisp\b/i 709 | 710 | - expected: Lisp 711 | pattern: /\bLisp\b/i 712 | 713 | - expected: Emacs 714 | pattern: /\bEmacs\b/i 715 | 716 | # ★Emacs1★ 717 | - expected: Emacs $1 718 | pattern: /Emacs([0-9])/ 719 | 720 | - expected: Emacs Lisp 721 | pattern: /\bEmacs Lisp\b/i 722 | 723 | - expected: EventMachine 724 | pattern: /\bEventMachine\b/i 725 | 726 | - expected: Excel 727 | pattern: エクセル 728 | 729 | # ☆facebook.com☆ 730 | - expected: $1Facebook$2 731 | pattern: /(?:([^\/.])\bfacebook)|(?:facebook\b([^\/.]))/ 732 | 733 | - expected: Firebug 734 | pattern: /\bFirebug\b/i 735 | 736 | - expected: Firefox 737 | pattern: /\bFireFox\b|\bFire Fox\b|ファイアーフォックス|ファイヤーフォックス/ 738 | 739 | - expected: Flash 740 | pattern: フラッシュ 741 | 742 | - expected: Flash Lite 743 | pattern: /\bFlashLite\b/ 744 | 745 | - expected: Flash Player 746 | pattern: /Flashプレイヤー|Flash プレイヤー|Flashプレーヤ|Flash プレーヤ|Flashプレーヤー|Flash プレーヤー|\bFlashPlayer\b/ 747 | 748 | - expected: Flashプラットフォーム 749 | pattern: /\bFlash Platform\b/ 750 | 751 | - expected: Flex Builder 752 | pattern: /\bFlexBuilder\b/ 753 | 754 | - expected: Gears 755 | pattern: /\bGoogleGears\b|\bGoogle Gears\b/ 756 | 757 | - expected: GHCi 758 | pattern: /\bGHCi\b/i 759 | 760 | - expected: Git 761 | pattern: /\bGit\b/i 762 | 763 | # ★github★GITHUB★☆/github☆ 764 | - expected: $1GitHub 765 | pattern: /([^\/\.])\bgithub\b/ 766 | 767 | # ☆gmail☆ 768 | - expected: $1Gmail$2 769 | pattern: /(?:([^\/.@])\bgmail)|(?:gmail\b([^\/.]))/ 770 | 771 | - expected: Google Gadget 772 | pattern: Googleガジェット 773 | 774 | - expected: Google Maps 775 | pattern: /\bGoogle Map\b|\bGoogleMaps\b|\bGoogleMap\b|Googleマップ/ 776 | 777 | - expected: Greasemonkey 778 | pattern: /\bGreaseMonkey\b|\bGrease monkey\b|\bGrease Monkey\b/ 779 | 780 | - expected: gzip 781 | pattern: /\bgzip\b/i 782 | 783 | - expected: Heartbeat 784 | pattern: /\bHeartbeat\b/i 785 | 786 | - expected: HTML5 787 | pattern: HTML 5 788 | 789 | # ★HTML4★ 790 | - expected: HTML $1 791 | pattern: /HTML([0-4])/ 792 | 793 | # ★HTTP1★ 794 | - expected: HTTP $1 795 | pattern: /HTTP([0-9])/ 796 | 797 | # ☆Socket.io☆ 798 | - expected: $1I/O 799 | pattern: /([^\.\s])\bIO\b/ 800 | 801 | - expected: ImageMagick 802 | pattern: /\bImageMagick\b/i 803 | 804 | # ★Internet Explorer4★ 805 | - expected: Internet Explorer $1 806 | pattern: /Internet Explorer([0-9])/ 807 | 808 | # ★IE 6★ 809 | - expected: IE$1 810 | pattern: /IE ([0-9])/ 811 | 812 | - expected: inode 813 | pattern: iノード 814 | 815 | # IOS SDK 816 | - expected: iOS SDK 817 | pattern: /\biOS SDK\b/i 818 | 819 | - expected: ISO 820 | pattern: ISO- 821 | 822 | # ★ISO9★ 823 | - expected: ISO $1 824 | pattern: /ISO([0-9])/ 825 | 826 | - expected: iPad 827 | pattern: /\biPad\b/i 828 | 829 | - expected: iPhone 830 | pattern: /\biPhone\b/i 831 | 832 | - expected: Jade 833 | pattern: /\bJade\b/i 834 | 835 | - expected: JARファイル 836 | pattern: /\bJARファイル\b/i 837 | 838 | # ★Java6★ 839 | - expected: Java $1 840 | pattern: /Java([0-9])/ 841 | 842 | - expected: Java 3D 843 | pattern: Java3D 844 | 845 | - expected: Java EE 846 | pattern: /\bJavaEE\b/ 847 | 848 | # ★JavaEE5★ 849 | - expected: Java EE $1 850 | pattern: /JavaEE([0-9])/ 851 | 852 | # ★Java EE5★ 853 | - expected: Java EE $1 854 | pattern: /Java EE([0-9])/ 855 | 856 | - expected: Java SE 857 | pattern: /\bJavaSE\b/ 858 | 859 | # ★JavaSE5★ 860 | - expected: Java SE $1 861 | pattern: /JavaSE([0-9])/ 862 | 863 | # ★Java SE5★ 864 | - expected: Java SE $1 865 | pattern: /Java SE([0-9])/ 866 | 867 | - expected: JavaBeans 868 | pattern: /\bJavaBean\b|\bJava Bean\b|\bJava Beans\b/ 869 | 870 | - expected: Javadoc 871 | pattern: /\bJavadoc\b/i 872 | 873 | - expected: JavaScript 874 | pattern: /\bJava Script\b|\bJavascript\b|\bjavascript\b/ 875 | 876 | # ★JavaScript1★ 877 | - expected: JavaScript $1 878 | pattern: /JavaScript([0-9])/ 879 | 880 | - expected: JavaServer Faces 881 | pattern: /\bJava Server Faces\b/ 882 | 883 | - expected: JavaServer Pages 884 | pattern: /\bJava Server Pages\b/ 885 | 886 | - expected: Jenkins 887 | pattern: /\bJenkins\b/i 888 | 889 | # ★JDK5★ 890 | - expected: JDK $1 891 | pattern: /JDK([0-9])/ 892 | 893 | - expected: JPEG 894 | pattern: /\bJPEG\b/i 895 | 896 | # ★JSF1★ 897 | - expected: JSF $1 898 | pattern: /JSF([0-9])/ 899 | 900 | # ★JSP1★ 901 | - expected: JSP $1 902 | pattern: /JSP([0-9])/ 903 | 904 | - expected: JVM 905 | pattern: /\bJava VM\b|\bJavaVM\b/ 906 | 907 | - expected: key-value 908 | pattern: /Key-Value|キーバリュー|キー・バリュー|キー/バリュー/ 909 | 910 | - expected: KitchenSink 911 | pattern: /\bKitchenSink\b/i 912 | 913 | - expected: Kyoto Cabinet 914 | pattern: /\bKyotoCabinet\b/ 915 | 916 | # ★Tokyo Tycoon★TokyoTycoon★ 917 | - expected: Kyoto Tycoon 918 | pattern: /\bKyotoTycoon\b|Tokyo *Tycoon/ 919 | 920 | - expected: LL 921 | pattern: LL言語 922 | 923 | - expected: Mac OS 924 | pattern: /\bMacOS\b/ 925 | 926 | - expected: Mac OS X 927 | pattern: /\bMacOSX\b/ 928 | 929 | - expected: MacBook 930 | pattern: /\bMac Book\b/ 931 | 932 | - expected: MacPorts 933 | pattern: /\bMacPorts\b/i 934 | 935 | - expected: Maven 936 | pattern: /\bMaven\b/i 937 | 938 | - expected: MeCab 939 | pattern: /\bMeCab\b/i 940 | 941 | - expected: memcached 942 | pattern: /\bmemcached\b/i 943 | 944 | # ☆microsoft.com☆ 945 | - expected: $1Microsoft$2 946 | pattern: /(?:([^\/.])マイクロソフト)|(?:マイクロソフト([^\/.]))/ 947 | 948 | # ☆microsoft.com☆ 949 | - expected: $1Microsoft$2 950 | pattern: /(?:([^\/.])\bmicrosoft)|(?:microsoft\b([^\/.]))/ 951 | 952 | - expected: Migemo 953 | pattern: /\bMigemo\b/i 954 | 955 | - expected: mixi 956 | pattern: /\bmixi\b/i 957 | 958 | - expected: MongoDB 959 | pattern: /\bMongo DB\b/ 960 | 961 | - expected: MySQL 962 | pattern: /\bMySQL\b/i 963 | 964 | # ★Nagios1★ 965 | - expected: Nagios $1 966 | pattern: /Nagios([0-9])/ 967 | 968 | - expected: nginx 969 | pattern: /\bnginx\b/i 970 | 971 | - expected: Node.js 972 | pattern: /\bNode.js\b/i 973 | 974 | - expected: OAuth 975 | pattern: /\bOAuth\b/i 976 | 977 | - expected: OmniAuth 978 | pattern: /\bOmniAuth\b/i 979 | 980 | - expected: OpenGL 981 | pattern: /\bOpen GL\b/ 982 | 983 | - expected: OS 984 | pattern: オペレーティングシステム 985 | 986 | - expected: parallel 987 | pattern: /\bpararllel\b/ 988 | 989 | - expected: PC 990 | pattern: パソコン 991 | 992 | - expected: Pentium 4 993 | pattern: /\bPentium IV\b/ 994 | 995 | - expected: Pentium II 996 | pattern: /Pentium 2|Pentium2/ 997 | 998 | - expected: Pentium III 999 | pattern: /Pentium 3|Pentium3/ 1000 | 1001 | # ★Perl5★ 1002 | - expected: Perl $1 1003 | pattern: /Perl([0-9])/ 1004 | 1005 | - expected: Perl 1006 | pattern: /\bPerl\b/i 1007 | 1008 | - expected: Photoshop 1009 | pattern: /\bPhotoShop\b|\bphotoshop\b|フォトショップ/ 1010 | 1011 | # ★PHP5★ 1012 | - expected: PHP $1 1013 | pattern: /PHP([0-9])/ 1014 | 1015 | - expected: PHPUnit 1016 | pattern: /\bPHPUnit\b/i 1017 | 1018 | - expected: ping 1019 | pattern: /\bping\b/i 1020 | 1021 | - expected: pip 1022 | pattern: /\bpip\b/i 1023 | 1024 | - expected: pixiv 1025 | pattern: /\bpixiv\b/i 1026 | 1027 | - expected: POPFile 1028 | pattern: /\bPOPFile\b/i 1029 | 1030 | - expected: PostScript 1031 | pattern: /\bPostScript\b/i 1032 | 1033 | # ★PostgreSQL8★ 1034 | - expected: PostgreSQL $1 1035 | pattern: /PostgreSQL([0-9])/ 1036 | 1037 | - expected: Python 1038 | pattern: /\bPython\b/i 1039 | 1040 | - expected: RADIUS 1041 | pattern: /\bRADIUS\b/i 1042 | 1043 | # ★Rails3★ 1044 | - expected: Rails $1 1045 | pattern: /Rails([0-9])/ 1046 | 1047 | - expected: Rake 1048 | pattern: /\bRake\b/i 1049 | 1050 | - expected: Red Hat 1051 | pattern: /\bRedHat\b|\bRedhat\b|\bredhat\b|\bRedHad\b|\bRedhad\b|\bredhad\b|レッドハット/ 1052 | 1053 | - expected: Red Hat Linux 1054 | pattern: /\bRedHatLinux\b|\bRedHat Linux\b/ 1055 | 1056 | # ★Red Hat Linux1★ 1057 | - expected: Red Hat Linux $1 1058 | pattern: /Red Hat Linux([0-9])|RedHatLinux([0-9])|RedHat Linux([0-9])/ 1059 | 1060 | - expected: Redis 1061 | pattern: /\bRedis\b/i 1062 | 1063 | - expected: RELAX NG 1064 | pattern: /\bRELAX NG\b/i 1065 | 1066 | # ★RFC1★ 1067 | - expected: RFC $1 1068 | pattern: /RFC([0-9])/ 1069 | 1070 | - expected: RPCサービス 1071 | pattern: /\bRPC Services\b/ 1072 | 1073 | - expected: Ruby 1074 | pattern: /\bRuby\b/i 1075 | 1076 | # ★Ruby1★ 1077 | - expected: Ruby $1 1078 | pattern: /Ruby([0-9])/ 1079 | 1080 | - expected: Ruby on Rails 1081 | pattern: /\bRuby On Rails\b|\bRoR\b/ 1082 | 1083 | - expected: RubyGems 1084 | pattern: /\bRubyGems\b/i 1085 | 1086 | - expected: RubyGems 1087 | pattern: /\bRuby Gems\b/ 1088 | 1089 | # ★SAML2★ 1090 | - expected: SAML $1 1091 | pattern: /SAML([0-9])/ 1092 | 1093 | - expected: Scheme 1094 | pattern: /\bScheme\b/i 1095 | 1096 | # ★Servlet2★ 1097 | - expected: Servlet $1 1098 | pattern: /Servlet([0-9])/ 1099 | 1100 | - expected: Silverlight 1101 | pattern: /\bSilverLight\b|\bSilver Light\b/ 1102 | 1103 | - expected: SimpleTest 1104 | pattern: /\bSimpleTest\b/i 1105 | 1106 | - expected: Sinatra 1107 | pattern: /\bSinatra\b/i 1108 | 1109 | - expected: SkeedCast 1110 | pattern: /\bSkeedCast\b/i 1111 | 1112 | - expected: $1Smalltalk$2 1113 | pattern: /(?:([^\/.])スモールトーク)|(?:スモールトーク([^\/.]))/ 1114 | 1115 | - expected: Socket.IO 1116 | pattern: /\bSocket.IO\b/i 1117 | 1118 | - expected: $1SourceForge 1119 | pattern: /([^\/.])\bsourceforge\b/ 1120 | 1121 | - expected: SpiderMonkey 1122 | pattern: /\bSpiderMonkey\b/i 1123 | 1124 | # ★SQL1★ 1125 | - expected: SQL $1 1126 | pattern: /SQL([0-9])/ 1127 | 1128 | - expected: SQLite 1129 | pattern: /\bSQLite\b/i 1130 | 1131 | - expected: Squid 1132 | pattern: /\bSquid\b/i 1133 | 1134 | - expected: $1Subversion$2 1135 | pattern: /(?:([^\/.])\bSubVersion)|(?:SubVersion\b([^\/.]))/ 1136 | 1137 | - expected: $1Subversion$2 1138 | pattern: /(?:([^\/.])\bsubversion)|(?:subversion\b([^\/.]))/ 1139 | 1140 | - expected: Sun 1141 | pattern: /\bSun\b/i 1142 | 1143 | - expected: SunRPC 1144 | pattern: /\bSun RPC\b/ 1145 | 1146 | - expected: SUSE 1147 | pattern: /\bSUSE\b/i 1148 | 1149 | - expected: SWFファイル 1150 | pattern: /\bSWFファイル\b/i 1151 | 1152 | - expected: Symfony2 1153 | pattern: Symfony 2 1154 | 1155 | # ★Tomcat5★ 1156 | - expected: Tomcat $1 1157 | pattern: /Tomcat([0-9])/ 1158 | 1159 | - expected: Twitter 1160 | pattern: /\bTwitter\b/i 1161 | 1162 | - expected: Twitter 1163 | pattern: ツイッター 1164 | 1165 | - expected: Tokyo Cabinet 1166 | pattern: /\bTokyoCabinet\b/ 1167 | 1168 | # ★Kyoto Dystopia★ 1169 | - expected: Tokyo Dystopia 1170 | pattern: /\bTokyoDystopia\b|Kyoto *Dystopia/ 1171 | 1172 | # ★Kyoto Promenade★ 1173 | - expected: Tokyo Promenade 1174 | pattern: /\bTokyoPromenade\b|Kyoto *Promenade/ 1175 | 1176 | # ★Kyoto Tyrant★ 1177 | - expected: Tokyo Tyrant 1178 | pattern: /\bTokyoTyrant\b|Kyoto *Tyrant/ 1179 | 1180 | - expected: Tritonn 1181 | pattern: /\bTriton\b|\btriton\b|\btritonn\b/ 1182 | 1183 | - expected: Ubuntu 1184 | pattern: /\bubuntu\b|\bUbuntsu\b|\bubuntsu\b|\bUbuntu Linux\b/ 1185 | 1186 | - expected: Unicode 1187 | pattern: /\bunicode\b|ユニコード/ 1188 | 1189 | - expected: UNIX 1190 | pattern: /\bUnix\b/ 1191 | 1192 | - expected: UTF-8 1193 | pattern: /UTF8|UTF 8|utf8/ 1194 | 1195 | # ★vim9★Vim8★ 1196 | - expected: Vim $1 1197 | pattern: /vim([0-9])/ 1198 | 1199 | - expected: Vimスクリプト 1200 | pattern: /\bvim script\b/ 1201 | 1202 | - expected: Visual Basic 1203 | pattern: /\bVisualBasic\b|\bVB\b/ 1204 | 1205 | - expected: Visual Studio .NET 1206 | pattern: /Visual Studio\.NET/ 1207 | 1208 | - expected: VMware 1209 | pattern: /\bVMware\b/i 1210 | 1211 | - expected: WARファイル 1212 | pattern: /\bWARファイル\b/i 1213 | 1214 | - expected: Web API 1215 | pattern: /\bWebAPI\b|\bWEBAPI\b|\bWEB API\b/ 1216 | 1217 | - expected: Web UI 1218 | pattern: /\bWebUI\b/ 1219 | 1220 | - expected: WebLogic 1221 | pattern: /\bWeb Logic\b/ 1222 | 1223 | - expected: WebSphere 1224 | pattern: /\bWeb Sphere\b/ 1225 | 1226 | - expected: Wi-Fi 1227 | pattern: /\bWiFi\b/ 1228 | 1229 | - expected: Windows 2000 1230 | pattern: Windows2000 1231 | 1232 | - expected: Windows 2000 Server 1233 | pattern: Windows Server 2000 1234 | 1235 | - expected: Windows 3. 1236 | pattern: /Windows3\./ 1237 | 1238 | - expected: Windows 7 1239 | pattern: Windows7 1240 | 1241 | - expected: Windows 95 1242 | pattern: Windows95 1243 | 1244 | - expected: Windows 98 1245 | pattern: Windows98 1246 | 1247 | - expected: Windows Me 1248 | pattern: /\bWindowsMe\b|\bWindowsME\b/ 1249 | 1250 | - expected: Windows NT 1251 | pattern: /\bWindowsNT\b/ 1252 | 1253 | - expected: Windows Server 2003 1254 | pattern: Windows 2003 Server 1255 | 1256 | - expected: Windows Server 2008 1257 | pattern: Windows 2008 Server 1258 | 1259 | - expected: Windows Vista 1260 | pattern: /\bWindowsVista\b/ 1261 | 1262 | - expected: Windows XP 1263 | pattern: /\bWindowsXP\b/ 1264 | 1265 | - expected: $1Word 1266 | pattern: /([^ースォ])ワード/ 1267 | 1268 | - expected: xAuth 1269 | pattern: /\bxAuth\b/i 1270 | 1271 | - expected: Xcode 1272 | pattern: /\bXcode\b/i 1273 | 1274 | - expected: XML Schema 1275 | pattern: /\bXML Schema\b/i 1276 | 1277 | # Yahoo Mailという書き方は許可する 1278 | # http://yahooeng.tumblr.com/post/115664629471/automated-testing-in-yahoo-mail 1279 | - expected: "Yahoo!$1" 1280 | patterns: 1281 | - /\bYAHOO\b([^!.])/ 1282 | specs: 1283 | - from: Yahoo Mail 1284 | to: Yahoo Mail 1285 | - from: yahoo.com 1286 | to: yahoo.com 1287 | # 日本語は!を必須にする 1288 | - expected: "Yahoo!$1" 1289 | patterns: 1290 | - /ヤフー([^!.])/ 1291 | specs: 1292 | - from: Yahoo Mail 1293 | to: Yahoo Mail 1294 | - from: ヤフーメール 1295 | to: Yahoo!メール 1296 | 1297 | 1298 | - expected: "Yahoo!ウィジェット" 1299 | pattern: /\bYahooWidget\b|Yahoo\!Widget|Yahoo\! Widget|\bYahooGadget\b|Yahoo\!Gadget|Yahoo\! Gadget/ 1300 | 1301 | - expected: YouTube 1302 | pattern: /\bYoutube\b|\byoutube\b/ 1303 | 1304 | - expected: YSlow 1305 | pattern: /\bYSlow\b/i 1306 | 1307 | - expected: ZIPファイル 1308 | pattern: /\bZIPファイル\b/i 1309 | 1310 | - expected: オライリー・ジャパン$1 1311 | pattern: /オライリージャパン([^・])|オライリー([^・])/ 1312 | 1313 | - expected: ソフトバンク クリエイティブ 1314 | pattern: ソフトバンククリエイティブ 1315 | 1316 | - expected: ピアソン・エデュケーション$1 1317 | pattern: /ピアソンエデュケーション([^・])/ 1318 | 1319 | - expected: $1qwikWeb$2 1320 | pattern: /(?:([^\/.])クイックウェブ)|(?:クイックウェブ([^\/.]))/ 1321 | 1322 | - expected: $1qwikWeb$2 1323 | pattern: /(?:([^\/.])クイックWeb)|(?:クイックWeb([^\/.]))/ 1324 | 1325 | - expected: $1C2 Wiki$2 1326 | pattern: /(?:([^.])C2ウィキ)|(?:C2ウィキ([^.]))/ 1327 | 1328 | - expected: $1SearchWiki$2 1329 | pattern: /(?:([^.])サーチウィキ)|(?:サーチウィキ([^.]))/ 1330 | 1331 | - expected: $1SearchWiki$2 1332 | pattern: /(?:([^.])サーチWiki)|(?:サーチWiki([^.]))/ 1333 | 1334 | - expected: $1MediaWiki$2 1335 | pattern: /(?:([^.])メディアウィキ)|(?:メディアウィキ([^.]))/ 1336 | 1337 | - expected: $1MediaWiki$2 1338 | pattern: /(?:([^.])メディアWiki)|(?:メディアWiki([^.]))/ 1339 | 1340 | - expected: $1HyperPerl$2 1341 | pattern: /(?:([^.])ハイパーパール)|(?:ハイパーパール([^.]))/ 1342 | 1343 | - expected: $1Nupedia$2 1344 | pattern: /(?:([^.])ヌーペディア)|(?:ヌーペディア([^.]))/ 1345 | 1346 | - expected: $1UseModWiki$2 1347 | pattern: /(?:([^.])ユースモッドウィキ)|(?:ユースモッドウィキ([^.]))/ 1348 | 1349 | - expected: $1UseModWiki$2 1350 | pattern: /(?:([^.])ユースモッドWiki)|(?:ユースモッドWiki([^.]))/ 1351 | 1352 | - expected: $1TiddlyWiki$2 1353 | pattern: /(?:([^.])ティドリーウィキ)|(?:ティドリーウィキ([^.]))/ 1354 | 1355 | - expected: $1TiddlyWiki$2 1356 | pattern: /(?:([^.])ティドリーWiki)|(?:ティドリーWiki([^.]))/ 1357 | 1358 | - expected: $1MeatballWiki$2 1359 | pattern: /(?:([^.])ミートボールウィキ)|(?:ミートボールウィキ([^.]))/ 1360 | 1361 | - expected: $1MeatballWiki$2 1362 | pattern: /(?:([^.])ミートボールWiki)|(?:ミートボールWiki([^.]))/ 1363 | 1364 | - expected: $1WikiWikiWeb$2 1365 | pattern: /(?:([^\/.])ウィキウィキウェブ)|(?:ウィキウィキウェブ([^\/.]))/ 1366 | 1367 | - expected: $1WikiWikiWeb$2 1368 | pattern: /(?:([^\/.])ウィキウィキWeb)|(?:ウィキウィキWeb([^\/.]))/ 1369 | 1370 | - expected: $1Wikia$2 1371 | pattern: /(?:([^.])ウィキア)|(?:ウィキア([^.]))/ 1372 | 1373 | - expected: $1Wikia$2 1374 | pattern: /(?:([^.])Wikiア)|(?:Wikiア([^.]))/ 1375 | 1376 | - expected: $1Wikimedia$2 1377 | pattern: /(?:([^\/.])ウィキメディア)|(?:ウィキメディア([^\/.]))/ 1378 | 1379 | - expected: $1Wikimedia$2 1380 | pattern: /(?:([^\/.])Wikiメディア)|(?:Wikiメディア([^\/.]))/ 1381 | 1382 | - expected: $1Wikipedia$2 1383 | pattern: /(?:([^\/.])\bWikiPedia)|(?:WikiPedia\b([^\/.]))/ 1384 | 1385 | - expected: $1Wikipedia$2 1386 | pattern: /(?:([^\/.])ウィキペディア)|(?:ウィキペディア([^\/.]))/ 1387 | 1388 | - expected: $1WikiBase$2 1389 | pattern: /(?:([^\/.])Wikiベース)|(?:Wikiベース([^\/.]))/ 1390 | 1391 | - expected: $1WikiBase$2 1392 | pattern: /(?:([^\/.])ウィキベース)|(?:ウィキベース([^\/.]))/ 1393 | 1394 | - expected: $1Wiki$2 1395 | pattern: /(?:([^\/.])\bwiki)|(?:wiki\b([^\/.]))/ 1396 | 1397 | - expected: $1Wiki$2 1398 | pattern: /(?:([^\/.])ウィキ)|(?:ウィキ([^\/.]))/ 1399 | 1400 | - expected: アクションクラス 1401 | pattern: Actionクラス 1402 | 1403 | - expected: アクションリスナ 1404 | pattern: /\bActionListener\b|\bAction Listener\b|\bActionListener\b/ 1405 | 1406 | - expected: アクションマッピング 1407 | pattern: /Actionマッピング|\bAction Mapping\b/ 1408 | 1409 | - expected: アクションフォームBean 1410 | pattern: /\bActionFormBean\b|\bActionFormBeans\b|\bActionForm Bean\b/ 1411 | 1412 | - expected: アクションフォーム 1413 | pattern: /\bAction Form\b|\bActionForm\b/ 1414 | 1415 | - expected: アクションサーブレット 1416 | pattern: /\bActionServlet\b|\bAction Servlet\b|Actionサーブレット/ 1417 | 1418 | - expected: フォームBean 1419 | pattern: /\bForm Bean\b|フォームビーン/ 1420 | 1421 | - expected: リクエストオブジェクト 1422 | pattern: Requestオブジェクト 1423 | 1424 | - expected: レスポンスオブジェクト 1425 | pattern: Responseオブジェクト 1426 | 1427 | - expected: セッションオブジェクト 1428 | pattern: Sessionオブジェクト 1429 | 1430 | - expected: リモートインタフェース 1431 | pattern: Remoteインタフェース 1432 | 1433 | - expected: ホームインタフェース 1434 | pattern: Homeインタフェース 1435 | 1436 | - expected: ローカルインタフェース 1437 | pattern: Localインタフェース 1438 | 1439 | - expected: サービスインタフェース 1440 | pattern: Serviceインタフェース 1441 | 1442 | - expected: エンティティBean 1443 | pattern: /\bEntity Bean\b|\bentity bean\b/ 1444 | 1445 | - expected: セッションBean 1446 | pattern: /\bsession bean\b|\bSession Bean\b/ 1447 | 1448 | # 本文中では 1449 | - expected: %$1 1450 | pattern: /%([^0123456789])/ 1451 | 1452 | # カタカナの後ろの中黒「・」をトルツメ。★ア・★ 1453 | - expected: $1 1454 | pattern: /([ァ-ヶ])・/ 1455 | 1456 | - expected: … 1457 | pattern: /・・・|・・・/ 1458 | 1459 | # ダーシ、ダーシとケイ混在 1460 | - expected: ── 1461 | pattern: /――|─―|―─/ 1462 | 1463 | # 1本のダーシとケイをケイ2本に。★つまり─、★☆つまり──、☆ 1464 | - expected: $1──$2 1465 | pattern: /([^―─])[―─]([^―─])/ 1466 | specs: 1467 | - from: つまり―、 1468 | to: つまり──、 1469 | - from: つまり─、 1470 | to: つまり──、 1471 | - from: つまり──、 1472 | to: つまり──、 1473 | 1474 | - expected: "!?" 1475 | pattern: !? 1476 | 1477 | - expected: "?!" 1478 | pattern: ?! 1479 | 1480 | - expected: "!!" 1481 | pattern: !! 1482 | 1483 | - expected: "??" 1484 | pattern: ?? 1485 | 1486 | # ])\!$ ,,RE<★食べる!(改行)★☆make!(改行)☆ 1487 | - expected: $1! 1488 | pattern: /\(\[\^a-zA-Z\!\\/ 1489 | 1490 | # ])\?$ ,,RE<★食べる?(改行)★☆make?(改行)☆ 1491 | - expected: $1? 1492 | pattern: /\(\[\^a-zA-Z\!\\/ 1493 | 1494 | # ★!?あ★●「行末ではない」という指定が無理みたい● 1495 | - expected: "!? $1" 1496 | pattern: /!?([^\n\s「」『』()[]])/ 1497 | 1498 | # ★!?あ★ 1499 | - expected: "!? $1" 1500 | pattern: /\!\?([^\n\s「」『』()[]])/ 1501 | 1502 | # ★?!あ★ 1503 | - expected: "?! $1" 1504 | pattern: /?!([^\n\s「」『』()[]])/ 1505 | 1506 | # ★?!あ★ 1507 | - expected: "?! $1" 1508 | pattern: /\?\!([^\n\s「」『』()[]])/ 1509 | 1510 | # ★??あ★ 1511 | - expected: "?? $1" 1512 | pattern: /??([^\n\s「」『』()[]])/ 1513 | 1514 | # ★??あ★ 1515 | - expected: "?? $1" 1516 | pattern: /\?\?([^\n\s「」『』()[]])/ 1517 | 1518 | # ★!あ★ 1519 | - expected: ! $1 1520 | pattern: /!([^\n\s「」『』()[]])/ 1521 | 1522 | # 全アキを半アキ2つに。★? あ★ 1523 | - expected: ? 1524 | pattern: ? 1525 | 1526 | # ★?あ★ 1527 | - expected: ? $1 1528 | pattern: /?([^\n\s「」『』()[]★])/ 1529 | 1530 | # かけ算。★0x9★ 1531 | - expected: $1×$2 1532 | pattern: /([0-9])x([0-9])/ 1533 | 1534 | - expected: (10) 1535 | pattern: /\(10\)|10./ 1536 | 1537 | - expected: (1) 1538 | pattern: /\(1\)|①|1./ 1539 | 1540 | - expected: (2) 1541 | pattern: /\(2\)|②|2./ 1542 | 1543 | - expected: (3) 1544 | pattern: /\(3\)|③|3./ 1545 | 1546 | - expected: (4) 1547 | pattern: /\(4\)|④|4./ 1548 | 1549 | - expected: (5) 1550 | pattern: /\(5\)|⑤|5./ 1551 | 1552 | - expected: (6) 1553 | pattern: /\(6\)|⑥|6./ 1554 | 1555 | - expected: (7) 1556 | pattern: /\(7\)|⑦|7./ 1557 | 1558 | - expected: (8) 1559 | pattern: /\(8\)|⑧|8./ 1560 | 1561 | - expected: (9) 1562 | pattern: /\(9\)|⑨|9./ 1563 | 1564 | # ★[10]★ 1565 | - expected: [10] 1566 | pattern: /\[10\]/ 1567 | 1568 | # ★[1]★ 1569 | - expected: [1] 1570 | pattern: /\[1\]/ 1571 | 1572 | # ★[2]★ 1573 | - expected: [2] 1574 | pattern: /\[2\]/ 1575 | 1576 | # ★[3]★ 1577 | - expected: [3] 1578 | pattern: /\[3\]/ 1579 | 1580 | # ★[4]★ 1581 | - expected: [4] 1582 | pattern: /\[4\]/ 1583 | 1584 | # ★[5]★ 1585 | - expected: [5] 1586 | pattern: /\[5\]/ 1587 | 1588 | # ★[6]★ 1589 | - expected: [6] 1590 | pattern: /\[6\]/ 1591 | 1592 | # ★[7]★ 1593 | - expected: [7] 1594 | pattern: /\[7\]/ 1595 | 1596 | # ★[8]★ 1597 | - expected: [8] 1598 | pattern: /\[8\]/ 1599 | 1600 | # ★[9]★ 1601 | - expected: [9] 1602 | pattern: /\[9\]/ 1603 | 1604 | - expected: IV 1605 | pattern: Ⅳ 1606 | 1607 | - expected: iv 1608 | pattern: ⅳ 1609 | 1610 | - expected: VI 1611 | pattern: Ⅵ 1612 | 1613 | - expected: vi 1614 | pattern: ⅵ 1615 | 1616 | - expected: VII 1617 | pattern: Ⅶ 1618 | 1619 | - expected: vii 1620 | pattern: ⅶ 1621 | 1622 | - expected: VIII 1623 | pattern: Ⅷ 1624 | 1625 | - expected: viii 1626 | pattern: ⅷ 1627 | 1628 | - expected: IX 1629 | pattern: Ⅸ 1630 | 1631 | - expected: ix 1632 | pattern: ⅸ 1633 | 1634 | # 全角括弧前後の空白を除去 1635 | - expected: ( 1636 | pattern: / (|( / 1637 | 1638 | # 全角括弧前後の空白を除去 1639 | - expected: ) 1640 | pattern: /) | )/ 1641 | 1642 | - expected: ( 1643 | pattern: /.(|。(/ 1644 | 1645 | - expected: )。 1646 | pattern: 。) 1647 | 1648 | - expected: )、 1649 | pattern: 、) 1650 | 1651 | # ★文末なのでここでは検証できない★ 1652 | - expected: )。$1 1653 | pattern: /)(\n)/ 1654 | 1655 | - expected: 「 1656 | pattern: 「 1657 | 1658 | - expected: 」 1659 | pattern: 」 1660 | 1661 | - expected: 」「 1662 | pattern: 」、「 1663 | 1664 | - expected: 」 1665 | pattern: 。」 1666 | 1667 | # ★1Mバイト★十メガバイト★ 1668 | - expected: $1MB 1669 | pattern: /([\d十百千万])Mバイト|([\d十百千万])メガバイト/ 1670 | 1671 | # ★1Gバイト★十ギガバイト★ 1672 | - expected: $1GB 1673 | pattern: /([\d十百千万])Gバイト|([\d十百千万])ギガバイト/ 1674 | 1675 | # ★1Kバイト★十キロバイト★ 1676 | - expected: $1KB 1677 | pattern: /([\d十百千万])Kバイト|([\d十百千万])キロバイト/ 1678 | 1679 | # ★1Tバイト★十テラバイト★ 1680 | - expected: $1TB 1681 | pattern: /([\d十百千万])Tバイト|([\d十百千万])テラバイト/ 1682 | 1683 | # ★1Pバイト★十ペタバイト★ 1684 | - expected: $1PB 1685 | pattern: /([\d十百千万])Pバイト|([\d十百千万])ペタバイト/ 1686 | 1687 | # ★1pixel★十pixel★ 1688 | - expected: $1ピクセル 1689 | pattern: /([\d十百千万])\bpx\b|([\d十百千万])\bpixel\b/ 1690 | 1691 | # ★1Bit★十Bit★ 1692 | - expected: $1ビット 1693 | pattern: /([\d十百千万])\bbit\b|([\d十百千万])\bBit\b/ 1694 | 1695 | # ★1Kbps★十Kbps★ 1696 | - expected: $1kbps 1697 | pattern: /([\d十百千万])\bKbps\b/ 1698 | 1699 | # ★1KHz★十KHz★ 1700 | - expected: $1kHz 1701 | pattern: /([\d十百千万])\bKHz\b|([\d十百千万])\bKhz\b|([\d十百千万])\bkhz\b|([\d十百千万])\bKHZ\b|([\d十百千万])\bkHZ\b/ 1702 | 1703 | # ★1HZ★十HZ★ 1704 | - expected: $1Hz 1705 | pattern: /([\d十百千万])\bhz\b|([\d十百千万])\bHZ\b/ 1706 | 1707 | - expected: try/catch 1708 | pattern: /try\.\.\.catch/ 1709 | 1710 | - expected: for/in 1711 | pattern: /for\.\.\.in/ 1712 | 1713 | - expected: for/of 1714 | pattern: /for\.\.\.of/ 1715 | -------------------------------------------------------------------------------- /lib/textlint-rule-web-plus-db.js: -------------------------------------------------------------------------------- 1 | // LICENSE : MIT 2 | "use strict"; 3 | var fs = require("fs"); 4 | var prh = require("textlint-rule-prh"); 5 | var reporter = function (context) { 6 | // 辞書ベースのカタカタ表記のチェックを行う 7 | var ruleContent = fs.readFileSync(__dirname + "/../dict/web+db_press.yml", "utf-8"); 8 | return prh.fixer(context, { 9 | ruleContents: [ruleContent] 10 | }); 11 | }; 12 | module.exports = { 13 | linter: reporter, 14 | fixer: reporter 15 | }; -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "textlint-rule-web-plus-db", 3 | "repository": { 4 | "type": "git", 5 | "url": "git+https://github.com/azu/textlint-rule-web-plus-db.git" 6 | }, 7 | "author": "azu", 8 | "email": "azuciao@gmail.com", 9 | "homepage": "https://github.com/azu/textlint-rule-web-plus-db", 10 | "license": "MIT", 11 | "bugs": { 12 | "url": "https://github.com/azu/textlint-rule-web-plus-db/issues" 13 | }, 14 | "version": "1.1.5", 15 | "description": "Web+DB用語統一のtextlintルール", 16 | "main": "lib/textlint-rule-web-plus-db.js", 17 | "files": [ 18 | "lib", 19 | "dict", 20 | "build" 21 | ], 22 | "browserify": { 23 | "transform": [ 24 | "brfs" 25 | ] 26 | }, 27 | "directories": { 28 | "test": "test" 29 | }, 30 | "scripts": { 31 | "build": "browserify lib/textlint-rule-web-plus-db.js -o build/textlint-rule-web-plus-db.js", 32 | "prepublish": "npm run --if-present build", 33 | "test": "mocha" 34 | }, 35 | "keywords": [ 36 | "textlint", 37 | "web+db", 38 | "dictionary" 39 | ], 40 | "dependencies": { 41 | "brfs": "^1.4.3", 42 | "textlint-rule-prh": "^2.2.0" 43 | }, 44 | "devDependencies": { 45 | "browserify": "^13.0.0", 46 | "mocha": "^2.3.4", 47 | "textlint-tester": "^1.2.0" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /test/textlint-rule-web-plus-db-test.js: -------------------------------------------------------------------------------- 1 | var TextLintTester = require("textlint-tester"); 2 | // rules 3 | var rule = require("../lib/textlint-rule-web-plus-db"); 4 | var tester = new TextLintTester(); 5 | // ruleName, rule, expected[] 6 | tester.run("rule", rule, { 7 | valid: [ 8 | "Cookie" 9 | ], 10 | invalid: [ 11 | { 12 | text: "クッキー", 13 | errors: [ 14 | { 15 | message: "クッキー => Cookie", 16 | line: 1, 17 | column: 1 18 | } 19 | ] 20 | }, 21 | { 22 | text: "クッキー", 23 | errors: [ 24 | { 25 | message: "クッキー => Cookie", 26 | line: 1, 27 | column: 1 28 | } 29 | ] 30 | }, { 31 | // TODO: found 2 errors 32 | text: "1Gバイトのメモリーです", 33 | errors: [ 34 | { 35 | message: "1Gバイト => 1GB", 36 | line: 1, 37 | column: 1 38 | } 39 | ] 40 | } 41 | ] 42 | }); --------------------------------------------------------------------------------