<commit_before><commit_msg>[ios] insert shape<commit_after>//
//  ShapeAspects.h
//  SpreadsheetEditorCtr
//
//  Created by alexey.musinov on 09.10.15.
//  Copyright © 2015 Ascensio System SIA. All rights reserved.
//

#ifndef SHAPE_ASPECTS_H
#define SHAPE_ASPECTS_H

#include <map>
#include <string>

class CShapeAspects
{
public:
    CShapeAspects()
    {
        m_aspects[L"can"] = 3616635.0/4810125.0;
        m_aspects[L"moon"] = 457200.0/914400.0;
        m_aspects[L"leftBracket"] = 73152.0/914400.0;
        m_aspects[L"rightBracket"] = 73152.0/914400.0;
        m_aspects[L"leftBrace"] = 155448.0/914400.0;
        m_aspects[L"rightBrace"] = 155448.0/914400.0;
        m_aspects[L"triangle"] = 1060704.0/914400.0;
        m_aspects[L"parallelogram"] = 1216152.0/914400.0;
        m_aspects[L"trapezoid"] = 914400.0/1216152.0;
        m_aspects[L"pentagon"] = 960120.0/914400.0;
        m_aspects[L"hexagon"] = 1060704.0/914400.0;
        m_aspects[L"bracePair"] = 1069848.0/914400.0;
        m_aspects[L"rightArrow"] = 978408.0/484632.0;
        m_aspects[L"leftArrow"] = 978408.0/484632.0;
        m_aspects[L"upArrow"] = 484632.0/978408.0;
        m_aspects[L"downArrow"] = 484632.0/978408.0;
        m_aspects[L"leftRightArrow"] = 1216152.0/484632.0;
        m_aspects[L"upDownArrow"] = 484632.0/1216152.0;
        m_aspects[L"bentArrow"] = 813816.0/868680.0;
        m_aspects[L"uturnArrow"] = 886968.0/877824.0;
        m_aspects[L"bentUpArrow"] = 850392.0/731520.0;
        m_aspects[L"curvedRightArrow"] = 731520.0/1216152.0;
        m_aspects[L"curvedLeftArrow"] = 731520.0/1216152.0;
        m_aspects[L"curvedUpArrow"] = 1216152.0/731520.0;
        m_aspects[L"curvedDownArrow"] = 1216152.0/731520.0;
        m_aspects[L"stripedRightArrow"] = 978408.0/484632.0;
        m_aspects[L"notchedRightArrow"] = 978408.0/484632.0;
        m_aspects[L"homePlate"] = 978408.0/484632.0;
        m_aspects[L"leftRightArrowCallout"] = 1216152.0/576072.0;
        m_aspects[L"flowChartProcess"] = 914400.0/612648.0;
        m_aspects[L"flowChartAlternateProcess"] = 914400.0/612648.0;
        m_aspects[L"flowChartDecision"] = 914400.0/612648.0;
        m_aspects[L"flowChartInputOutput"] = 914400.0/612648.0;
        m_aspects[L"flowChartPredefinedProcess"] = 914400.0/612648.0;
        m_aspects[L"flowChartDocument"] = 914400.0/612648.0;
        m_aspects[L"flowChartMultidocument"] = 1060704.0/758952.0;
        m_aspects[L"flowChartTerminator"] = 914400.0/301752.0;
        m_aspects[L"flowChartPreparation"] = 1060704.0/612648.0;
        m_aspects[L"flowChartManualInput"] = 914400.0/457200.0;
        m_aspects[L"flowChartManualOperation"] = 914400.0/612648.0;
        m_aspects[L"flowChartPunchedCard"] = 914400.0/804672.0;
        m_aspects[L"flowChartPunchedTape"] = 914400.0/804672.0;
        m_aspects[L"flowChartPunchedTape"] = 457200.0/914400.0;
        m_aspects[L"flowChartSort"] = 457200.0/914400.0;
        m_aspects[L"flowChartOnlineStorage"] = 914400.0/612648.0;
        m_aspects[L"flowChartMagneticDisk"] = 914400.0/612648.0;
        m_aspects[L"flowChartMagneticDrum"] = 914400.0/685800.0;
        m_aspects[L"flowChartDisplay"] = 914400.0/612648.0;
        m_aspects[L"ribbon2"] = 1216152.0/612648.0;
        m_aspects[L"ribbon"] = 1216152.0/612648.0;
        m_aspects[L"ellipseRibbon2"] = 1216152.0/758952.0;
        m_aspects[L"ellipseRibbon"] = 1216152.0/758952.0;
        m_aspects[L"verticalScroll"] = 1033272.0/1143000.0;
        m_aspects[L"horizontalScroll"] = 1143000.0/1033272.0;
        m_aspects[L"wedgeRectCallout"] = 914400.0/612648.0;
        m_aspects[L"wedgeRoundRectCallout"] = 914400.0/612648.0;
        m_aspects[L"wedgeEllipseCallout"] = 914400.0/612648.0;
        m_aspects[L"cloudCallout"] = 914400.0/612648.0;
        m_aspects[L"borderCallout1"] = 914400.0/612648.0;
        m_aspects[L"borderCallout2"] = 914400.0/612648.0;
        m_aspects[L"borderCallout3"] = 914400.0/612648.0;
        m_aspects[L"accentCallout1"] = 914400.0/612648.0;
        m_aspects[L"accentCallout2"] = 914400.0/612648.0;
        m_aspects[L"accentCallout3"] = 914400.0/612648.0;
        m_aspects[L"callout1"] = 914400.0/612648.0;
        m_aspects[L"callout2"] = 914400.0/612648.0;
        m_aspects[L"callout3"] = 914400.0/612648.0;
        m_aspects[L"accentBorderCallout1"] = 914400.0/612648.0;
        m_aspects[L"accentBorderCallout2"] = 914400.0/612648.0;
        m_aspects[L"accentBorderCallout3"] = 914400.0/612648.0;
    }
    
    inline double GetAspect(std::wstring sName)
    {
        std::map<std::wstring, double>::iterator oIter = m_aspects.find(sName);
        if (oIter != m_aspects.end())
            return oIter->second;
        
        return 1.0;
    }
    
private:
    std::map<std::wstring, double> m_aspects;
};

#endif

{'fraction_non_alphanumeric': 0.1500836120401338, 'fraction_numerical': 0.2148829431438127, 'mean_word_length': 3.1179001721170394, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '5982738', 'n_tokens_mistral': 2728, 'n_tokens_neox': 2160, 'n_words': 191}