rsyntaxtree 1.2.4 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +4 -4
  2. data/.tags +462 -458
  3. data/Dockerfile +19 -0
  4. data/Gemfile +0 -3
  5. data/README.md +16 -14
  6. data/Rakefile +12 -78
  7. data/bin/rsyntaxtree +1 -1
  8. data/dev/generate_examples.rb +107 -0
  9. data/docs/.gitignore +0 -0
  10. data/docs/404.html +0 -0
  11. data/docs/Gemfile +0 -0
  12. data/docs/_config.yml +0 -0
  13. data/docs/_examples/000.md +1 -0
  14. data/docs/_examples/001.md +1 -0
  15. data/docs/_examples/002.md +1 -0
  16. data/docs/_examples/003.md +1 -0
  17. data/docs/_examples/004.md +1 -0
  18. data/docs/_examples/005.md +1 -0
  19. data/docs/_examples/006.md +1 -0
  20. data/docs/_examples/007.md +1 -0
  21. data/docs/_examples/008.md +1 -0
  22. data/docs/_examples/009.md +1 -0
  23. data/docs/_examples/010.md +1 -0
  24. data/docs/_examples/011.md +1 -0
  25. data/docs/_examples/012.md +1 -0
  26. data/docs/_examples/013.md +1 -0
  27. data/docs/_examples/014.md +1 -0
  28. data/docs/_examples/015.md +1 -0
  29. data/docs/_examples/016.md +1 -0
  30. data/docs/_examples/017.md +1 -0
  31. data/docs/_examples/018.md +1 -0
  32. data/docs/_examples/019.md +1 -0
  33. data/docs/_examples/020.md +1 -0
  34. data/docs/_examples/021.md +1 -0
  35. data/docs/_examples/022.md +1 -0
  36. data/docs/_examples/023.md +1 -0
  37. data/docs/_examples/024.md +1 -0
  38. data/docs/_examples/025.md +1 -0
  39. data/docs/_examples/026.md +1 -0
  40. data/docs/_examples/027.md +1 -0
  41. data/docs/_examples/028.md +1 -0
  42. data/docs/_examples/029.md +1 -0
  43. data/docs/_examples/030.md +1 -0
  44. data/docs/_examples/031.md +1 -0
  45. data/docs/_examples/032.md +1 -0
  46. data/docs/_examples/033.md +1 -0
  47. data/docs/_examples/034.md +1 -0
  48. data/docs/_examples/035.md +1 -0
  49. data/docs/_examples/036.md +1 -0
  50. data/docs/_examples/037.md +8 -6
  51. data/docs/_examples/038.md +1 -0
  52. data/docs/_examples/039.md +1 -0
  53. data/docs/_examples/040.md +1 -0
  54. data/docs/_examples/041.md +1 -0
  55. data/docs/_examples/042.md +22 -0
  56. data/docs/_examples/043.md +40 -0
  57. data/docs/_examples/044.md +16 -0
  58. data/docs/_examples/045.md +48 -0
  59. data/docs/_examples/046.md +440 -0
  60. data/docs/_includes/box_and_circle_table.html +0 -0
  61. data/docs/_includes/escape_char_table.html +0 -0
  62. data/docs/_includes/social_media_links.html +0 -0
  63. data/docs/_layouts/default.html +0 -0
  64. data/docs/assets/css/style.scss +0 -0
  65. data/docs/assets/img/000.png +0 -0
  66. data/docs/assets/img/001.png +0 -0
  67. data/docs/assets/img/002.png +0 -0
  68. data/docs/assets/img/003.png +0 -0
  69. data/docs/assets/img/004.png +0 -0
  70. data/docs/assets/img/005.png +0 -0
  71. data/docs/assets/img/006.png +0 -0
  72. data/docs/assets/img/007.png +0 -0
  73. data/docs/assets/img/008.png +0 -0
  74. data/docs/assets/img/009.png +0 -0
  75. data/docs/assets/img/010.png +0 -0
  76. data/docs/assets/img/011.png +0 -0
  77. data/docs/assets/img/012.png +0 -0
  78. data/docs/assets/img/013.png +0 -0
  79. data/docs/assets/img/014.png +0 -0
  80. data/docs/assets/img/015.png +0 -0
  81. data/docs/assets/img/016.png +0 -0
  82. data/docs/assets/img/017.png +0 -0
  83. data/docs/assets/img/018.png +0 -0
  84. data/docs/assets/img/019.png +0 -0
  85. data/docs/assets/img/020.png +0 -0
  86. data/docs/assets/img/021.png +0 -0
  87. data/docs/assets/img/022.png +0 -0
  88. data/docs/assets/img/023.png +0 -0
  89. data/docs/assets/img/024.png +0 -0
  90. data/docs/assets/img/025.png +0 -0
  91. data/docs/assets/img/026.png +0 -0
  92. data/docs/assets/img/027.png +0 -0
  93. data/docs/assets/img/028.png +0 -0
  94. data/docs/assets/img/029.png +0 -0
  95. data/docs/assets/img/030.png +0 -0
  96. data/docs/assets/img/031.png +0 -0
  97. data/docs/assets/img/032.png +0 -0
  98. data/docs/assets/img/033.png +0 -0
  99. data/docs/assets/img/034.png +0 -0
  100. data/docs/assets/img/035.png +0 -0
  101. data/docs/assets/img/036.png +0 -0
  102. data/docs/assets/img/037.png +0 -0
  103. data/docs/assets/img/038.png +0 -0
  104. data/docs/assets/img/039.png +0 -0
  105. data/docs/assets/img/040.png +0 -0
  106. data/docs/assets/img/041.png +0 -0
  107. data/docs/assets/img/042.png +0 -0
  108. data/docs/assets/img/043.png +0 -0
  109. data/docs/assets/img/044.png +0 -0
  110. data/docs/assets/img/045.png +0 -0
  111. data/docs/assets/img/046.png +0 -0
  112. data/docs/assets/img/elements/circle.png +0 -0
  113. data/docs/assets/img/elements/circle_abc.png +0 -0
  114. data/docs/assets/img/elements/circle_bold.png +0 -0
  115. data/docs/assets/img/elements/circle_hatched.png +0 -0
  116. data/docs/assets/img/elements/circle_one.png +0 -0
  117. data/docs/assets/img/elements/connector.png +0 -0
  118. data/docs/assets/img/elements/connector_bold.png +0 -0
  119. data/docs/assets/img/elements/square.png +0 -0
  120. data/docs/assets/img/elements/square_abc.png +0 -0
  121. data/docs/assets/img/elements/square_bold.png +0 -0
  122. data/docs/assets/img/elements/square_hatched.png +0 -0
  123. data/docs/assets/img/elements/square_one.png +0 -0
  124. data/docs/assets/img/favicon/apple-touch-icon.png +0 -0
  125. data/docs/assets/img/favicon/favicon-16x16.png +0 -0
  126. data/docs/assets/img/favicon/favicon-32x32.png +0 -0
  127. data/docs/assets/img/favicon/favicon.ico +0 -0
  128. data/docs/assets/svg/000.svg +32 -32
  129. data/docs/assets/svg/001.svg +14 -14
  130. data/docs/assets/svg/002.svg +32 -32
  131. data/docs/assets/svg/003.svg +24 -24
  132. data/docs/assets/svg/004.svg +35 -35
  133. data/docs/assets/svg/005.svg +15 -15
  134. data/docs/assets/svg/006.svg +20 -20
  135. data/docs/assets/svg/007.svg +26 -26
  136. data/docs/assets/svg/008.svg +30 -30
  137. data/docs/assets/svg/009.svg +29 -29
  138. data/docs/assets/svg/010.svg +47 -47
  139. data/docs/assets/svg/011.svg +24 -24
  140. data/docs/assets/svg/012.svg +29 -29
  141. data/docs/assets/svg/013.svg +119 -119
  142. data/docs/assets/svg/014.svg +83 -83
  143. data/docs/assets/svg/015.svg +28 -28
  144. data/docs/assets/svg/016.svg +375 -375
  145. data/docs/assets/svg/017.svg +44 -44
  146. data/docs/assets/svg/018.svg +32 -32
  147. data/docs/assets/svg/019.svg +168 -168
  148. data/docs/assets/svg/020.svg +57 -57
  149. data/docs/assets/svg/021.svg +52 -52
  150. data/docs/assets/svg/022.svg +90 -90
  151. data/docs/assets/svg/023.svg +51 -51
  152. data/docs/assets/svg/024.svg +18 -18
  153. data/docs/assets/svg/025.svg +116 -116
  154. data/docs/assets/svg/026.svg +18 -18
  155. data/docs/assets/svg/027.svg +58 -58
  156. data/docs/assets/svg/028.svg +16 -16
  157. data/docs/assets/svg/029.svg +72 -72
  158. data/docs/assets/svg/030.svg +35 -35
  159. data/docs/assets/svg/031.svg +10 -10
  160. data/docs/assets/svg/032.svg +45 -45
  161. data/docs/assets/svg/033.svg +35 -35
  162. data/docs/assets/svg/034.svg +43 -43
  163. data/docs/assets/svg/035.svg +37 -37
  164. data/docs/assets/svg/036.svg +14 -14
  165. data/docs/assets/svg/037.svg +26 -45
  166. data/docs/assets/svg/038.svg +39 -39
  167. data/docs/assets/svg/039.svg +2 -2
  168. data/docs/assets/svg/040.svg +89 -89
  169. data/docs/assets/svg/041.svg +49 -49
  170. data/docs/assets/svg/042.svg +42 -0
  171. data/docs/assets/svg/043.svg +304 -0
  172. data/docs/assets/svg/044.svg +32 -0
  173. data/docs/assets/svg/045.svg +107 -0
  174. data/docs/assets/svg/046.svg +990 -0
  175. data/docs/documentation.md +2 -3
  176. data/docs/documentation_ja.md +4 -4
  177. data/docs/examples.html +2 -2
  178. data/docs/index.html +0 -0
  179. data/fonts/OpenMoji-black-glyf.ttf +0 -0
  180. data/lib/rsyntaxtree/element.rb +3 -9
  181. data/lib/rsyntaxtree/string_parser.rb +4 -4
  182. data/lib/rsyntaxtree/svg_graph.rb +26 -25
  183. data/lib/rsyntaxtree/version.rb +1 -1
  184. data/lib/rsyntaxtree.rb +8 -6
  185. data/test/example_verify_test.rb +2 -0
  186. metadata +21 -5
  187. data/fonts/OpenMoji-Black.ttf +0 -0
  188. data/fonts/OpenMoji-Color.ttf +0 -0
data/Dockerfile ADDED
@@ -0,0 +1,19 @@
1
+ FROM ruby:3.2.0-alpine3.17
2
+ ENV WORKSPACE /rsyntaxtree
3
+ WORKDIR $WORKSPACE
4
+
5
+ RUN apk update && \
6
+ apk upgrade && \
7
+ apk add --no-cache linux-headers libxml2-dev make gcc libc-dev bash && \
8
+ apk add --no-cache librsvg librsvg-dev imagemagick imagemagick-dev xz-dev libbz2 && \
9
+ apk add --no-cache gobject-introspection gobject-introspection-dev && \
10
+ apk add --no-cache -t .build-packages --no-cache build-base curl-dev wget gcompat
11
+
12
+ ADD Gemfile $WORKSPACE
13
+ RUN bundle install -j4
14
+
15
+ ADD . $WORKSPACE
16
+ RUN mkdir -p /usr/share/fonts/yh
17
+ COPY ./fonts/* /usr/share/fonts/yh/
18
+ RUN fc-cache -fv
19
+ CMD ["/bin/bash"]
data/Gemfile CHANGED
@@ -2,9 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in ruby-spacy.gemspec
6
- gemspec
7
-
8
5
  gem "optimist"
9
6
  gem "parslet"
10
7
  gem "rmagick"
data/README.md CHANGED
@@ -70,20 +70,22 @@ Usage:
70
70
  1) rsyntaxtree [options] "[VP [VP [V set] [NP bracket notation]] [ADV here]]"
71
71
  2) rsyntaxtree [options] "/path/to/text/file"
72
72
  where [options] are:
73
- -o, --outdir=<s> Output directory (default: ./)
74
- -f, --format=<s> Output format: png, gif, jpg, pdf, or svg (default: png)
75
- -l, --leafstyle=<s> visual style of tree leaves: auto, triangle, bar, or nothing (default: auto)
76
- -n, --fontstyle=<s> Font style (available when ttf font is specified): sans, serif, cjk (default: sans)
77
- -t, --font=<s> Path to a ttf font used to generate tree (optional)
78
- -s, --fontsize=<i> Size: 8-26 (default: 16)
79
- -m, --margin=<i> Margin: 0-10 (default: 1)
80
- -v, --vheight=<f> Connector Height: 0.5-5.0 (default: 2.0)
81
- -c, --color=<s> Color text and bars: on or off (default: on)
82
- -y, --symmetrize=<s> Generate radically symmetrical, balanced tree: on or off (default: off)
83
- -r, --transparent=<s> Make background transparent: on or off (default: off)
84
- -p, --polyline=<s> draw polyline connectors: on or off (default: off)
85
- -e, --version Print version and exit
86
- -h, --help Show this message
73
+ -o, --outdir=<s> Output directory (default: ./)
74
+ -f, --format=<s> Output format: png, gif, jpg, pdf, or svg (default: png)
75
+ -l, --leafstyle=<s> visual style of tree leaves: auto, triangle, bar, or nothing (default: auto)
76
+ -n, --fontstyle=<s> Font style (available when ttf font is specified): sans, serif, cjk, mono (default: sans)
77
+ -t, --font=<s> Path to a ttf font used to generate tree (optional)
78
+ -s, --fontsize=<i> Size: 8-26 (default: 16)
79
+ -i, --linewidth=<i> Size: 1-5 (default: 1)
80
+ -m, --margin=<i> Margin: 0-10 (default: 1)
81
+ -v, --vheight=<f> Connector Height: 0.5-5.0 (default: 2.0)
82
+ -c, --color=<s> Color text and bars: modern, traditional, or off (default: modern)
83
+ -y, --symmetrize=<s> Generate radically symmetrical, balanced tree: on or off (default: off)
84
+ -r, --transparent=<s> Make background transparent: on or off (default: off)
85
+ -p, --polyline=<s> draw polyline connectors: on or off (default: off)
86
+ -h, --hide-default-connectors=<s> make default connectors transparent: on or off (default: off)
87
+ -e, --version Print version and exit
88
+ --help Show this message
87
89
  ```
88
90
 
89
91
  See the [documentation](https://yohasebe.github.io/rsyntaxtree/documentation) for more detailed info about the syntax.
data/Rakefile CHANGED
@@ -13,85 +13,19 @@ Rake::TestTask.new do |task|
13
13
  task.warning = false
14
14
  end
15
15
 
16
- desc "Generate SVG and PNG example images"
16
+ desc "Generate SVG and PNG example images locally"
17
17
  task :generate do
18
- examples_dir = File.expand_path(File.join(__dir__, "docs", "_examples"))
19
- svg_dir = File.expand_path(File.join(__dir__, "docs", "assets", "svg"))
20
- png_dir = File.expand_path(File.join(__dir__, "docs", "assets", "img"))
21
- Dir.glob("*.md", base: examples_dir).map do |md|
22
- md = File.join(examples_dir, md)
23
- config = YAML.load_file(md)
24
- rst = File.read(md).scan(/```([^`]+)```/m).last.first
25
-
26
- opts = {
27
- format: "png",
28
- leafstyle: "auto",
29
- fontstyle: "sans",
30
- fontsize: 16,
31
- linewidth: 1,
32
- margin: 1,
33
- vheight: 2.0,
34
- color: "modern",
35
- symmetrize: "on",
36
- transparent: "off",
37
- polyline: "off",
38
- hide_default_connectors: "off"
39
- }
40
- name = nil
41
- config.each do |key, value|
42
- next if value.to_s == ""
43
-
44
- case key
45
- when "name"
46
- name = value
47
- opts[:name] = name
48
- when "color"
49
- opts[:color] = case value
50
- when "modern", "on", "true"
51
- "modern"
52
- when "traditional"
53
- "traditional"
54
- else
55
- "off"
56
- end
57
- when "linewidth", "line_width"
58
- opts[:linewidth] = value
59
- when "polyline"
60
- opts[:polyline] = value
61
- when "hide_default_connectors"
62
- opts[:hide_default_connectors] = value
63
- when "symmetrization"
64
- opts[:symmetrize] = value
65
- when "connector"
66
- opts[:leafstyle] = value
67
- when "font"
68
- opts[:fontstyle] = case value
69
- when /mono/i
70
- "mono"
71
- when /sans/i
72
- "sans"
73
- when /serif/i
74
- "serif"
75
- when /wqy/i
76
- "cjk"
77
- else
78
- "sans"
79
- end
80
- end
81
- end
82
- opts[:data] = rst
83
- rsg = RSyntaxTree::RSGenerator.new(opts)
18
+ require_relative "dev/generate_examples"
19
+ end
84
20
 
85
- File.open(File.join(svg_dir, "#{name}.svg"), "w") do |f|
86
- puts "Creating svg file: #{name}.svg"
87
- svg = rsg.draw_svg
88
- f.write(svg)
89
- end
21
+ desc "Docker image Build"
22
+ task :docker_build do
23
+ `docker build ./ -t rsyntaxtree:devel`
24
+ end
90
25
 
91
- File.open(File.join(png_dir, "#{name}.png"), "w") do |f|
92
- puts "Creating png file: #{name}.png"
93
- png = rsg.draw_png
94
- f.write(png)
95
- end
96
- end
26
+ desc "Generate SVG and PNG example images using Docker mage"
27
+ task :docker_generate do
28
+ docpath = File.expand_path(File.join(__dir__, "docs"))
29
+ `docker run --rm -v #{docpath}:/rsyntaxtree/hostdocs rsyntaxtree:devel ruby /rsyntaxtree/dev/generate_examples.rb /rsyntaxtree/hostdocs`
30
+ `cat #{docpath}/generate_examples.log`
97
31
  end
data/bin/rsyntaxtree CHANGED
@@ -52,7 +52,7 @@ opts.each do |key, value|
52
52
  string_opts[key.to_sym] = value unless key == :font && !value
53
53
  end
54
54
 
55
- data = if File.exist?(File.expand_path(ARGV[0]))
55
+ data = if ARGV[0] && File.exist?(File.expand_path(ARGV[0]))
56
56
  File.read ARGV[0]
57
57
  else
58
58
  ARGV[0]
@@ -0,0 +1,107 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "yaml"
5
+ require_relative '../lib/rsyntaxtree'
6
+ require_relative '../lib/rsyntaxtree/utils'
7
+
8
+ directory = nil
9
+ directory = ARGV[0] if File.exist? ARGV[0]
10
+ doc_dir = File.expand_path(directory || File.join(__dir__, "..", "docs"))
11
+ examples_dir = File.join(doc_dir, "_examples")
12
+ svg_dir = File.join(doc_dir, "assets", "svg")
13
+ png_dir = File.join(doc_dir, "assets", "img")
14
+
15
+ logfile = File.open(File.join(doc_dir, "generate_examples.log"), "w")
16
+
17
+ Dir.glob("*.md", base: examples_dir).map do |md|
18
+ md = File.join(examples_dir, md)
19
+ config = YAML.load_file(md)
20
+ rst = File.read(md).scan(/```([^`]+)```/m).last.first
21
+ begin
22
+ RSyntaxTree::RSGenerator.check_data(rst)
23
+ rescue StandardError
24
+ logfile.puts "Error detected in #{md}"
25
+ end
26
+
27
+ opts = {
28
+ format: "png",
29
+ leafstyle: "auto",
30
+ fontstyle: "sans",
31
+ fontsize: 16,
32
+ linewidth: 1,
33
+ margin: 1,
34
+ vheight: 2.0,
35
+ color: "modern",
36
+ symmetrize: "on",
37
+ transparent: "off",
38
+ polyline: "off",
39
+ hide_default_connectors: "off"
40
+ }
41
+ name = nil
42
+ config.each do |key, value|
43
+ next if value.to_s == ""
44
+
45
+ case key
46
+ when "name"
47
+ name = value
48
+ opts[:name] = name
49
+ when "color"
50
+ opts[:color] = case value
51
+ when "modern", "on", "true"
52
+ "modern"
53
+ when "traditional"
54
+ "traditional"
55
+ else
56
+ "off"
57
+ end
58
+ when "linewidth", "line_width"
59
+ opts[:linewidth] = value
60
+ when "polyline"
61
+ opts[:polyline] = value
62
+ when "hide_default_connectors"
63
+ opts[:hide_default_connectors] = value
64
+ when "connector_height"
65
+ opts[:vheight] = value
66
+ when "symmetrization"
67
+ opts[:symmetrize] = value
68
+ when "connector"
69
+ opts[:leafstyle] = value
70
+ when "font"
71
+ opts[:fontstyle] = case value
72
+ when /mono/i
73
+ "mono"
74
+ when /sans/i
75
+ "sans"
76
+ when /serif/i
77
+ "serif"
78
+ when /wqy/i
79
+ "cjk"
80
+ else
81
+ "sans"
82
+ end
83
+ end
84
+ end
85
+ opts[:data] = rst
86
+ rsg = RSyntaxTree::RSGenerator.new(opts)
87
+
88
+ File.open(File.join(svg_dir, "#{name}.svg"), "w") do |f|
89
+ logfile.puts "Creating svg file: #{name}.svg"
90
+ svg = rsg.draw_svg
91
+ f.write(svg)
92
+ rescue StandardError => e
93
+ logfile.puts "Processing #{name}.svg"
94
+ logfile.puts e.message
95
+ end
96
+
97
+ File.open(File.join(png_dir, "#{name}.png"), "w") do |f|
98
+ logfile.puts "Creating png file: #{name}.png"
99
+ png = rsg.draw_png
100
+ f.write(png)
101
+ rescue StandardError => e
102
+ logfile.puts "Processing #{name}.png"
103
+ logfile.puts e.message
104
+ end
105
+ end
106
+
107
+ logfile.close
data/docs/.gitignore CHANGED
File without changes
data/docs/404.html CHANGED
File without changes
data/docs/Gemfile CHANGED
File without changes
data/docs/_config.yml CHANGED
File without changes
@@ -6,6 +6,7 @@ category: "General"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1.5"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Sans"
@@ -6,6 +6,7 @@ category: "General"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "0.5"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -5,6 +5,7 @@ polyline: "off"
5
5
  color: "modern"
6
6
  symmetrization: "off"
7
7
  connector: "none"
8
+ connector_height: "1"
8
9
  linewidth: "1"
9
10
  hide_default_connectors: "off"
10
11
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Combinatory Categorial Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Combinatory Categorial Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Head-Driven Phrase Structure Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "2"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Cognitive Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1.5"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Phonology"
6
6
  polyline: "off"
7
7
  symmetrization: "on"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "WQY Zen Hei"
@@ -6,6 +6,7 @@ category: "Miscellaneous"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "WQY Zen Hei"
@@ -6,6 +6,7 @@ category: "General"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ polyline: "off"
6
6
  color: "modern"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Computer Science"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Sans Mono"
@@ -6,6 +6,7 @@ category: "General"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "2"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "WQY Zen Hei"
@@ -6,6 +6,7 @@ category: "Pragmatics"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Computer Science"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Sans Mono"
@@ -6,6 +6,7 @@ category: "Miscellaneous"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Sans"
@@ -6,6 +6,7 @@ category: "Generative Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Construction Grammar"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "2"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Functional Grammar"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Functional Grammar"
6
6
  polyline: "on"
7
7
  symmetrization: "off"
8
8
  connector: "bar"
9
+ connector_height: "2"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "General"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Formal Concept Analysis"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "3"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Sans Mono"
@@ -6,6 +6,7 @@ category: "Construction Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "2"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Formal Semantics"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Sans Mono"
@@ -6,6 +6,7 @@ polyline: "on"
6
6
  color: "modern"
7
7
  symmetrization: "off"
8
8
  connector: "none"
9
+ connector_height: "2"
9
10
  linewidth: "5"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Sans Mono"
@@ -6,6 +6,7 @@ polyline: "off"
6
6
  color: "modern"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "1"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Construction Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "off"
8
8
  connector: "auto"
9
+ connector_height: "2"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "off"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Construction Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "on"
8
8
  connector: "auto"
9
+ connector_height: "2"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "on"
11
12
  font: "Noto Serif"
@@ -6,6 +6,7 @@ category: "Cognitive Grammar"
6
6
  polyline: "off"
7
7
  symmetrization: "on"
8
8
  connector: "auto"
9
+ connector_height: "2"
9
10
  linewidth: "1"
10
11
  hide_default_connectors: "on"
11
12
  font: "Noto Serif"