<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Extension Identifier</key>
	<string>com.lickyourlips.popclip.extension.definechords</string>
	<key>Extension Name</key>
	<string>Define ChordPro</string>
	<key>Extension Description</key>
	<string>Copy selected ChordPro text, strip it of lyrics and chord duplications; put chord definition templates in the clipboard</string>
	<key>Required Apps</key>
	<array>
		<string>com.sublimetext.2</string>
		<string>com.sublimetext.3</string>
		<string>com.apple.TextEdit</string>
		<string>com.gfApps.ChordPro-Buddy</string>
	</array>
	<key>Actions</key>
	<array>
		<dict>
			<key>After</key>
			<string>copy-result</string>
			<key>Title</key>
			<string>Define ChordPro Chords</string>
			<key>Shell Script File</key>
			<string>PopClip.php</string>
			<key>Script Interpreter</key>
			<string>/usr/bin/php</string>
			<key>Requirements</key>
			<array>
				<string>copy</string>
				<string>paste</string>
			</array>
			<key>Restore Pasteboard</key>
			<true/>
			<key>Image File</key>
			<string>chordProDefinitions.png</string>
		</dict>
	</array>
	<key>Version</key>
	<integer>1</integer>
</dict>
</plist><commit_msg>Remove Required Apps from main config dictionary, insert Regular Expression into Actions dictionary - to increase extension flexibility.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Extension Identifier</key>
	<string>com.lickyourlips.popclip.extension.definechords</string>
	<key>Extension Name</key>
	<string>Define ChordPro</string>
	<key>Extension Description</key>
	<string>Copy selected ChordPro text, strip it of lyrics and chord duplications; put chord definition templates in the clipboard</string>
	<key>Actions</key>
	<array>
		<dict>
			<key>Title</key>
			<string>Define ChordPro Chords</string>
			<key>Image File</key>
			<string>chordProDefinitions.png</string>
			<key>Shell Script File</key>
			<string>PopClip.php</string>
			<key>Script Interpreter</key>
			<string>/usr/bin/php</string>
			<key>After</key>
			<string>copy-result</string>
			<key>Regular Expression</key>
			<string>(?s).*\[[^\]]+\].*</string>
			<key>Requirements</key>
			<array>
				<string>copy</string>
				<string>paste</string>
			</array>
			<key>Restore Pasteboard</key>
			<true/>
		</dict>
	</array>
	<key>Version</key>
	<integer>1</integer>
</dict>
</plist>
{'fraction_non_alphanumeric': 0.17885867483722712, 'fraction_numerical': 0.008425890463423975, 'mean_word_length': 4.581196581196581, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 2, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6663647', 'n_tokens_mistral': 1054, 'n_tokens_neox': 929, 'n_words': 172}