Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TextConv.Item Class Reference

Public Member Functions

 Item (IRow row, string c0, string c1, string c2, int c4)
 

Public Attributes

string[] strs
 
string[] suffix
 
string[] keys
 
int probab
 
int gender
 
bool additive
 

Static Public Attributes

static string[] DefaultSuffix = "、,。,!,?,…,ー".Split(',')
 

Detailed Description

Definition at line 8 of file TextConv.cs.

Constructor & Destructor Documentation

◆ Item()

TextConv.Item.Item ( IRow  row,
string  c0,
string  c1,
string  c2,
int  c4 
)
inline

Definition at line 24 of file TextConv.cs.

25 {
26 ICell cell = row.GetCell(3);
27 keys = c0.Split(',');
28 strs = c1.Split(',');
29 if (cell == null)
30 {
32 }
33 else
34 {
35 string text = cell.ToString();
36 if (text == "*")
37 {
38 suffix = null;
39 }
40 else
41 {
42 suffix = text.Split(',');
43 }
44 }
45 probab = c4;
47 gender = ((c2 == "F") ? 1 : ((c2 == "M") ? 2 : 0));
48 }
static bool GetBool(int id)
Definition: ExcelParser.cs:34
static string[] DefaultSuffix
Definition: TextConv.cs:10
string[] keys
Definition: TextConv.cs:16
string[] strs
Definition: TextConv.cs:12
bool additive
Definition: TextConv.cs:22
string[] suffix
Definition: TextConv.cs:14

References TextConv.Item.additive, TextConv.Item.DefaultSuffix, TextConv.Item.gender, ExcelParser.GetBool(), TextConv.Item.keys, TextConv.Item.probab, TextConv.Item.strs, and TextConv.Item.suffix.

Member Data Documentation

◆ additive

bool TextConv.Item.additive

Definition at line 22 of file TextConv.cs.

Referenced by TextConv.Item.Item().

◆ DefaultSuffix

string [] TextConv.Item.DefaultSuffix = "、,。,!,?,…,ー".Split(',')
static

Definition at line 10 of file TextConv.cs.

Referenced by TextConv.Item.Item().

◆ gender

int TextConv.Item.gender

Definition at line 20 of file TextConv.cs.

Referenced by TextConv.Apply(), and TextConv.Item.Item().

◆ keys

string [] TextConv.Item.keys

Definition at line 16 of file TextConv.cs.

Referenced by TextConv.Apply(), and TextConv.Item.Item().

◆ probab

int TextConv.Item.probab

Definition at line 18 of file TextConv.cs.

Referenced by TextConv.Apply(), and TextConv.Item.Item().

◆ strs

string [] TextConv.Item.strs

Definition at line 12 of file TextConv.cs.

Referenced by TextConv.Item.Item().

◆ suffix

string [] TextConv.Item.suffix

Definition at line 14 of file TextConv.cs.

Referenced by TextConv.Apply(), and TextConv.Item.Item().


The documentation for this class was generated from the following file: