rsyntaxtree 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tags +12 -0
- data/Rakefile +14 -4
- data/bin/rsyntaxtree +4 -2
- data/docs/_examples/000.md +2 -1
- data/docs/_examples/001.md +2 -1
- data/docs/_examples/002.md +2 -1
- data/docs/_examples/003.md +2 -1
- data/docs/_examples/004.md +2 -1
- data/docs/_examples/005.md +2 -1
- data/docs/_examples/006.md +2 -1
- data/docs/_examples/007.md +2 -1
- data/docs/_examples/008.md +2 -1
- data/docs/_examples/009.md +2 -1
- data/docs/_examples/010.md +2 -1
- data/docs/_examples/011.md +2 -1
- data/docs/_examples/012.md +2 -1
- data/docs/_examples/013.md +2 -1
- data/docs/_examples/014.md +2 -1
- data/docs/_examples/015.md +2 -1
- data/docs/_examples/016.md +2 -1
- data/docs/_examples/017.md +2 -1
- data/docs/_examples/018.md +2 -1
- data/docs/_examples/019.md +2 -1
- data/docs/_examples/020.md +2 -1
- data/docs/_examples/021.md +2 -1
- data/docs/_examples/022.md +2 -1
- data/docs/_examples/023.md +2 -1
- data/docs/_examples/024.md +2 -1
- data/docs/_examples/025.md +2 -1
- data/docs/_examples/026.md +2 -1
- data/docs/_examples/027.md +2 -1
- data/docs/_examples/028.md +2 -1
- data/docs/_examples/029.md +2 -1
- data/docs/_examples/030.md +2 -1
- data/docs/_examples/031.md +2 -1
- data/docs/_examples/032.md +2 -1
- data/docs/_examples/033.md +16 -17
- data/docs/_examples/034.md +2 -1
- data/docs/_examples/035.md +5 -4
- data/docs/_examples/036.md +18 -0
- data/docs/_examples/037.md +18 -0
- data/docs/assets/img/000.png +0 -0
- data/docs/assets/img/001.png +0 -0
- data/docs/assets/img/002.png +0 -0
- data/docs/assets/img/003.png +0 -0
- data/docs/assets/img/004.png +0 -0
- data/docs/assets/img/005.png +0 -0
- data/docs/assets/img/006.png +0 -0
- data/docs/assets/img/007.png +0 -0
- data/docs/assets/img/008.png +0 -0
- data/docs/assets/img/009.png +0 -0
- data/docs/assets/img/010.png +0 -0
- data/docs/assets/img/011.png +0 -0
- data/docs/assets/img/012.png +0 -0
- data/docs/assets/img/013.png +0 -0
- data/docs/assets/img/014.png +0 -0
- data/docs/assets/img/015.png +0 -0
- data/docs/assets/img/016.png +0 -0
- data/docs/assets/img/017.png +0 -0
- data/docs/assets/img/018.png +0 -0
- data/docs/assets/img/019.png +0 -0
- data/docs/assets/img/020.png +0 -0
- data/docs/assets/img/021.png +0 -0
- data/docs/assets/img/022.png +0 -0
- data/docs/assets/img/023.png +0 -0
- data/docs/assets/img/024.png +0 -0
- data/docs/assets/img/025.png +0 -0
- data/docs/assets/img/026.png +0 -0
- data/docs/assets/img/027.png +0 -0
- data/docs/assets/img/028.png +0 -0
- data/docs/assets/img/029.png +0 -0
- data/docs/assets/img/030.png +0 -0
- data/docs/assets/img/031.png +0 -0
- data/docs/assets/img/032.png +0 -0
- data/docs/assets/img/033.png +0 -0
- data/docs/assets/img/034.png +0 -0
- data/docs/assets/img/035.png +0 -0
- data/docs/assets/img/036.png +0 -0
- data/docs/assets/img/037.png +0 -0
- data/docs/assets/svg/000.svg +40 -40
- data/docs/assets/svg/001.svg +20 -20
- data/docs/assets/svg/002.svg +29 -29
- data/docs/assets/svg/003.svg +21 -21
- data/docs/assets/svg/004.svg +30 -30
- data/docs/assets/svg/005.svg +12 -12
- data/docs/assets/svg/006.svg +16 -16
- data/docs/assets/svg/007.svg +23 -23
- data/docs/assets/svg/008.svg +27 -27
- data/docs/assets/svg/009.svg +24 -24
- data/docs/assets/svg/010.svg +53 -53
- data/docs/assets/svg/011.svg +19 -19
- data/docs/assets/svg/012.svg +22 -22
- data/docs/assets/svg/013.svg +117 -117
- data/docs/assets/svg/014.svg +88 -88
- data/docs/assets/svg/015.svg +33 -33
- data/docs/assets/svg/016.svg +193 -193
- data/docs/assets/svg/017.svg +36 -36
- data/docs/assets/svg/018.svg +38 -38
- data/docs/assets/svg/019.svg +177 -177
- data/docs/assets/svg/020.svg +60 -60
- data/docs/assets/svg/021.svg +34 -34
- data/docs/assets/svg/022.svg +62 -62
- data/docs/assets/svg/023.svg +33 -33
- data/docs/assets/svg/024.svg +15 -15
- data/docs/assets/svg/025.svg +117 -117
- data/docs/assets/svg/026.svg +9 -9
- data/docs/assets/svg/027.svg +39 -39
- data/docs/assets/svg/028.svg +22 -22
- data/docs/assets/svg/029.svg +87 -87
- data/docs/assets/svg/030.svg +44 -44
- data/docs/assets/svg/031.svg +7 -7
- data/docs/assets/svg/032.svg +61 -61
- data/docs/assets/svg/033.svg +60 -59
- data/docs/assets/svg/034.svg +59 -59
- data/docs/assets/svg/035.svg +44 -42
- data/docs/assets/svg/036.svg +50 -0
- data/docs/assets/svg/037.svg +88 -0
- data/docs/documentation.md +2 -2
- data/docs/documentation_ja.md +6 -6
- data/docs/examples.html +1 -1
- data/lib/rsyntaxtree/base_graph.rb +26 -8
- data/lib/rsyntaxtree/element.rb +6 -3
- data/lib/rsyntaxtree/svg_graph.rb +12 -8
- data/lib/rsyntaxtree/version.rb +1 -1
- data/lib/rsyntaxtree.rb +13 -3
- data/test/example_verify_test.rb +13 -3
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d1143b257140ffb6fc35165c454b2e1ac8e9276663e1d596c8b98bc20d7ac49
|
4
|
+
data.tar.gz: 1726213e8b04e5b6cd868021db0aa2344f4edab7444052694e9dde82f0395bff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 805df85ddc9feeace479d1bcb98ba21f7724536f58f7db6daeef7e84acc3c01b0ff75fa04d0c72014dacf796636b955f96b0cf7150146f19ab88f0d5be3bcc26
|
7
|
+
data.tar.gz: cc9339c86cc2f94f80262aad651cb5c53656e34a952deaff9357fccd0adc6e19822bff017c2f5cd80081cd5cfbed3d250920cefefeee47353c4edfb1334aae67
|
data/.tags
CHANGED
@@ -591,13 +591,18 @@ button docs/_site/assets/css/style.css /^button, input, optgroup, select, textar
|
|
591
591
|
button docs/_site/assets/css/style.css /^button, select { text-transform: none; }$/;" s
|
592
592
|
button::-moz-focus-inner docs/_site/assets/css/style.css /^button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }$/;" s
|
593
593
|
button[disabled] docs/_site/assets/css/style.css /^button[disabled], html input[disabled] { cursor: default; }$/;" s
|
594
|
+
calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f
|
594
595
|
calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f class:RSyntaxTree
|
595
596
|
calculate_height lib/rsyntaxtree/base_graph.rb /^ def calculate_height(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
596
597
|
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f
|
597
598
|
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f class:RSyntaxTree
|
598
599
|
calculate_indent lib/rsyntaxtree/base_graph.rb /^ def calculate_indent$/;" f class:RSyntaxTree.BaseGraph
|
600
|
+
calculate_level lib/rsyntaxtree/base_graph.rb /^ def calculate_level$/;" f class:RSyntaxTree
|
599
601
|
calculate_level lib/rsyntaxtree/base_graph.rb /^ def calculate_level$/;" f class:RSyntaxTree.BaseGraph
|
602
|
+
calculate_level lib/rsyntaxtree/base_graph.rb /^ def calculate_level$/;" f class:RSyntaxTree.BaseGraph.initialize
|
603
|
+
calculate_width lib/rsyntaxtree/base_graph.rb /^ def calculate_width(id = 1)$/;" f class:RSyntaxTree
|
600
604
|
calculate_width lib/rsyntaxtree/base_graph.rb /^ def calculate_width(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
605
|
+
calculate_width lib/rsyntaxtree/base_graph.rb /^ def calculate_width(id = 1)$/;" f class:RSyntaxTree.BaseGraph.initialize
|
601
606
|
canvas docs/_site/assets/css/style.css /^audio, canvas, progress, video { display: inline-block; \/* 1 *\/ vertical-align: baseline; \/* /;" s
|
602
607
|
category-cognitive-grammar docs/_site/examples.html /^ <h2 id="category-cognitive-grammar"><b>Cognitive Grammar<\/b><\/h2><h3>Cognitive Grammar sam/;" I
|
603
608
|
category-combinatory-categorial-grammar docs/_site/examples.html /^ <h2 id="category-combinatory-categorial-grammar"><b>Combinatory Categorial Grammar<\/b><\/h2/;" I
|
@@ -612,6 +617,7 @@ category-miscellaneous docs/_site/examples.html /^ <h2 id="category-miscellan
|
|
612
617
|
category-phonology docs/_site/examples.html /^ <h2 id="category-phonology"><b>Phonology<\/b><\/h2><h3>Phonology sample<\/h3>$/;" I
|
613
618
|
category-pragmatics docs/_site/examples.html /^ <h2 id="category-pragmatics"><b>Pragmatics<\/b><\/h2><h3>Types of meaning<\/h3>$/;" I
|
614
619
|
category-{{category.name | slugify }} docs/examples.html /^ <h2 id="category-{{category.name | slugify }}"><b>{{ category.name }}<\/b><\/h2>$/;" I
|
620
|
+
check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" F class:RSyntaxTree
|
615
621
|
check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" F class:RSyntaxTree.RSGenerator
|
616
622
|
check_data lib/rsyntaxtree.rb /^ def self.check_data(text)$/;" S class:RSyntaxTree.RSGenerator
|
617
623
|
children lib/rsyntaxtree/element.rb /^ attr_accessor :id, :parent, :type, :level, :width, :height, :content, :content_width, :conte/;" A class:RSyntaxTree.Element
|
@@ -645,11 +651,14 @@ div.grid docs/_site/assets/css/style.css /^div.grid { display: grid; grid-templa
|
|
645
651
|
documentation docs/_site/documentation.html /^ <h1 class="no_toc" id="documentation">Documentation<\/h1>$/;" I
|
646
652
|
draw-extra-connectors-between-nodes-experimental docs/_site/documentation.html /^<h3 id="draw-extra-connectors-between-nodes-experimental">Draw Extra Connectors between Nodes (e/;" I
|
647
653
|
draw-paths-between-nodes-experimental docs/_site/documentation.html /^<h3 id="draw-paths-between-nodes-experimental">Draw Paths between Nodes (experimental)<\/h3>$/;" I
|
654
|
+
draw_a_path lib/rsyntaxtree/svg_graph.rb /^ def draw_a_path(s_x, s_y, t_x, t_y, target_arrow = :none)$/;" f class:RSyntaxTree
|
648
655
|
draw_a_path lib/rsyntaxtree/svg_graph.rb /^ def draw_a_path(s_x, s_y, t_x, t_y, target_arrow = :none)$/;" f class:RSyntaxTree.SVGGraph
|
649
656
|
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f
|
650
657
|
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f class:RSyntaxTree
|
651
658
|
draw_connector lib/rsyntaxtree/base_graph.rb /^ def draw_connector(id = 1)$/;" f class:RSyntaxTree.BaseGraph
|
659
|
+
draw_direct_line lib/rsyntaxtree/svg_graph.rb /^ def draw_direct_line(s_x, s_y, t_x, t_y, s_arrow = false, t_arrow = false)$/;" f class:RSyntaxTree
|
652
660
|
draw_direct_line lib/rsyntaxtree/svg_graph.rb /^ def draw_direct_line(s_x, s_y, t_x, t_y, s_arrow = false, t_arrow = false)$/;" f class:RSyntaxTree.SVGGraph
|
661
|
+
draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f
|
653
662
|
draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f class:RSyntaxTree
|
654
663
|
draw_element lib/rsyntaxtree/svg_graph.rb /^ def draw_element(element)$/;" f class:RSyntaxTree.SVGGraph
|
655
664
|
draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f
|
@@ -657,8 +666,11 @@ draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f class:
|
|
657
666
|
draw_elements lib/rsyntaxtree/base_graph.rb /^ def draw_elements$/;" f class:RSyntaxTree.BaseGraph
|
658
667
|
draw_paths lib/rsyntaxtree/svg_graph.rb /^ def draw_paths$/;" f
|
659
668
|
draw_paths lib/rsyntaxtree/svg_graph.rb /^ def draw_paths$/;" f class:RSyntaxTree.SVGGraph
|
669
|
+
draw_png lib/rsyntaxtree.rb /^ def draw_png(binary = false)$/;" f class:RSyntaxTree
|
660
670
|
draw_png lib/rsyntaxtree.rb /^ def draw_png(binary = false)$/;" f class:RSyntaxTree.RSGenerator
|
671
|
+
draw_svg lib/rsyntaxtree.rb /^ def draw_svg$/;" f class:RSyntaxTree
|
661
672
|
draw_svg lib/rsyntaxtree.rb /^ def draw_svg$/;" f class:RSyntaxTree.RSGenerator
|
673
|
+
draw_tree lib/rsyntaxtree.rb /^ def draw_tree$/;" f class:RSyntaxTree
|
662
674
|
draw_tree lib/rsyntaxtree.rb /^ def draw_tree$/;" f class:RSyntaxTree.RSGenerator
|
663
675
|
elements lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator$/;" A class:RSyntaxTree.ElementList
|
664
676
|
elements= lib/rsyntaxtree/elementlist.rb /^ attr_accessor :elements, :iterator$/;" A class:RSyntaxTree.ElementList
|
data/Rakefile
CHANGED
@@ -30,10 +30,11 @@ task :generate do
|
|
30
30
|
fontsize: 16,
|
31
31
|
margin: 1,
|
32
32
|
vheight: 2.0,
|
33
|
-
color: "
|
33
|
+
color: "modern",
|
34
34
|
symmetrize: "on",
|
35
35
|
transparent: "off",
|
36
|
-
polyline: "off"
|
36
|
+
polyline: "off",
|
37
|
+
hide_default_connectors: "off"
|
37
38
|
}
|
38
39
|
name = nil
|
39
40
|
config.each do |key, value|
|
@@ -43,10 +44,19 @@ task :generate do
|
|
43
44
|
when "name"
|
44
45
|
name = value
|
45
46
|
opts[:name] = name
|
46
|
-
when "
|
47
|
-
opts[:color] = value
|
47
|
+
when "color"
|
48
|
+
opts[:color] = case value
|
49
|
+
when "modern", "on", "true"
|
50
|
+
"modern"
|
51
|
+
when "traditional"
|
52
|
+
"traditional"
|
53
|
+
else
|
54
|
+
"off"
|
55
|
+
end
|
48
56
|
when "polyline"
|
49
57
|
opts[:polyline] = value
|
58
|
+
when "hide_default_connectors"
|
59
|
+
opts[:hide_default_connectors] = value
|
50
60
|
when "symmetrization"
|
51
61
|
opts[:symmetrize] = value
|
52
62
|
when "connector"
|
data/bin/rsyntaxtree
CHANGED
@@ -24,10 +24,11 @@ opts = Optimist.options do
|
|
24
24
|
opt :fontsize, "Size: 8-26", default: 16
|
25
25
|
opt :margin, "Margin: 0-10", default: 1
|
26
26
|
opt :vheight, "Connector Height: 0.5-5.0", default: 2.0
|
27
|
-
opt :color, "Color text and bars:
|
27
|
+
opt :color, "Color text and bars: modern, traditional, or off", default: "modern"
|
28
28
|
opt :symmetrize, "Generate radically symmetrical, balanced tree: on or off", default: "off"
|
29
29
|
opt :transparent, "Make background transparent: on or off", default: "off"
|
30
30
|
opt :polyline, "draw polyline connectors: on or off", default: "off"
|
31
|
+
opt :hide_default_connectors, "make default connectors transparent: on or off", default: "off"
|
31
32
|
end
|
32
33
|
|
33
34
|
Optimist.die :outdir, "must be an exsting directory path" unless FileTest.directory?(opts[:outdir])
|
@@ -36,12 +37,13 @@ Optimist.die :leafstyle, "must be auto, triangle, bar, or nothing" unless /\A(au
|
|
36
37
|
Optimist.die :fontstyle, "must be sans, serif, cjk, or mono" unless /\A(sans|serif|cjk|mono)\z/ =~ opts[:fontstyle]
|
37
38
|
Optimist.die :font, "must be path to an existing ttf font" if opts[:font] && !File.exist?(opts[:font])
|
38
39
|
Optimist.die :fontsize, "must be in the range of 8-26" unless opts[:fontsize] >= 8 && opts[:fontsize] <= 26
|
39
|
-
Optimist.die :color, "must be either
|
40
|
+
Optimist.die :color, "must be either modern, traditional, or off" unless /\A(modern|traditional|on|off|true|false)\z/ =~ opts[:color]
|
40
41
|
Optimist.die :symmetrize, "must be either on or off" unless /\A(on|off|true|false)\z/ =~ opts[:symmetrize]
|
41
42
|
Optimist.die :margin, "must be in the range of 0-10" if opts[:margin].negative? || opts[:margin] > 10
|
42
43
|
Optimist.die :vheight, "must be in the range of 0.5-5.0" if opts[:vheight] < 0.5 || opts[:vheight] > 5.0
|
43
44
|
Optimist.die :transparent, "must be either on or off" unless /\A(on|off|true|false)\z/ =~ opts[:transparent]
|
44
45
|
Optimist.die :polyline, "must be either on or off" unless /\A(on|off|true|false)\z/ =~ opts[:polyline]
|
46
|
+
Optimist.die :hide_default_connectors, "must be either on or off" unless /\A(on|off|true|false)\z/ =~ opts[:hide_default_connectors]
|
45
47
|
|
46
48
|
string_opts = {}
|
47
49
|
opts.each do |key, value|
|
data/docs/_examples/000.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "000"
|
3
3
|
caption: "RSyntaxTree basic example"
|
4
|
-
|
4
|
+
color: "modern"
|
5
5
|
category: "General"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Sans Mono"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/001.md
CHANGED
data/docs/_examples/002.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "002"
|
3
3
|
caption: "Minimalistic syntree"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Generative Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Chomsky 1995: 50"
|
11
12
|
---
|
data/docs/_examples/003.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "003"
|
3
3
|
caption: "Minimalistic syntree"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Generative Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Chomsky 1995: 62"
|
11
12
|
---
|
data/docs/_examples/004.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "004"
|
3
3
|
caption: "Minimalistic syntree"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Generative Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Chomsky 1995: 180"
|
11
12
|
---
|
data/docs/_examples/005.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "005"
|
3
3
|
caption: "Minimalistic syntree"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Generative Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "none"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Chomsky 1995: 355"
|
11
12
|
---
|
data/docs/_examples/006.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "006"
|
3
3
|
caption: "Minimalistic syntree"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Generative Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "none"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Chomsky 1995: 369"
|
11
12
|
---
|
data/docs/_examples/007.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "007"
|
3
3
|
caption: "X-bar model (with Japanese labels)"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Generative Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/008.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "008"
|
3
3
|
caption: "vP-shell (Japanese)"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Generative Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/009.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "009"
|
3
3
|
caption: "Non-binary tree sample"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Generative Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/010.md
CHANGED
data/docs/_examples/011.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "011"
|
3
3
|
caption: "CCG sample"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Combinatory Categorial Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "none"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/012.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "012"
|
3
3
|
caption: "CCG sample"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Combinatory Categorial Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "none"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/013.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "013"
|
3
3
|
caption: "HPSG sample"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Head-Driven Phrase Structure Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/014.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "014"
|
3
3
|
caption: "Cognitive Grammar sample"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Cognitive Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/015.md
CHANGED
data/docs/_examples/016.md
CHANGED
data/docs/_examples/017.md
CHANGED
data/docs/_examples/018.md
CHANGED
@@ -3,9 +3,10 @@ name: "018"
|
|
3
3
|
caption: "Tree with text labels in bold"
|
4
4
|
category: "Generative Grammar"
|
5
5
|
polyline: "off"
|
6
|
-
|
6
|
+
color: "modern"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Langacker 1969: 175"
|
11
12
|
---
|
data/docs/_examples/019.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "019"
|
3
3
|
caption: "Programming language parser"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Computer Science"
|
6
6
|
polyline: "on"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Sans Mono"
|
10
11
|
reference: "Stuart 2014"
|
11
12
|
---
|
data/docs/_examples/020.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "020"
|
3
3
|
caption: "From phoneme to sentence"
|
4
|
-
|
4
|
+
color: "modern"
|
5
5
|
category: "General"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "WQY Zen Hei"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/021.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "021"
|
3
3
|
caption: "Types of meaning"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Pragmatics"
|
6
6
|
polyline: "on"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Zufferey, Moeschler, and Reboul 2014"
|
11
12
|
---
|
data/docs/_examples/022.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "022"
|
3
3
|
caption: "Arithmetic parser"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Computer Science"
|
6
6
|
polyline: "on"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Sans Mono"
|
10
11
|
reference: ""
|
11
12
|
---
|
data/docs/_examples/023.md
CHANGED
data/docs/_examples/024.md
CHANGED
data/docs/_examples/025.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "025"
|
3
3
|
caption: "Network of non-prototypical sentence constructions"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Construction Grammar"
|
6
6
|
polyline: "on"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Goldberg 2006: 177"
|
11
12
|
---
|
data/docs/_examples/026.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "026"
|
3
3
|
caption: "Types of reference"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Pragmatics"
|
6
6
|
polyline: "on"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Halliday and Hasan 1976: 33"
|
11
12
|
---
|
data/docs/_examples/027.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "027"
|
3
3
|
caption: "Types of rejoinder"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Pragmatics"
|
6
6
|
polyline: "on"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "bar"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Halliday and Hasan 1976: 207"
|
11
12
|
---
|
data/docs/_examples/028.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "028"
|
3
3
|
caption: "Basic tree with triangles"
|
4
|
-
|
4
|
+
color: "modern"
|
5
5
|
category: "General"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/029.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "029"
|
3
3
|
caption: "Animal ontology"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Formal Concept Analysis"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Sans Mono"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/030.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "030"
|
3
3
|
caption: "Construction network"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Construction Grammar"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Serif"
|
10
11
|
reference: "Goldberg 1995: 109"
|
11
12
|
---
|
data/docs/_examples/031.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
name: "031"
|
3
3
|
caption: "Lambda calculus"
|
4
|
-
|
4
|
+
color: "off"
|
5
5
|
category: "Formal Semantics"
|
6
6
|
polyline: "off"
|
7
7
|
symmetrization: "off"
|
8
8
|
connector: "auto"
|
9
|
+
hide_default_connectors: "off"
|
9
10
|
font: "Noto Sans Mono"
|
10
11
|
reference:
|
11
12
|
---
|
data/docs/_examples/032.md
CHANGED