<commit_before>package lexicon;


/*
 * some categories to be type-raised already have a dependency, eg the
 * AP case:
 * ((S[X]{Y}\NP{Z}){Y}\((S[X]{Y}\NP{Z}){Y}/(S[adj]{_}\NP{Z}){_}){Y}){Y} Z
 * Z here indicates the variable associated with that dependency;
 * for NP there is no such dependency, here indicated with the sentinel:
 * (S[X]{Y}/(S[X]{Y}\NP{_}){Y}){Y} +
 *
 * lexVar is the new variable associated with the lexical item; this
 * is needed by the relevant SuperCategory constructor since it needs
 * to get the Variable associated with the lexical item
 */
public class TypeRaisedCategory {
	public Category cat;
	public byte lexVar; // variable associated with lexical item
	public byte depVar; // variable for any dependency in the original category

	public TypeRaisedCategory(Category cat, byte lexVar, byte depVar) {
		this.cat = cat;<commit_msg>Refactor TypeRaisedCategory<commit_after>package lexicon;

/*
 * some categories to be type-raised already have a dependency, eg the
 * AP case:
 * ((S[X]{Y}\NP{Z}){Y}\((S[X]{Y}\NP{Z}){Y}/(S[adj]{_}\NP{Z}){_}){Y}){Y} Z
 * Z here indicates the variable associated with that dependency;
 * for NP there is no such dependency, here indicated with the sentinel:
 * (S[X]{Y}/(S[X]{Y}\NP{_}){Y}){Y} +
 *
 * lexVar is the new variable associated with the lexical item; this
 * is needed by the relevant SuperCategory constructor since it needs
 * to get the Variable associated with the lexical item
 */

public class TypeRaisedCategory {
	public Category cat;
	public byte lexVar; // variable associated with lexical item
	public byte depVar; // variable for any dependency in the original category

	public TypeRaisedCategory(Category cat, byte lexVar, byte depVar) {
		this.cat = cat;
{'fraction_non_alphanumeric': 0.12027491408934708, 'fraction_numerical': 0.0, 'mean_word_length': 4.5993589743589745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4105814', 'n_tokens_mistral': 559, 'n_tokens_neox': 525, 'n_words': 206}