Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CasualConc 3.0 —Universal Dependency タグを
利用した文法...

Avatar for Yasu Imao Yasu Imao
September 02, 2026

CasualConc 3.0 —Universal Dependency タグを
利用した文法検索の試み— @ 英語コーパス学会 2022

Avatar for Yasu Imao

Yasu Imao

September 02, 2026

More Decks by Yasu Imao

Other Decks in Research

Transcript

  1. What is CasualConc? • コーパスファイル管理 • 基本的なコーパス分析機能 • macOS 用コンコーダンサー

    ✓KWIC, Word List, Collocation, Word Cluster • R を利用したデータの視覚化 • ファイルごとの単語頻度集計
  2. What is CasualConc • コーパスファイル管理 • 基本的なコーパス分析機能 • macOS 用コンコーダンサー

    ✓KWIC, Word List, Collocation, Word Cluster • R を利用したデータの視覚化 • ファイルごとの単語頻度集計
  3. What is CasualConc • コーパスファイル管理 • 基本的なコーパス分析機能 • macOS 用コンコーダンサー

    ✓KWIC, Word List, Collocation, Word Cluster • R を利用したデータの視覚化 • ファイルごとの単語頻度集計
  4. What is CasualConc • コーパスファイル管理 • 基本的なコーパス分析機能 • macOS 用コンコーダンサー

    ✓KWIC, Word List, Collocation, Word Cluster • R を利用したデータの視覚化 • ファイルごとの単語頻度集計
  5. would can Harry Potter 2 may 0.3 could 400 Harry

    Potter 3 Oz Narnia LOR HP Oz Narnia LOR HP Oz Narnia LOR HP felt asked place of upon stood Harry Potter 7 time these little once am thought shall than make good much don't this but for have room hand byman 0.1 0.0 -0.1 ** Book 3 - THE TWO TOWERS 1 5 - THE RETURN OF THE KING 1 Book ** Book 2 - THE FELLOWSHIP OF THE RING 2 ** * saw nothing many before -0.6 Harry Potter 6 -0.4 -0.2 w l eyes face harry's mark arts 0 2 0.0 0.2 seen ever never since heart dark long year last 4 time every night Value sprout mcgonagall trelawney flitwick lord Book 6 - The Silver Chair Book 5 - The Voyage of the Dawn Treader Book 7 - The Last Battle Book 4 - Prince Caspian Book 3 - The Horse and His Boy Book 1 - The Magician's Nephew Book 2 - The Lion, the Witch and the Wardrobe Book 1 - THE FELLOWSHIP OF THE RING 1 Book 6 - THE RETURN OF THE KING 2 Book 4 - THE TWO TOWERS 2 Book 3 - THE TWO TOWERS 1 Book 2 - THE FELLOWSHIP OF THE RING 2 Book 5 - THE RETURN OF THE KING 1 Harry Potter 7 Harry Potter 6 Harry Potter 5 Harry Potter 1 Harry Potter 3 Harry Potter 4 Harry Potter 2 THE LOST PRINCESS OF OZ THE MAGIC OF OZ GLINDA OF OZ THE WONDERFUL WIZARD OF OZ RINKITINK IN OZ THE MARVELOUS LAND OF OZ THE ROAD TO OZ THE PATCHWORK GIRL OF OZ THE TIN WOODMAN OF OZ DOROTHY AND THE WIZARD IN OZ THE SCARECROW OF OZ THE EMERALD CITY OF OZ TIK-TOK OF OZ OZMA OF OZ black voldemort professor oh potter norris right now years ago albus even just looks gryffindor five tower great hall entrance eater eatersdeath opened behinddoor front told took muttered though tried knew quickly yelled thought felt shouted got heard like moment pulled turned found noticed sat table minutes later ten thing get back toward go let anyone else everyone way came come doors another one better hermioneron watchedwent whisperedlooking asked saw glanced stood looked stared harry around staff first pomfrey sirius okay well umbridge lucius dumbledore ginnylupin snape vernon's draco moody hagrid tonks madam george malfoy vernon fred uncle nothing neville know luna slughorn ollivander percy said good tell mr sir crouch us fudge yeah quietly weasley mrs yes look ami me my the here while upon as head with man made good sked so little rothy why who to her she make can agic izard eople all when after much found other place other one which this be do these we us our are let has is must no some any find way take here ever go by king own your their them they were for and will shall then stood great came but in efore away far long old not many may yet of side than its went come last there or evenif now more that have from left again frodo dark emed took black urned heard ehind ough still hand mself he him his rough eyes mr over yes did ron harry ione essor oking told edore wand didn't agrid door round room get ause i'm an don't want just it's tell know could thing ould three knew how you well might once oh first time two see thing very a never down feet too felt on about ought saw it like ment say only voice been was had face said right what thing look think into at oked going back off got out up 0.4 nick 1 (44.57%) Dimension magicaleye headless nearly creatures o -2 * Book 6 - THE RETURN OF THE KING 2 Book Book 4 - THE TWO TOWERS 2 1 - THE FELLOWSHIP OF THE RING 1 Color Key -4 * ** * 7 - The Last Battle Book -0.4 find here would from after Book 6 - The Silver Chair Book 1 - The Magician's Nephew Book 5 - The Voyage of the Dawn Treader Book 2 - The Lion, the Witch and the Wardrobe Book 3 - The Horse and His Boy Book 4 - Prince Caspian -0.2 which had seemed who has dark Harry Potter 5Harry Potter 6 Harry Potter 2Harry Potter 7 Harry Potter Harry 4 Potter 1 -0.3 could own there Dimension 2 (18.3%) some it's what its wand not you yes think great know two i that old ** *THE *OZ RINKITINK IN ** MARVELOUS LAND OF OZ * * * * * * can when Harry Potter 5 tell an even them THE TIN WOODMAN OF OZ THE PATCHWORK GIRL OF OZ THE SCARECROW OF OZ TIK-TOK OF OZ Harry Potter 3 came left way how other where must why or weknew again are is oh do may looking Oz she no moment your behind Narnia well right king head just LOR yet dumbledore did so want more 0 were it as he they and said voice to if might feet their about like people frodo one first i'm told look get got going been the her though Harry Potter 1 hagrid a didn't face mr me into off be ron harryall on up in our see black down looked him side 100 his three say only out never back us was let through ever around willat Harry Potter 4 HP freq then turned now over went 200 far come professor heard any wizard my go thing made too take while magic another because eyes found long hermione something door very away still with 300 took himself * * * * * *** 0.2 dorothy last THE ROAD TO OZ OZMA OF OZ THE EMERALD CITY OF OZ GLINDA OF OZ THE WONDERFUL WIZARD OFDOROTHY OZ AND THE WIZARD IN OZ THE MAGIC OF OZ THE LOST PRINCESS OF OZ anything say
  6. CasualConc 3.0 の新機能 • XML 処理 Universal Dependency に基づく文法検索 •

    ✓POS 情報を利用した KWIC 検索 • 統計値 ✓語彙散布度指標 (Word Count) ✓コロケーション統計 (Collocation) ✓語彙の多様性指標 (ファイル情報)
  7. CasualConc 3.0 の新機能 • XML 処理 Universal Dependency に基づく文法検索 •

    ✓POS 情報を利用した KWIC 検索 • 統計値 ✓語彙散布度指標 (Word Count) ✓コロケーション統計 (Collocation) ✓語彙の多様性指標 (ファイル情報)
  8. 依存構造解析 cc(was-6, But-1) amod(reason-9, concrete-8) case(plane-4, in-2) nsubj(was-6, reason-9) det(plane-4,

    the-3) case(it-11, for-10) obl:in(was-6, plane-4) nmod:for(reason-9, it-11) expl(was-6, there-5) punct(was-6, .-12) det(reason-9, a-7)
  9. 文法解析 for CasualConc • STFDB Creator • Stanford CoreNLP を利用

    ✓Java 8 のインストールが必要 ✓依存構造解析 (Universal Dependency v.2) ‣ amod (adjectival modi er) ‣ nsubj (nominal subject) Sherlock Holmes コーパスの ✓SQLite データベースを作成 データベースファイルが CasualConc サイトに fi ‣ POS, Lemma, 依存関係 用意してあります
  10. 文法検索 on CasualConc • Detail モード ✓文法タグを指定して検索 • Preset モード

    (英語のみ) ✓あらかじめ用意された文法関係を検索
  11. Detail モード 中心語の指定 結果タイプ Word, Lemma, POS, SPOS 文法関係の 指定

    支配語 (被修飾語) の 位置の指定 共起語の検索
  12. 今後の課題 • UI の改善 • データベースファイルのサイズ縮小 • バグ修正 ✓BROWN family

    (24.1MB -> 2.68GB) • 結果の視覚化 • データベースファイルの編集 (タグ修正)